Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

Google Sheets VLOOKUP From Another Tab: How-To

· 6 min read · Home Tech

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

To run a VLOOKUP from another tab in Google Sheets, reference the sheet name with an exclamation mark before the range: =VLOOKUP(A2, 'Sheet2'!A:C, 3, FALSE). That single change to the second argument is all that separates a same-sheet lookup from a cross-tab one. The rest of the formula behaves exactly as it does on one tab, with one important condition: the lookup value must appear in the first column of the referenced range, and that range must be locked down if you plan to copy the formula down.

What You'll Need

  • A Google Sheets spreadsheet with at least two tabs (a source tab holding the reference data and a destination tab where you write the formula).
  • Both tabs in the same spreadsheet file. VLOOKUP cannot reach into a separate spreadsheet file; for that you need IMPORTRANGE or a different approach.
  • A clean source table: the column you search on should sit to the left of the column you want to return.
  • Consistent data types in the lookup column (all text or all numbers, not a mix) so matches are not silently missed.

Step-by-Step

  1. Name your tabs clearly. Rename the source tab something short and unambiguous, such as Products or Rates. Right-click the tab at the bottom and choose Rename. Short names keep formulas readable and reduce typos.
  2. Check the source layout. On the source tab, confirm the lookup column (the one you will search, e.g. product codes) is the leftmost column of the range you intend to use, and that the value you want back (e.g. price) is somewhere to its right. VLOOKUP only looks rightward.
  3. Go to the destination tab and click the cell where the result should appear.
  4. Type the formula opening: =VLOOKUP(
  5. Add the lookup value. Click the cell on the current tab that holds the value you are searching for, e.g. A2. The formula now reads =VLOOKUP(A2,
  6. Add the cross-tab range. Click the source tab at the bottom, then drag across the columns you need. Google Sheets writes the reference for you, producing something like 'Products'!A2:C100. If the sheet name contains a space or special character, Sheets wraps it in single quotes automatically; keep those quotes. A full-column reference such as 'Products'!A:C also works and is easier to maintain.
  7. Add the column index. Count the columns in your range starting from the lookup column as 1. If the range is A:C and the return value is in column C, the index is 3. Type 3 followed by a comma.
  8. Set the match mode to exact. Type FALSE (or 0) and close the bracket. Your finished formula looks like:
    =VLOOKUP(A2, 'Products'!A:C, 3, FALSE)
  9. Press Enter and verify one result against the source tab by eye before filling down.
  10. Lock the range before copying. If you will drag the formula down a column, make the range absolute with dollar signs: 'Products'!$A:$C or 'Products'!$A$2:$C$100. Without this, the range shifts on every row and later rows return wrong values or errors.
  11. Wrap it for cleanliness (optional). Use =IFERROR(VLOOKUP(...), "Not found") so unmatched rows show a readable label instead of #N/A.

Labels and menu wording can differ slightly between the browser version, the mobile apps and different regions, but the formula syntax itself is the same everywhere. On the mobile app, tapping the source tab while editing a formula inserts the sheet reference the same way it does on desktop.

Common Mistakes

  • Forgetting the sheet name or the exclamation mark. Products!A:C works; Products.A:C or a bare A:C does not reach the other tab.
  • Dropping the quotes around a sheet name with a space. Sales Data!A:C breaks; 'Sales Data'!A:C is correct.
  • Counting the column index from column A of the spreadsheet instead of from the first column of your chosen range. The index is relative to the range, not the sheet.
  • Using TRUE or leaving the fourth argument out. The default is an approximate match, which returns wrong values on unsorted data. Always type FALSE.
  • Mismatched data types. A product code stored as text in one tab and as a number in the other will not match, even though they look identical.
  • Hidden leading or trailing spaces in the source data, often from pasted imports. These cause silent #N/A results.
  • Not locking the range before filling the formula down a column.

Tips

  • Use full-column ranges ('Sheet2'!A:C) when the source table grows over time, so new rows are included automatically.
  • Prefer XLOOKUP if your spreadsheet supports it: it can look leftward and does not need a column count. VLOOKUP remains the safer choice if the file is shared with people on older setups.
  • Keep the lookup column as the first column of the range by design, not by accident. If you cannot, restructure the source table or switch functions.
  • Name the range itself (Data > Named ranges) so formulas read =VLOOKUP(A2, PriceList, 3, FALSE) and survive column insertions.
  • Test with a value you know exists and one you know does not, so you see both the success and failure behaviour.

Troubleshooting

If you get #N/A, first confirm the lookup value genuinely exists on the source tab using Ctrl+F (Cmd+F on Mac). Then check for stray spaces by comparing lengths, or test with =TRIM(A2). Next confirm both values are the same type: a number stored as text will not match a real number.

If you get #REF!, the column index is larger than the number of columns in your range. Recount from the range's first column.

If the formula returns the wrong value, the fourth argument is probably missing or set to TRUE. Change it to FALSE.

If you get #NAME?, the sheet name is misspelled or the quotes are wrong. Click the source tab while editing to let Sheets write the reference for you.

If results shift after copying down, the range is not absolute. Add dollar signs and refill.

If the source tab was renamed or deleted, every formula pointing at it breaks. Rename the tab back, or use Find and Replace to update the references.

If that did not work, rebuild the formula from scratch by clicking rather than typing, which eliminates most syntax errors. As a last resort, copy the source table into the destination tab temporarily to confirm the lookup logic is sound, then move it back and re-add the sheet reference.

Frequently Asked Questions

Can VLOOKUP pull data from a different spreadsheet file?

Not directly. Use IMPORTRANGE to bring the other file's data into a tab first, then VLOOKUP against that tab. The source file must be shared with you and you must authorise the connection once.

Does the source tab need to be sorted?

No, provided the fourth argument is FALSE for an exact match. Sorting only matters for approximate matches, which are rarely what you want.

Why does my formula work on one row but fail when filled down?

The range reference is almost certainly relative. Lock it with dollar signs, for example 'Sheet2'!$A:$C.

Can I look up a value that sits to the left of the search column?

Not with VLOOKUP. Use XLOOKUP, INDEX with MATCH, or rearrange the source columns.

What happens if two rows on the source tab share the same lookup value?

VLOOKUP returns the first match it encounters, top to bottom. Duplicates are not flagged, so clean the source data if uniqueness matters.

Do sheet names with spaces always need quotes?

Yes. Any sheet name containing a space or special character must be wrapped in single quotes, followed by the exclamation mark.