Excel Formulas to Lookup Two Tables with VLOOKUP Function!!
Tags: excel, excelformula, excelformulas
Published: 2021-02-15 04:20:30

---
title: Excel Formulas to Lookup Two Tables with VLOOKUP Function!!
published: true
date: 2021-02-12 09:20:39 UTC
tags: Excel,ExcelFormula,Excelformulas
canonical_url: https://geekexcel.com/excel-formulas-lookup-two-tables-with-vlookup-function/
---

In the previous post, we have learned **[how to find the two-way lookup with VLOOKUP Function](https://geekexcel.com/excel-formulas-find-two-way-lookup-with-vlookup/)?** In this article, I’m going to talk about how you can use the **VLOOKUP function to lookup two tables** in an Excel sheet. Let’s get into this article!! 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)

[![VLOOKUP two tables](https://eadn-wc04-371788.nxedge.io/cdn/wp-content/uploads/2021/02/VLOOKUP-two-tables.png)](https://geekexcel.com/?attachment_id=21819#main)<figcaption id="caption-attachment-21819">VLOOKUP two tables</figcaption>
## General Formula:

- Use the below formula to lookup two tables in Excel.

**=[VLOOKUP](https://geekexcel.com/how-to-use-excel-vlookup-function-in-office-365/)(value,[IF](https://geekexcel.com/use-if-function-in-microsoft-excel-365-simple-steps/)(test,table1,table2),column,match)**

## Syntax Explanations:

- **VLOOKUP** – In Excel, the **[VLOOKUP function](https://geekexcel.com/how-to-use-excel-vlookup-function-in-office-365/)** helps to lookup data in a range or table by row.
- **IF** – This function will return one value for a **[TRUE](https://geekexcel.com/use-true-function-in-microsoft-excel-365-simple-methods/)** result, and another for a **[FALSE](https://geekexcel.com/use-false-function-in-microsoft-excel-365-simple-methods/)** result. Read more on the **[IF function](https://geekexcel.com/use-if-function-in-microsoft-excel-365-simple-steps/)**.
- **Value** – It represents the input ranges from your data.
- **Test** – It is the criteria to be found.
- **Table**  – It defines the table of data
- **Column** – It specifies the column number.
- **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.

## Example:

Refer to the below example image.

- First, we will enter the input values in **Column B** to **Column E**. Now we are going to look up the value based on the given two tables as shown below.

![Input data](https://eadn-wc04-371788.nxedge.io/cdn/wp-content/uploads/2021/02/Input-data-2.png)<figcaption id="caption-attachment-21815">Input data</figcaption>

- Apply the above-given formula to the **formula bar** section and press the **“Enter”** key.

![Enter the formula](https://eadn-wc04-371788.nxedge.io/cdn/wp-content/uploads/2021/02/Enter-the-formula-9.png)<figcaption id="caption-attachment-21816">Enter the formula</figcaption>

- Finally, we will get the results in the selected cell.

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

## Wrap-Up:

From this short tutorial, you can get some clarification on how to **lookup the values based on two external tables in Excel by using the VLOOKUP function**. Please share your query below in the comment box. We will assist you. Click here to know more about **[Geek Excel](https://geekexcel.com/) **and [**Excel Formulas**](https://geekexcel.com/excel-formula/) **!! **

### Related Articles:

- **[Excel Formulas to Find the Partial Match with VLOOKUP Function!!](https://geekexcel.com/excel-formulas-find-partial-match-with-vlookup/)**
- **[Excel Formulas to Sum the Range with INDEX Function!!](https://geekexcel.com/excel-formulas-to-sum-the-range-with-index/)**