Smart Systems for Home

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

Excel Pull Data from Another Worksheet: Step-by-Step

· 5 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 pull data from another worksheet in Excel, use a direct cell reference like =Sheet2!A1 for a single value, or functions like VLOOKUP, INDEX/MATCH, or XLOOKUP to retrieve matching records. For a live, refreshable table, use Power Query (Data > Get Data). The best method depends on whether you need one cell, a matching row, or an entire table that updates automatically.

What You'll Need

  • Excel 2016 or later (XLOOKUP requires Microsoft 365 or Excel 2021+; Power Query is built into Excel 2016+).
  • At least two worksheets in the same workbook, or two open workbooks if pulling externally.
  • Consistent headers and no blank rows in your source data.
  • Basic familiarity with cell references and the formula bar.

Step-by-Step

  1. Name your source sheet clearly. Rename Sheet2 to something like SalesData by right-clicking the tab and choosing Rename. This makes formulas easier to read and less error-prone.
  2. Pull a single cell. On your destination sheet, click the cell where you want the value, type =, then click the source sheet tab and click the cell you want. Press Enter. Excel writes something like =SalesData!B2. This creates a live link: if the source changes, the destination updates.
  3. Pull a whole column or range. Use =SalesData!A2:A100 to spill the range (Excel 365 dynamic arrays) or copy the formula down manually in older versions. For a fixed table, you can also copy the source range and use Paste Special > Paste Link to create references automatically.
  4. Use VLOOKUP for matching rows. In the destination cell, type =VLOOKUP(lookup_value, SalesData!$A$2:$D$100, 3, FALSE). Replace lookup_value with the cell containing the ID or name you are searching for, and adjust the column index (3 returns the third column of the range). The FALSE ensures an exact match.
  5. Use INDEX/MATCH for more flexibility. Type =INDEX(SalesData!$C$2:$C$100, MATCH(A2, SalesData!$A$2:$A$100, 0)). This lets you look up to the left as well as the right, unlike VLOOKUP.
  6. Use XLOOKUP if available. Type =XLOOKUP(A2, SalesData!$A$2:$A$100, SalesData!$C$2:$C$100, "Not found"). XLOOKUP handles left lookups natively and lets you specify a default value for missing matches.
  7. Pull an entire table with Power Query. Go to Data > Get Data > From Other Sources > From Table/Range (or From File if external). Select your source table, then choose Close & Load To and pick a location on your destination sheet. Power Query creates a refreshable connection: right-click the output table and choose Refresh to update.
  8. Test and lock references. Change a value in the source sheet and confirm the destination updates. Use absolute references ($A$2) in lookup ranges so formulas don't shift when copied. Press F4 after selecting a range in the formula bar to toggle absolute/relative.

Common Mistakes

  • Forgetting the sheet name. A formula like =A1 only looks at the current sheet. You must include SheetName! before the cell reference.
  • Using relative references in lookup ranges. If you copy a VLOOKUP down without locking the table range, Excel shifts the range and returns wrong results. Use $ signs.
  • Mismatched data types. Text that looks like a number (e.g., "00123" stored as text) won't match a numeric 123. Use VALUE() or Text to Columns to convert.
  • Trailing spaces. Extra spaces in source or lookup values cause #N/A. Use TRIM() on both sides or clean the data.
  • Broken links after renaming or moving sheets. If you rename a sheet, Excel updates formulas automatically, but if you move or delete a sheet, references break with #REF!.
  • Assuming Power Query updates automatically. It doesn't; you must refresh manually or set the query to refresh on open (Query Properties > Refresh data when opening the file).

Tips

  • Use structured table references (e.g., Table1[Sales]) instead of cell ranges; they expand automatically when you add rows.
  • Name key ranges (Formulas > Define Name) to make formulas readable and easier to audit.
  • For large datasets, Power Query is faster and more reliable than thousands of VLOOKUP formulas.
  • Press Ctrl+` (grave accent) to toggle showing formulas instead of values, useful for debugging links.
  • Keep source and destination sheets in the same workbook when possible; external links can break if files move.

Troubleshooting

If you see #N/A, the lookup value isn't found. Check for typos, extra spaces, or data type mismatches. Use =ISNA(VLOOKUP(...)) to test, or wrap with IFERROR to display a friendly message. If you see #REF!, a referenced sheet or cell was deleted; undo (Ctrl+Z) or re-point the formula. If values don't update, ensure calculation is set to Automatic (Formulas > Calculation Options > Automatic). For Power Query, check that the source range still exists and refresh the query; if the source file moved, edit the query's source step. If formulas return 0 instead of blank, the source cell is empty but the reference is valid; use =IF(ISBLANK(Sheet2!A1),"",Sheet2!A1) to show blank. If links break after saving, use Edit Links (Data > Edit Links) to update the source path.

Frequently Asked Questions

Can I pull data from another workbook?

Yes. Use a reference like =[Book2.xlsx]Sheet1!A1 or use Power Query (Data > Get Data > From File > From Workbook). Keep both files open or ensure the path is correct; external links can break if the source file moves.

How do I pull data from multiple sheets into one?

Use Power Query: Data > Get Data > From Other Sources > Blank Query, then use the Advanced Editor to combine sheets, or use the Append feature. Alternatively, use a 3D reference like =SUM(Sheet1:Sheet3!A1) for simple aggregation.

Why does my VLOOKUP return the wrong value?

Common causes: the range isn't locked with $, the column index is wrong, or the match type is TRUE instead of FALSE. Also check for duplicate lookup values—VLOOKUP returns the first match only.

Can I pull data without formulas?

Yes. Copy the source range, then on the destination sheet use Paste Special > Paste Link. This creates references automatically. For tables, Power Query is the no-formula option.

How do I stop links from updating?

Copy the cells and use Paste Special > Values to replace formulas with static data. Or use Data > Edit Links > Break Link (this permanently removes the connection).

Does pulling data work in Excel for the web?

Basic cell references and many functions work, but Power Query and some lookup functions may be limited. For full functionality, use the desktop app.