To look up data on another sheet, put the sheet name and an exclamation mark before the range: =VLOOKUP(A2,Sheet2!A2:B100,2,0). Everything else works exactly as it does on one sheet — the sheet reference is the only difference.
The easiest way to write it is to start the formula, then click the other sheet’s tab and drag over the range with the mouse; Excel inserts the reference for you. If the sheet name contains a space or a character like &, Excel wraps it in single quotes automatically: ='Sales Data’!A2:B100.
Two things to lock down. Use absolute references on the table (Sheet2!$A$2:$B$100) before dragging the formula down, or the range shifts row by row and rows drop off the bottom.
And Excel updates the sheet name in your formulas automatically if you rename the tab, but deleting the sheet gives you #REF! with no way to undo it — so consider converting the source to an Excel Table or a named range. For a different workbook, the same idea applies with the file name in square brackets: =VLOOKUP(A2,'[Data.xlsx]Sheet2'!$A$2:$B$100,2,0).
When you want to find a value from the data in another sheet, you can use VLOOKUP. And this tutorial explains it with an easy-to-follow example.

You can use the below steps to write this formula:
- First, enter VLOOKUP in a cell, and in the lookup_value argument, refer to the cell where you have the lookup value.

- After that, enter a comma and click “Sheet 2” to open it.

- Now, in “Sheet 2”, select the table where you have the Product ID and Quantity.

- Next, again enter a comma and specify 2 in the col_index_num argument.

- From here, in the [range_lookup], enter 0 or FALSE for an exact match lookup.

- In the end, close the function and hit Enter to get the result in the cell in “Sheet 1”.

Here’s how the formula looks when the data is in A2:B11 of “Sheet 2”. As the sheet name has a space, Excel puts it in single quotes, followed by an exclamation mark:
=VLOOKUP(A2,'Sheet 2'!$A$2:$B$11,2,FALSE)
Excel adds the sheet name for you when you click the other sheet and select the range. Make the range absolute with dollar signs (press F4 after selecting it), so it doesn’t move when you copy the formula down.
Important Notes
If you change the name of the sheet where you have the data, Excel is smart enough to change it in your formula as well.
So, you don’t need to worry about changing the names of the sheets.

But keep in mind that if you delete the data sheet, your formula will show the #REF! error in the result.
And there’s no way to undo the deletion of a sheet (Ctrl + Z doesn’t bring it back), so save a copy first.

You can also turn the data from another sheet into a named range and refer to it in the VLOOKUP.
With this, you don’t need to open the second sheet while writing the formula. Instead, you can enter the named range, and Excel will refer to the data.

VLOOKUP from Another Workbook
If the data is in another workbook, the formula also includes the file name in square brackets. When that workbook is open, the reference looks like this:
=VLOOKUP(A2,'[Book2.xlsx]Sheet 2'!$A$2:$B$11,2,FALSE)
When you close the other workbook, Excel changes the reference to the full path of the file on its own, and the formula keeps the last values it got.
Get the Sheet Name from a Cell with INDIRECT
If you want to choose the sheet to look up from a cell (for example, one sheet for each month), use INDIRECT to build the reference. Here, C1 has the sheet name:
=VLOOKUP(A2,INDIRECT("'"&C1&"'!A2:B11"),2,FALSE)
INDIRECT is a volatile function, and it doesn’t work with closed workbooks, so use it only when you need to switch sheets.
Handle #N/A When the Value Is Not There
When the lookup value isn’t in the other sheet, VLOOKUP returns #N/A. Wrap it in IFERROR to show your own message instead:
=IFERROR(VLOOKUP(A2,'Sheet 2'!$A$2:$B$11,2,FALSE),"Not found")
XLOOKUP from Another Sheet
In Excel 2021 and Microsoft 365, you can use XLOOKUP instead. It doesn’t need a column number, and it can return the “not found” message by itself:
=XLOOKUP(A2,'Sheet 2'!$A$2:$A$11,'Sheet 2'!$B$2:$B$11,"Not found")
Frequently Asked Questions
Why does my VLOOKUP from another sheet return #N/A?
The value isn’t in the first column of the range, or there’s a difference you can’t see, like an extra space or a number stored as text. Check the value with TRIM or VALUE, and make sure the last argument is FALSE for an exact match.
Why does my formula show #REF!?
The sheet or the range it refers to has been deleted, or col_index_num is bigger than the number of columns in the range.
Do I need single quotes around the sheet name?
Only when the sheet name has a space or a special character, like ‘Sheet 2’!. Excel adds them for you when you select the range with the mouse.
Written by
Puneet Gogia
Microsoft MVP — Excel · Founder, Excel Champs
Twelve years of teaching Excel, and a decade before that using it as a data analyst. Every tutorial here is written from a file I actually built.