Vlookup formula in excel with example between two sheets

In many cases, your data may be connected but spread out among different sheets. With the help of VLOOKUP between sheets, you can overcome this obstacle and extract corresponding data from different sheets.

This gives you the freedom to have data in multiple sheets and not face restrictions in using them.

Before we move forward, let’s understand how to use VLOOKUP between sheets:

  • VLOOKUP Syntax
  • VLOOKUP from another sheet
  • VLOOKUP from another workbook

Look at each of these topics one-by-one!

VLOOKUP Syntax

What does it do?

Searches for a value in the first column of a table array and returns a value in the same row from another sheet´s column (to the right) in the table array.

Formula breakdown:

=VLOOKUP(lookup_value, table_array, col_index_num, [range_lookup])

What it means:

=VLOOKUP(this value in Sheet1, in this list in Sheet2, and get me value in this column in Sheet2, Exact Match/FALSE/0])

Sometimes you are faced with a situation where you have a list of data and you want to bring in complementary data from a different sheet within the same workbook.

Let’s say that you have a list of “items” in a table within Sheet1 and you want to bring in their corresponding “item id’s” from Sheet2.

You can manually copy and paste the item id’s from Sheet2 to Sheet1 but that would take too long and you are also prone to errors.

The quick and error-proof way is by using the VLOOKUP function.

So, let’s dive in and learn how to use VLOOKUP between sheets!

VLOOKUP from another sheet

Watch it on YouTube and give it a thumbs-up!

Vlookup formula in excel with example between two sheets

Follow the step-by-step tutorial on how to VLOOKUP for multiple sheets with example and download this Excel workbook to practice along:

DOWNLOAD WORKBOOK

STEP 1: We enter the VLOOKUP function in the blank cell where we need to extract the data

=VLOOKUP(

Vlookup formula in excel with example between two sheets

STEP 2: Enter the first argument for VLOOKUP – Lookup_value

What is the value that you want to look for?

In our example, it is Television, so select that in the “Items” column

=VLOOKUP(B14,

Vlookup formula in excel with example between two sheets

STEP 3: Enter the second argument for VLOOKUP – Table_array

What is the table or range that contains your data?

Select the Stock inventory table in the stock list sheet so that the VLOOKUP formula will search there

=VLOOKUP(B14,‘STOCK LIST’!D9:E23,

Ensure that you press F4 so that you can lock the table range.

=VLOOKUP(B14,‘STOCK LIST’!$D$9:$E$23,

Vlookup formula in excel with example between two sheets

STEP 4: Enter the third argument for VLOOKUP – Col_index_num

What is the column that you want to retrieve the value from?

Since we want to retrieve the item id we will write 2, as the item id is the second column in the table array that we selected

=VLOOKUP(B14,’STOCK LIST’!D9:G23,2

Vlookup formula in excel with example between two sheets

STEP 4: Enter the fourth argument for VLOOKUP – Range_lookup

What kind of matching do you need?

We want an exact match of the Television text so make sure FALSE OR 0 is selected.

=VLOOKUP(B14,’STOCK LIST’!D9:G23,2,0)

Vlookup formula in excel with example between two sheets

Apply the same formula to the rest of the cells by dragging the lower right corner downwards.

You now have all of the results!

Vlookup formula in excel with example between two sheets

In this example, you have learned how to pull data from another worksheet in the same workbook using VLOOKUP from multiple sheets. Excel also allows you to get data from another workbook from your computer.

Let’s see how that is done!

VLOOKUP from another workbook

Suppose you have monthly sales data in one workbook and you have the employee name and data in another workbook.

You have to link these two workbooks using VLOOKUP to extract values for a better and cohesive database.

Vlookup formula in excel with example between two sheets
Vlookup formula in excel with example between two sheets

In this tutorial, we will show you how you can use VLOOKUP across different Excel workbooks and link and extract data easily.

Step 1: We enter the VLOOKUP function in the blank cell where we need to extract the data

This is the cell where we want the corresponding data. In our case, this is the department of the employee in cell C15.

=VLOOKUP(

Vlookup formula in excel with example between two sheets

Step 2: Enter the first argument of the VLOOKUP function – Lookup_value

What is the value that you want to look for?

It is the value to be found in the first column of the table. It can be a value, text string, or reference.

In our example, it is Mark, so select that in the “Employees” column

=VLOOKUP(B15,

Vlookup formula in excel with example between two sheets

Step 3: Enter the second argument of the VLOOKUP function – Table_array

What is the table or range that contains your data?

It is a table of logical values, texts, numbers from which the data is retrieved

Here you need to go to the workbook where your employees’ data is stored so that we can get the name of the department they are associated with.

Select the data table containing the names and departments of the employees.

Ensure that you press F4 so that you can lock the table range. You will be sure the range is locked when $ signs appear.

=VLOOKUP(B15,‘[Employee Data.xlsx]employee list’!$D$9:$G$23

Vlookup formula in excel with example between two sheets

Notice how the name of the different workbooks appears between square brackets. This is the indication that the reference is from another workbook.

So if you are typing out the formula make sure to include the square brackets.

Step 4: Enter the third argument of the VLOOKUP function – Col_index_num

What is the column that you want to retrieve the value from?

It is the column number from which the matching value should be returned.

Since we want to retrieve the Department name we will write 2, as the department name is the second column in the table array that we selected.

Similarly, if we wanted to extract the employee code, we would type 3 here as employee code is in the third column of the table that we selected.

=VLOOKUP(B15,'[Employee Data.xlsx]employee list’!$D$9:$G$23,2

Vlookup formula in excel with example between two sheets

Step 5: Enter the fourth argument of the VLOOKUP function – Range_lookup

What kind of matching do you need?

To find a perfect match, we need to select FALSE here.

In case the data is arranged in ascending order and belongs to a certain range/period, then TRUE should be selected to get the closest match.

We want an exact match of Mark text so make sure FALSE or 0 is selected.

=VLOOKUP(B15,'[Employee Data.xlsx]employee list’!$D$9:$G$23,2,0)

Vlookup formula in excel with example between two sheets

Apply the same formula to the rest of the cells by dragging the lower right corner downwards.

Vlookup formula in excel with example between two sheets

This is how you can extract values using VLOOKUP in multiple sheets or multiple workbooks!

Click here to learn more application of this versatile function – VLOOKUP!!

HELPFUL RESOURCE:

Vlookup formula in excel with example between two sheets

How to merge two sheets by using VLOOKUP in Excel?

vLookup Shortcut

  • Type the beginning of the formula: =VLOOKUP ( The formula guide will appear below. ...
  • Follow the guide and enter each value. Remember to insert a comma between each value.
  • Insert a closed parenthesis ) and hit Enter. ...
  • Finally, copy and paste the formula to pull emails for the rest of the column. ...

How to use the VLOOKUP function in two tables Excel?

Using VLOOKUP with Multiple Lookup Tables: Best Practices

  • Syntax of the VLOOKUP formula with 2 tables. First, we will use the IF function to determine which table we will reference in our lookup. ...
  • Setting up Your Data. We will now look at the example to explain in details how this function works. ...
  • Get Product Sales Value from Salesman. ...

How do you do a VLOOKUP?

  • In the Formula Bar, type =VLOOKUP ().
  • In the parentheses, enter your lookup value, followed by a comma. ...
  • Enter your table array or lookup table, the range of data you want to search, and a comma: (H2,B3:F25,
  • Enter column index number. ...
  • Enter the range lookup value, either TRUE or FALSE. ...

How to match data in two Excel worksheets?

Steps

  1. Open the workbooks that need to be compared
  2. Click on the View tab
  3. Click on the view side by side button and that's it

How do I do a VLOOKUP between two Excel spreadsheets?

How to VLOOKUP between two Excel sheets.
lookup_value: This is the value you search for..
Sheet! ... .
col_index_num: This is the column number where you hope to collect data. ... .
[range_lookup]: This is optional, but you can include TRUE to gather approximate matches or FALSE to generate an exact match..

Can VLOOKUP work between sheets?

Microsoft Excel's VLookup formula permits you to search large spreadsheets for specific data, one of Excel's lookup and reference functions. You can use VLookup between sheets within an Excel workbook, as well as within a single sheet.