Excel Lookup from Another Sheet: Step-by-Step Guide
In this article
To look up data from a different sheet in Excel, use a lookup function like VLOOKUP, XLOOKUP, or INDEX/MATCH and reference the other sheet by name followed by an exclamation mark (for example, Sheet2!A1:D100). The core requirement is that the lookup value exists in the first column (for VLOOKUP) or the lookup column (for XLOOKUP) of the source range, and that both sheets are in the same workbook. This guide walks you through the exact steps, common pitfalls, and fixes so you can pull data across sheets reliably.
What You'll Need
- Excel 2016 or later (XLOOKUP requires Microsoft 365 or Excel 2021+; VLOOKUP and INDEX/MATCH work in all versions).
- Both sheets in the same workbook, or an external workbook that is open (for cross-workbook references).
- A unique identifier (ID, name, email) present in both sheets to match on.
- Basic familiarity with cell references and the formula bar.
Step-by-Step
- Set up your source sheet. In the sheet that holds the data (e.g., Products), ensure the lookup column is the leftmost column of your range if you plan to use VLOOKUP. For XLOOKUP, the lookup column can be anywhere. Give the range a clear structure: headers in row 1, data below.
- Go to the destination sheet. Click the cell where you want the result to appear (e.g., cell B2 on Orders).
- Start the formula. Type
=VLOOKUP(or=XLOOKUP((or=INDEX(for INDEX/MATCH). Excel will show a tooltip with argument names. - Enter the lookup value. Click the cell containing the value you want to match (e.g., A2 on Orders). This is the identifier that must also exist in the source sheet.
- Reference the source sheet range. Switch to the source sheet and select the range that contains the lookup column and the return column. Excel inserts the sheet name automatically, e.g.,
Products!$A$2:$D$100. Press F4 to make the range absolute so it doesn't shift when you copy the formula down. - Specify the column index (VLOOKUP only). Count from the first column of your selected range to the column containing the value you want. For example, if the range is A:D and you want column C, the index is 3.
- Set the match mode. For VLOOKUP, use
FALSE(or 0) for an exact match. For XLOOKUP, the default is exact match; you can omit the match mode or use 0. For INDEX/MATCH, MATCH uses 0 for exact. - Close the parenthesis and press Enter. The result should appear. If you see
#N/A, the lookup value wasn't found—check for extra spaces or mismatched data types. - Copy the formula down. Drag the fill handle or copy and paste to apply the formula to other rows. Absolute references keep the source range fixed.
- Verify a few results manually. Pick two or three rows and confirm the returned values match the source sheet. This catches range or index errors early.
Common Mistakes
- Forgetting the sheet name or using spaces incorrectly. If the sheet name contains spaces, wrap it in single quotes:
'Sales Data'!A1:B10. Without quotes, Excel returns an error. - Using approximate match in VLOOKUP. Omitting the fourth argument or using TRUE can return wrong matches when data isn't sorted. Always use FALSE for exact lookups.
- Relative range references. If you don't lock the range with $ signs, copying the formula down shifts the range and causes incorrect or #REF! errors.
- Mismatched data types. Numbers stored as text (e.g., "123" vs 123) won't match. Use
VALUE()or clean the data with Text to Columns. - Hidden spaces or non-printing characters. Trailing spaces cause #N/A. Use
TRIM()orCLEAN()on both lookup and source values. - Column index off by one. Counting from the wrong starting column returns the wrong field. Double-check the range and index.
Tips
- Use XLOOKUP when available: it handles lookups to the left, has a built-in not-found argument, and defaults to exact match.
- Name your source range (Formulas > Define Name) to make formulas easier to read and maintain.
- Convert your source data to an Excel Table (Ctrl+T). Structured references like
Table1[Price]auto-expand and reduce range errors. - For multiple criteria, use XLOOKUP with concatenated columns or INDEX/MATCH with an array formula (Ctrl+Shift+Enter in older Excel).
- Test with a known value first, then copy down. Use
IFERRORto display a friendly message instead of #N/A.
Troubleshooting
If you see #N/A, the lookup value isn't found. Check for leading/trailing spaces, case differences (VLOOKUP is case-insensitive; XLOOKUP is case-sensitive by default), or numbers stored as text. Use =TRIM(A2) or =VALUE(A2) to clean. If you see #REF!, the sheet name may be misspelled or the referenced sheet was deleted. If you see #VALUE!, an argument is the wrong type—check the column index is a number. If the formula returns the wrong value, verify the column index and that the range starts at the lookup column. For XLOOKUP, ensure the lookup array and return array are the same size. If the formula works in one row but not others, check for relative references that shifted. Press F2 to edit and inspect the formula. If all else fails, retype the formula from scratch, as invisible characters can corrupt it.
Frequently Asked Questions
Can I use VLOOKUP to look up data from another sheet?
Yes. Reference the sheet name before the range, e.g., =VLOOKUP(A2,Sheet2!$A$2:$D$100,3,FALSE). The lookup value must be in the first column of the range.
What is the difference between VLOOKUP and XLOOKUP for cross-sheet lookups?
XLOOKUP is more flexible: it can look left or right, defaults to exact match, and lets you specify a value if not found. VLOOKUP only looks right from the first column and requires a column index.
How do I reference a sheet with a space in its name?
Enclose the sheet name in single quotes: ='Sales Data'!A1. Without quotes, Excel interprets the space as an operator and returns an error.
Why does my cross-sheet lookup return #N/A when the value exists?
Common causes: trailing spaces, numbers stored as text, or case sensitivity (XLOOKUP). Use TRIM() and check data types with ISTEXT() or ISNUMBER().
Can I look up data from a closed workbook?
Yes, but the workbook must be referenced with its full path, and the data won't update automatically. For reliable results, open both workbooks or use Power Query to import the data.
How do I copy a cross-sheet lookup formula without breaking it?
Use absolute references for the source range (e.g., $A$2:$D$100) and relative references for the lookup value (e.g., A2). Press F4 to toggle absolute/relative.