4.5 C
London
Thursday, December 19, 2024
HomeSoftware TutorialsExcelExcel: How to Use VLOOKUP From Another Workbook

Excel: How to Use VLOOKUP From Another Workbook

Related stories

Learn About Opening an Automobile Repair Shop in India

Starting a car repair shop is quite a good...

Unlocking the Power: Embracing the Benefits of Tax-Free Investing

  Unlocking the Power: Embracing the Benefits of Tax-Free Investing For...

Income Splitting in Canada for 2023

  Income Splitting in Canada for 2023 The federal government’s expanded...

Can I Deduct Home Office Expenses on my Tax Return 2023?

Can I Deduct Home Office Expenses on my Tax...

Canadian Tax – Personal Tax Deadline 2022

  Canadian Tax – Personal Tax Deadline 2022 Resources and Tools...

You can use the following basic syntax to perform a VLOOKUP from another workbook in Excel:

=VLOOKUP(A2,'[data2.xlsx]Sheet1'!$A$1:$B$11,2,0)

This particular formula will look up the value in cell A2 of the current workbook in the range A1:B11 of a second workbook called data2.xlsx and return the corresponding value in the second column.

Note: For this formula to work, both workbooks should be saved in the same directory.

The following step-by-step example shows how to use this formula in practice.

Step 1: Enter Data into Both Workbooks

Suppose we have the following workbook called data.1.xlsx:

And suppose we have another workbook called data2.xlsx:

Both workbooks are saved in the same directory.

Step 2: Perform VLOOKUP Between Workbooks

Now suppose we would like to use a VLOOKUP in the first workbook to look up the team names in the second workbook and return the corresponding value in the Assists column.

To do so, we can type the following formula into cell C2 of the first workbook:

=VLOOKUP(A2,'[data2.xlsx]Sheet1'!$A$1:$B$11,2,0)

Once we press Enter, the value in the Assists column from the second workbook that corresponds to the “Mavs” team will be shown:

We can then drag and fill this formula down to each remaining cell in column C to find the Assists values for each team:

The values in the Assists column of the second workbook have now all been pulled into the first workbook.

Additional Resources

The following tutorials explain how to perform other common operations in Excel:

Excel: How to Find Duplicates Using VLOOKUP
Excel: How to Use VLOOKUP to Return All Matches
Excel: How to Use VLOOKUP to Return Multiple Columns

Subscribe

- Never miss a story with notifications

- Gain full access to our premium content

- Browse free from up to 5 devices at once

Latest stories