How to Use VLOOKUP Across Sheets: 3 Easy Ways to Pull Data and Never Break a Link

Learning how to use VLOOKUP across sheets lets you keep your data on one tab and your answers on another, which is how clean workbooks are built. The idea is simple: the formula lives on the summary sheet, and the table it searches lives on a data sheet. You type the sheet name, an exclamation mark, and the range, and Excel does the rest. This guide shows you three easy ways to do it, from a direct reference to a formula that picks the sheet from a cell. You will build each way on the same small example, so you can see which one fits your file.

Most people keep everything on one sheet because cross sheet formulas feel risky, and then the sheet grows into a mess. Data, notes, and answers all sit in one place, and one wrong move breaks the whole file. Splitting the workbook into a data sheet and a summary sheet fixes that, because each sheet has one job. If you are new to lookups, start with our pillar guide on how to use VLOOKUP in Excel first, then come back here.

[SNIPPET TARGET] To use VLOOKUP across sheets, type =VLOOKUP(lookup_value, SheetName!table_range, col_index_num, FALSE) in the summary sheet, where SheetName is the tab that holds the data. If the sheet name has a space, wrap it in single quotes, such as ‘Price List’!A2:C100.

ANSWER BOX 1

To use VLOOKUP across sheets, type the sheet name, an exclamation mark, and the range inside the formula, such as =VLOOKUP(F2, Prices!A2:C100, 3, FALSE). Excel searches the Prices sheet for the value in F2 and returns the price from column 3.

ANSWER BOX 2

The three easy ways are a direct reference, INDIRECT with a sheet name in a cell, and an IFERROR chain across several sheets. The direct reference is the simplest and the safest, so use it first.

KEY TAKEAWAYS

  • How to use VLOOKUP across sheets starts with SheetName!range inside the formula.
  • Wrap a sheet name with spaces in single quotes, such as ‘Price List’!A2:C100.
  • The direct reference is the simplest way, and it works in every Excel version.
  • INDIRECT lets a cell pick the sheet, but it cannot read a closed workbook.
  • An IFERROR chain searches several sheets in order until it finds a match.

Contents

Why Split Your Workbook Into Sheets?

How to use VLOOKUP across sheets starts with a good reason to split the workbook at all. A single sheet that holds data, notes, and answers grows messy fast, and one wrong move can break a formula that took an hour to build. A data sheet holds the raw table, a summary sheet holds the answers, and each sheet has one clear job. When the data changes, you edit one sheet, and the answers update on their own.

The split also protects your data from accidents. A colleague who only needs the answers can work on the summary sheet without touching the raw table. A filter applied on the summary sheet will not hide rows in the data sheet.

The same split helps when the data comes from another person or another system. A price list arrives on its own sheet, a staff list arrives on another, and your summary pulls from both. You can replace a data sheet with a fresh export without touching the formulas, as long as the sheet name and the layout stay the same. If your data lives on other tabs and the lookup fails, our guide on VLOOKUP not working shows the six fixes that stop the #N/A errors.

Way 1: The Direct Reference

The direct reference is the simplest way, and it is the one to learn first. On a sheet named Prices, type Product code in A1, Product in B1, and Price in C1, then type P-101, Notebook, 12 in row 2, P-102, Pen Set, 25 in row 3, and P-103, Desk Lamp, 40 in row 4. On a second sheet named Summary, type P-102 in F2, then type =VLOOKUP(F2, Prices!$A$2:$C$4, 3, FALSE) in G2. Excel searches the Prices sheet for P-102 and returns 25.

The formula is easy to build. Click the answer cell on the Summary sheet, type =VLOOKUP(, click the lookup cell, type a comma, click the Prices tab, select the table range, type a comma, type 3, type a comma, and type FALSE). Press Enter, and Excel fills in the sheet name and the quotes for you.

The direct reference works in every Excel version, and it is the easiest formula to read later. A colleague who opens the file can see exactly which sheet the formula reads, and the link updates at once when the data changes.

Way 2: INDIRECT With a Sheet Name in a Cell

INDIRECT with a sheet name in a cell lets one formula switch sheets without editing the formula itself. For example, type Jan in B1, Feb in C1, and Mar in D1 across the top of your summary sheet. Then type =VLOOKUP($A2, INDIRECT(“‘”&B$1&”‘!A:B”), 2, FALSE) in the Jan column. The formula reads the sheet name from the header row, so each column pulls from a different month.

The single quotes matter, because they make sheet names with spaces work, so keep them even when your names are simple. The sheet names in the header must match the tab names exactly, or INDIRECT returns #REF! with no hint about which part is wrong. Check for trailing spaces first, because a space at the end of a tab name is invisible on screen and breaks the match. Our comparison guide on VLOOKUP vs XLOOKUP explains how XLOOKUP handles the same job with separate ranges.

INDIRECT has two real costs, and you should know them before you use it. It cannot read a closed workbook at all, so it only works on sheets inside an open file. It is also volatile, which means it recalculates on every change in the workbook, so a large grid of INDIRECT formulas can slow a big file down. Use it for a small summary with a few columns, and avoid it on a sheet with thousands of formulas.

Way 3: The IFERROR Chain Across Several Sheets

The IFERROR chain searches several sheets in order until it finds a match, which fits data that is split across tabs. The formula looks like this: =IFERROR(VLOOKUP($A2, Jan!$A:$B, 2, FALSE), IFERROR(VLOOKUP($A2, Feb!$A:$B, 2, FALSE), IFERROR(VLOOKUP($A2, Mar!$A:$B, 2, FALSE), “Not found”))). Excel tries Jan first, and if the value is missing there, it tries Feb, then Mar, and finally shows Not found.

This way works in every Excel version, and it is easy to understand, because each link is a plain direct reference. The cost is length, because the formula grows with every sheet, and a chain across ten sheets is hard to read.

WayFormula shapeBest forWatch out for
Direct reference=VLOOKUP(F2, Prices!A2:C4, 3, FALSE)One data sheet, fixed nameSheet name is fixed in the formula
INDIRECT=VLOOKUP($A2, INDIRECT(“‘”&B$1&”‘!A:B”), 2, FALSE)One formula, many sheetsCannot read a closed workbook
IFERROR chain=IFERROR(VLOOKUP(…Jan…), VLOOKUP(…Feb…))Data split across a few sheetsFormula grows with every sheet
XLOOKUP chain=XLOOKUP with if_not_foundModern Excel, clean messageNeeds Microsoft 365 or Excel 2021

Which Way Should You Pick?

Picking a way is easy once you answer one question: how many sheets hold the data, and does the sheet name change. If the data sits on one sheet with a fixed name, use the direct reference. If one formula must pull from many sheets, and the sheet name sits in a cell, use INDIRECT, but keep the grid small. If the data is split across a few sheets and you want the first match, use the IFERROR chain, and keep it to three or four links.

The Closed Workbook Limit Most Guides Skip

This is the section other guides skip, and it is the limit that breaks a file on Monday morning. INDIRECT cannot read a closed workbook at all, so a formula that worked on Friday shows #REF! on Monday when the source file is closed. A direct reference to another workbook works when the file is closed, as long as the full path is in the formula, such as =’C:\Reports\[Prices.xlsx]Jan’!A2:C100, but an INDIRECT version of the same link fails.

The fix is simple, and it costs nothing. Keep the data in the same workbook when you use INDIRECT, and open the source workbook before you use a cross workbook INDIRECT link. If the data must live in another file, use a direct reference with the full path, or copy the data into the workbook and use a direct reference there.

First, check that every sheet name in the formulas matches a real tab, with no trailing spaces. Second, check that the data sheet has one header row and no blank rows inside the table. Third, lock the ranges with dollar signs, or use table names that cannot drift when the formula is copied. Fourth, test the file with a missing value, so you see the friendly message instead of a raw error.

Fifth, check that the file opens and calculates on a colleague’s computer, not just on yours, because a link that works for you can break for them. Sixth, write a short note on the summary sheet that names the data sheets and says when the data was last updated.

How to Use VLOOKUP Across Sheets FAQ

How do I write a VLOOKUP across two sheets?

Type the sheet name, an exclamation mark, and the range inside the formula, such as =VLOOKUP(F2, Prices!A2:C100, 3, FALSE). Click the other sheet tab while you build the formula, and Excel fills in the name for you.

How do I use VLOOKUP when the sheet name has a space?

Wrap the sheet name in single quotes, such as ‘Price List’!A2:C100, inside the VLOOKUP formula. Excel adds the quotes for you when you click the range on the other sheet. Keep the quotes even when the name is simple, because they make the formula work with any sheet name. Check that the name matches the tab exactly.

Can VLOOKUP search several sheets at once?

No, one VLOOKUP searches one range on one sheet only. To search several sheets, chain the lookups with IFERROR, so Excel tries each sheet in turn until it finds a match. You can also use INDIRECT with a sheet name in a cell, so one formula switches sheets.

Why does my cross sheet VLOOKUP show #REF!?

Your cross sheet VLOOKUP shows #REF! when the sheet it points to was renamed, deleted, or has a trailing space in its name. Check that the tab name matches the formula exactly, and rebuild the range by clicking the sheet again. INDIRECT shows #REF! when the sheet name in the cell does not match a real tab, or when the source workbook is closed.

Can VLOOKUP pull data from another workbook?

Yes, VLOOKUP can pull data from another workbook with a direct reference that includes the file path, such as =’C:\Reports\[Prices.xlsx]Jan’!A2:C100. The link works when the source file is closed, but Excel may ask you to update links when you open the file. INDIRECT cannot read a closed workbook, so use a direct reference for cross workbook links.

Does INDIRECT work with VLOOKUP in old Excel?

Yes, INDIRECT works with VLOOKUP in old Excel, and it needs no special keys in most cases. The formula =VLOOKUP($A2, INDIRECT(“‘”&B$1&”‘!A:B”), 2, FALSE) works in old versions. INDIRECT is volatile, so it recalculates on every change, and it cannot read a closed workbook, so keep the grid small and the data in the same file.

How do I stop a cross sheet VLOOKUP from breaking?

Lock the range with dollar signs, keep the sheet names fixed, and avoid deleting or renaming data sheets. Turn the data into an Excel Table with Ctrl+T, so new rows join the range at once.

Can I use VLOOKUP across sheets in Google Sheets?

Yes, VLOOKUP across sheets works in Google Sheets with the same syntax, such as =VLOOKUP(F2, Prices!A2:C100, 3, FALSE). Google Sheets also supports IMPORTRANGE for pulling data from another spreadsheet file, which Excel does not have. The errors mean the same things, and the fixes in this guide apply there too.

What is the best way to pull data from many sheets?

The best way is to combine the data onto one sheet with a month or region column, then use a normal VLOOKUP or a helper column. When that is not possible, use an IFERROR chain across three or four sheets, or INDIRECT with the sheet names in a header row. A single table is always easier to check than a chain of formulas.

Why does INDIRECT slow down my workbook?

INDIRECT is volatile, which means it recalculates on every change in the workbook, even when the change has nothing to do with the formula. A large grid of INDIRECT formulas can slow a big file down. Use a direct reference when the sheet name never changes, and keep INDIRECT grids small.

How do I look up a value on a sheet chosen from a dropdown?

Put the sheet names in a dropdown with Data Validation, then use INDIRECT to read the chosen name, such as =VLOOKUP($A2, INDIRECT(“‘”&$B$1&”‘!A:B”), 2, FALSE). The user picks a month from the dropdown, and the formula pulls from that sheet at once. Check that every dropdown value matches a real tab name exactly.

Should I use XLOOKUP instead for cross sheet lookups?

XLOOKUP works across sheets with the same direct reference style, such as =XLOOKUP(F2, Prices!A2:A100, Prices!C2:C100). It defaults to exact match and has a built-in not found message, so it is the nicer tool in modern Excel. Use VLOOKUP when the file must open in Excel 2019 or older, because XLOOKUP does not exist there. Microsoft announced XLOOKUP on August 28, 2019 (Microsoft, 2019).

Final Word

Learning how to use VLOOKUP across sheets turns a messy single sheet workbook into a clean set of tabs, each with one job. Start with the direct reference, because it works everywhere and is easy to read.

Read more about VLOOKUP on Wikipedia: https://en.wikipedia.org/wiki/VLOOKUP

Leave a Reply