Excel Formulas to Merge the Tables with VLOOKUP Function!!
Tags: excelformula, excelformulas
Published: 2021-01-20 11:52:01

---
title: Excel Formulas to Merge the Tables with VLOOKUP Function!!
published: true
date: 2021-01-20 11:44:56 UTC
tags: ExcelFormula,Excelformulas
canonical_url: https://geekexcel.com/excel-formulas-merge-tables-with-vlookup/
---

Considers there are two tables in your worksheet, and you need to merge table 2 to table 1 by using the **[VLOOKUP function](https://geekexcel.com/excel-get-left-lookup-value-with-vlookup/)**. Here this article introduces the simple formulas to solve this job on Excel. Let’s see them below!! Get an official version of ** MS Excel**  from the following link: [https://www.microsoft.com/en-in/microsoft-365/excel](https://www.microsoft.com/en-in/microsoft-365/excel)

[![Merge table with vlookup](https://eadn-wc04-371788.nxedge.io/cdn/wp-content/uploads/2021/01/Merge-table-with-vlookup.png)](https://geekexcel.com/excel-formulas-merge-tables-with-vlookup/merge-table-with-vlookup/#main)<figcaption id="caption-attachment-21249">Merge table with vlookup</figcaption>

## General Formula:

- Use the below formula to merge the tables.

**=[VLOOKUP](https://geekexcel.com/how-to-use-excel-vlookup-function-in-office-365/)([$A1](https://geekexcel.com/use-absolute-reference-in-excel-office-365-with-examples/),table,[COLUMN](https://geekexcel.com/use-column-function-in-microsoft-excel-365-simple-methods/)()-x,0)**

## Syntax Explanations:

- **VLOOKUP** – In Excel, this function will help to lookup data in a range or table by row.
- **COLUMN** – The [**COLUMN Function**](https://geekexcel.com/use-column-function-in-microsoft-excel-365-simple-methods/) in Excel returns the column number for a reference.
- **Absolute Reference ($)** – The **[absolute reference](https://geekexcel.com/use-absolute-reference-in-excel-office-365-with-examples/)** is an actual fixed location in a worksheet.
- **X** – It specifies the column number where you want to display your output.
- **Comma symbol (,)** – It is a separator that helps to separate a list of values.
- **Parenthesis ()** – The main purpose of this symbol is to group the elements.
- **Minus Operator (-)** – This symbol will help to subtract any two values.

## Example:

To merge data in Excel, we should have at least one common factor/id in both tables, so that we can use it as a relation and merge those tables.

- Consider these two **[tables](https://geekexcel.com/create-excel-tables-quickly-in-microsoft-excel-365/)** below. One table has the order details and another one is the customer details.
- Here you want to find the name of the customer based on their ID.

![Input Ranges](https://eadn-wc04-371788.nxedge.io/cdn/wp-content/uploads/2021/01/Input-Ranges-15.png)<figcaption id="caption-attachment-21247">Input Ranges</figcaption>

- You need to enter the above-given formula into the **cell E5** or [**formula bar**](https://geekexcel.com/how-to-use-formula-bar-for-various-purpose-in-excel-365/) section.
- After applying the formula, you can get the results as per the below image.

![Result](https://eadn-wc04-371788.nxedge.io/cdn/wp-content/uploads/2021/01/Result-36.png)<figcaption id="caption-attachment-21248">Result</figcaption>

## Closure:

From this short tutorial, you can get some clarification on **how to merge the tables in Excel by using the VLOOKUP function**. Hope you like it. If you have any **questions,** feel free to share them with us. Click here to know more about **[Geek Excel](https://geekexcel.com/)!!** And [**Excel Formulas**](https://geekexcel.com/excel-formula/) **!!**

### Read Also:

- **[Excel Formulas to Get the Left Lookup Value with VLOOKUP function!!](https://geekexcel.com/excel-get-left-lookup-value-with-vlookup/)**
- **[Excel Formulas to Get the Employee Information with VLOOKUP Function](https://geekexcel.com/excel-formulas-get-employee-information-with-vlookup-function/)**