Cookies help us deliver our services. By using our services, you agree to our use of cookies.
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

Office Tab

gold star1 Bring handy tabs to Excel and other Office software, just like Chrome, Firefox and new Internet Explorer.

Kutools for Excel

gold star1 Amazing! Increase your productivity in 5 minutes. Don't need any special skills, save two hours every day!

gold star1 300 New Features for Excel, Make Excel Much Easy and Powerful:

  • Merge Cell/Rows/Columns without Losing Data.
  • Combine and Consolidate Multiple Sheets and Workbooks.
  • Compare Ranges, Copy Multiple Ranges, Convert Text to Date, Unit and Currency Conversion.
  • Count by Colors, Paging Subtotals, Advanced Sort and Super Filter,
  • More Select/Insert/Delete/Text/Format/Link/Comment/Workbooks/Worksheets Tools...

Screen shot of Kutools for Excel

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 · 1 months ago
    can you convert the formula into plain text
  • To post as a guest, your comment is unpublished.
    Kiran · 1 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 · 1 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 · 1 years ago
    when i try this foirmula its not valid
  • To post as a guest, your comment is unpublished.
    usha · 1 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.