VLOOKUP in Another Tab? Yes, Here’s the Formula

Formulas & functions · Updated November 23, 2026

Yes, you can use VLOOKUP to pull data from another tab (sheet) in the same workbook. The formula is exactly the same as a normal VLOOKUP, except you include the sheet name followed by an exclamation mark before the table array range, like this: =VLOOKUP(A2, Sheet2!A:B, 2, FALSE). This works in Excel for Microsoft 365, Excel 2021, and older versions, and the same syntax applies in Google Sheets.

How VLOOKUP Across Tabs Actually Works

VLOOKUP searches for a value in the first column of a table and returns a value from a column to the right. When the table lives on another tab, Excel needs to know which sheet to look at. The sheet reference is simply the sheet name (or the sheet name in single quotes if it contains spaces or special characters) followed by ! and then the range.

For example, if you have a list of product IDs in column A of your current sheet, and a price list on a tab named “Prices” with product IDs in column A and prices in column B, the formula in cell B2 of your current sheet would be:

=VLOOKUP(A2, Prices!A:B, 2, FALSE)

If the sheet name has a space, like “Price List”, you must wrap it in single quotes:

=VLOOKUP(A2, 'Price List'!A:B, 2, FALSE)

You can also reference a range on another tab by clicking that tab and selecting the range while building the formula—Excel will insert the correct syntax for you.

Choosing Between VLOOKUP, INDEX/MATCH, and XLOOKUP

VLOOKUP is the classic choice, but it has limitations: it only searches left-to-right, and it breaks if you insert a column inside the table array. For those reasons, many users switch to INDEX/MATCH or XLOOKUP.

  • VLOOKUP – Simple, works in all Excel versions, but requires the lookup column to be the first column in the range. Use it for quick, straightforward lookups.
  • INDEX/MATCH – More flexible: you can return a value from any column, and it doesn’t break when columns are added. Works in all Excel versions. Example: =INDEX(Sheet2!B:B, MATCH(A2, Sheet2!A:A, 0))
  • XLOOKUP – The modern replacement (Excel 2021 or Microsoft 365 only). It handles left-to-right and right-to-left lookups, has a built-in error handler, and is easier to read. Example: =XLOOKUP(A2, Sheet2!A:A, Sheet2!B:B)

If you are on Microsoft 365, XLOOKUP is generally the best choice. If you need compatibility with older Excel versions, INDEX/MATCH is safer than VLOOKUP for complex sheets.

Step-by-Step: Creating a Cross-Tab VLOOKUP

  1. Click the cell where you want the result (e.g., B2 on your main sheet).
  2. Type =VLOOKUP(.
  3. Click the cell containing the lookup value (e.g., A2). Type a comma.
  4. Switch to the other tab by clicking its tab at the bottom of the window.
  5. Select the range that includes both the lookup column and the return column (e.g., A:B). Excel will insert the sheet reference automatically, like Sheet2!A:B.
  6. Type a comma, then the column number (e.g., 2 for the second column in the range).
  7. Type a comma, then FALSE for an exact match (or TRUE for approximate, but exact is usually what you want).
  8. Close the parenthesis and press Enter.

On a Mac, the steps are identical; the only difference is that keyboard shortcuts use Cmd instead of Ctrl (e.g., Cmd+C to copy).

Common Problems and How to Fix Them

Here are the most frequent issues people hit when using VLOOKUP across tabs:

  • #N/A error – The lookup value isn’t found in the first column of the other tab. Check for extra spaces, text vs. number formatting, or that the range actually includes the lookup column as the first column.
  • #REF! error – The range is invalid, often because a column was deleted. Re-select the range.
  • #VALUE! error – The column index number is larger than the number of columns in the range. For example, if you selected A:B (2 columns) and asked for column 3, you’ll get this error.
  • Wrong results with TRUE – If you use TRUE (approximate match), the first column must be sorted in ascending order. Most people want FALSE for exact matches.
  • Sheet name with spaces or punctuation – Remember to wrap the name in single quotes: ='My Sheet'!A:B.
  • Formula not updating – If the other tab is in another workbook, make sure both files are open, and use the full path reference like ='[Budget.xlsx]Sheet1'!A:B.

VLOOKUP vs. INDEX/MATCH vs. XLOOKUP: A Quick Comparison

To help you decide, here is a side-by-side look at the three approaches for a cross-tab lookup:

  • VLOOKUP – =VLOOKUP(A2, Sheet2!A:B, 2, FALSE) – Simple, but only returns columns to the right of the lookup column.
  • INDEX/MATCH – =INDEX(Sheet2!B:B, MATCH(A2, Sheet2!A:A, 0)) – Returns any column, no left-to-right restriction.
  • XLOOKUP – =XLOOKUP(A2, Sheet2!A:A, Sheet2!B:B) – Cleanest syntax, handles errors with an optional fourth argument.

For a one-off lookup, VLOOKUP is fine. For a complex model where columns may be added or removed, INDEX/MATCH or XLOOKUP are more robust.

Working with Multiple Tabs and Named Ranges

If you frequently reference the same range on another tab, consider creating a named range. Select the range on the other tab, go to Formulas > Define Name, give it a name like “PriceTable”, and then use =VLOOKUP(A2, PriceTable, 2, FALSE). This makes formulas easier to read and less prone to typos.

For multiple tabs, you might use a helper column to identify which tab to look in, or use the INDIRECT function to build a sheet reference dynamically. For example, if cell C1 contains the sheet name, you can write =VLOOKUP(A2, INDIRECT("'" & C1 & "'!A:B"), 2, FALSE). Note that INDIRECT is volatile and can slow down large workbooks.

Frequently Asked Questions

Can I use VLOOKUP across different workbooks?
Yes. The syntax is =VLOOKUP(A2, '[OtherWorkbook.xlsx]Sheet1'!A:B, 2, FALSE). Both files must be open for the formula to update live. If the other workbook is closed, you’ll need the full file path, and the formula may not recalculate automatically.

Why does my VLOOKUP return #N/A even though the value exists?
Most often it’s a formatting mismatch—one cell is text and the other is a number. Use the TRIM function to remove extra spaces, or use =VLOOKUP(A2, Sheet2!A:B, 2, FALSE) after converting both columns to the same data type. Also check that the lookup column is the first column in the range.

Does VLOOKUP work if the other tab is hidden?
Yes, hidden tabs work fine. The formula references the sheet by name, so visibility doesn’t matter. Just make sure the sheet isn’t deleted or renamed without updating the formula.

Can I use VLOOKUP to return a value from a column to the left of the lookup column?
No. VLOOKUP only returns values from columns to the right of the lookup column. Use INDEX/MATCH or XLOOKUP instead.

Is there a limit to how many tabs I can reference in one VLOOKUP?
No, you can reference any number of tabs, but each formula can only reference one range. If you need to search across multiple tabs, you’ll need multiple VLOOKUPs combined with IFERROR, or use a more advanced approach like Power Query.

Does VLOOKUP work in Google Sheets the same way?
Yes, the syntax is identical. In Google Sheets, you also use =VLOOKUP(A2, 'Sheet2'!A:B, 2, FALSE). The only difference is that Google Sheets may auto-adjust the sheet reference if you rename a tab, whereas Excel does not.

Related

Try it: the Formula Explainer: paste any formula and see each function and reference in plain English.

More in Formulas & functions

Sources: Function behaviour and menu paths: Microsoft Support documentation for Excel. Method & sources

Spotted an error in this guide? Let us know.