Tip: Other languages are Google-Translated. You can visit the English version of this link.
Log in
x
or
x
x
Register
x

or

How to vlookup values across multiple worksheets?

In excel, we can easily apply the vlookup function to return the matching values in a single table of a worksheet. But, have you ever considered that how to vlookup value across multiple worksheet? Supposing I have the following three worksheets with range of data, and now, I want to get part of the corresponding values based on the criteria from these three worksheets, see screenshots:

doc-vlookup-multiple-sheets-1 doc-vlookup-multiple-sheets-2 doc-vlookup-multiple-sheets-2 -2 doc-vlookup-multiple-sheets-2

Vlookup values from multiple worksheets with array formula

Vlookup values from multiple worksheets with normal formula


Combine / import multiple worksheets or csv files into one worksheet or workbook:

In your daily work, to combine multiple worksheets, workbooks and csv files into one single worksheet or workbook may be a huge and headachy work. But, if you have Kutools for Excel, with its powerful utility – Combine, you can quickly combine multiple worksheets, workbooks or csv files into one worksheet or workbook.

doc combine multiple worksheets-1

Kutools for Excel: with more than 200 handy Excel add-ins, free to try with no limitation in 60 days. Download and free trial Now!


Vlookup values from multiple worksheets with array formula


To use this array formula, you should give these three worksheets a range name, please list your worksheet names in a new worksheet, such as following screenshot shown:

doc-vlookup-multiple-sheets-2

Note: If there are multiple worksheet names you want to list into cells, the Create List of Sheet Names feature of Kutools for Excel can help you list all sheet names within a workbook as following screenshot shown:

doc-vlookup-multiple-sheets-10

Kutools for Excel: with more than 200 handy Excel add-ins, free to try with no limitation in 60 days. Download and free trial Now!

1. Give these worksheets a range name, select the sheet names, and type a name in the Name Box which next to the formula bar, in this case, I will type Sheetlist as the range name, and then press Enter key.

doc-vlookup-multiple-sheets-2

2. And then you can enter the following long formula into your specific cell: =VLOOKUP(A2,INDIRECT("'"&INDEX(Sheetlist,MATCH(1,--(COUNTIF(INDIRECT("'"&Sheetlist&"'!$A$2:$B$5"),A2)>0),0))&"'!$A$2:$B$5"),2,FALSE), and then press Ctrl + Shift + Enter keys together to get the corresponding value, see screenshot:

doc-vlookup-multiple-sheets-2

3. Then drag the fill handle down to the cells that you want to apply this formula, all the relative values of each row have been returned as follows:

doc-vlookup-multiple-sheets-2

Note:

In the above formula:

A2: is the cell reference which you want to return its relative value;

Sheetlist: is the range name of the worksheet names I have created in step1;

A2:B5: is the data range of the worksheets you need to search;

2: indicates the column number that your matched value is returned.


Demo: Vlookup values from multiple worksheets with array formula

Kutools for Excel: with more than 200 handy Excel add-ins, free to try with no limitation in 60 days. Download and free trial Now!


Vlookup values from multiple worksheets with normal formula

If you do not want to make the range name and are not familiar with the array formula, here also has a normal formula to help you.

Please type the following formula into a cell you need: =IFERROR(VLOOKUP($A2,Sheet1!$A$2:$B$5,2,FALSE),IFERROR(VLOOKUP($A2,Sheet2!$A$2:$B$5,2,FALSE),VLOOKUP($A2,Sheet3!$A$2:$B$5,2,FALSE))) and press Enter key to return the value you want, see screenshot:

doc-vlookup-multiple-sheets-2

And then drag the fill handle down to the range of cells you want to contain this formula.

Notes:

1. In the above formula:

A2: is the cell reference which you want to return its relative value;

Sheet1, Sheet2, Sheet3: are the sheet names which include the data you want to use;

A2:B5: is the data range of the worksheets you need to search;

2: indicates the column number that your matched value is returned

2. For much easier to understand this formula, in fact, the long formula is composed by several vlookup function and connect with the IFERROR function. If you have more worksheets, you just need to add the vlookup function in conjunction with the IFERROE after the formula.



Recommended Productivity Tools for Excel

Kutools for Excel Helps You Always Finish Work Ahead of Time, and Stand Out From Crowd

  • More than 300 powerful advanced features, designed for 1500 work scenarios, increasing productivity by 70%, give you more time to take care of family and enjoy life.
  • No longer need memorizing formulas and VBA codes, give your brain a rest from now on.
  • Become an Excel expert in 3 minutes, Complicated and repeated operations can be done in seconds, 
  • Reduce thousands of keyboard & mouse operations every day, say goodbye to occupational diseases now.
  • 110,000 highly effective people and 300+ world-renowned companies' choice.
  • 60-day full features free trial. 60-day money back guarantees. 2 years of free upgrade and support.

Brings Tabbed Browsing and Editing to Microsoft Office, Far More Powerful Than The Browser's Tabs

  • Office Tab is designed for Word, Excel, PowerPoint and Other Office Applications: Publisher, Access, Visio and Project.
  • Open and create multiple documents in new tabs of the same window, rather than in new windows.
  • Increases your productivity by 50%, and reduces hundreds of mouse clicks for you every day!
Say something here...
symbols left.
You are guest ( Sign Up? )
or post as a guest, but your post won't be published automatically.
Loading comment... The comment will be refreshed after 00:00.
  • To post as a guest, your comment is unpublished.
    kathy · 7 months ago
    can you convert the formula into plain text
  • To post as a guest, your comment is unpublished.
    Kiran · 2 years ago
    hi,

    in multiple use sheet , iwant to value increase by serial.
    =VLOOKUP($C10,'[apri.xlsx]ahm'!$C$10:$L$10,6,FALSE)
    =VLOOKUP($C10,'[april.xlsx]ahm'!$C$10:$L$10,7,FALSE)
    autometically value can change in formula
  • To post as a guest, your comment is unpublished.
    Sunil Gyawali · 2 years ago
    Hi, I am also having problem using this formula to compile the values from multiple sheet.
  • To post as a guest, your comment is unpublished.
    usha · 2 years ago
    when i try this foirmula its not valid
  • To post as a guest, your comment is unpublished.
    usha · 2 years ago
    this formula is not valid when i am triying in my excel
    • To post as a guest, your comment is unpublished.
      malik · 1 years ago
      try using Iferror funtion icluding vlookup..
      • To post as a guest, your comment is unpublished.
        Jon · 1 years ago
        Here is an example of what that would look like. =IFERROR(VLOOKUP(A1,Sheet1!A:B,2,FALSE),IFERROR(VLOOKUP(A1,Sheet2!A:B,2,FALSE),IFERROR(VLOOKUP(A1,Sheet3!A:B,2,FALSE),"Item Not Found!")))


        Essetially look in Sheet1 for this value, if you can't find it, look in Sheet2. If it isn't there look in Sheet3, and if after all of that it can't be found, tell me that the value could not be found.