How to Pull Live Data From Another Sheet or Workbook

To pull live data from another spreadsheet, use IMPORTRANGE in Google Sheets or an external reference in Excel. Both create a formula that reads the source cells directly, so the figures update when the source changes. For Excel files that refresh on a schedule or merge many files, Power Query is the better choice. The right method depends on where the source lives, who edits it, and how many rows you need to bring across.

What “Live” Means in Practice

A live link is a formula that points at a range in another file and recalculates when that range changes. It is not a copy. If someone edits the source, the destination reflects the change without anyone pasting anything.

“Live” does not mean instant. Google Sheets recalculates IMPORTRANGE on its own schedule, so a change in the source can take a short while to appear. Excel updates external references when the workbook opens, when you press F9 (or Ctrl+Alt+F9 to force a full recalculation), or when you run a Power Query refresh. Plan for a delay in any report that someone reads at a fixed time.

Small Business CEO Dashboard

Skip the setup

Small Business CEO Dashboard

Sales, costs, cash and targets on one screen. The formulas are already built, so you type the numbers and the dashboard does the rest.

See it on Taskdale →

Glossary of Terms Used in This Guide

  • Source: the spreadsheet or workbook that holds the original data.
  • Destination: the sheet or workbook that displays or uses the pulled data.
  • Range: a block of cells, written as A1:C50 or Sales!A2:C.
  • External reference: an Excel formula that points to a cell or range in another workbook, usually written with the file name in square brackets.
  • Spreadsheet ID: the long string of characters in a Google Sheets URL between /d/ and /edit. IMPORTRANGE accepts either the full URL or the ID.
  • Power Query: the data import and transformation engine built into current versions of Excel, found under the Data tab.
  • Volatile function: a function that recalculates every time anything changes in the workbook. INDIRECT is the most common example.
  • Refresh: the action of re-reading the source and updating the destination.

Choosing a Method

Start with two questions. Is the source in Google Sheets or Excel? Will the source file be open when the destination is used? The table below compares the main options.

MethodPlatformWorks with source closedHandles large volumesSetup effortBest use
IMPORTRANGEGoogle SheetsYes (source must be a Google Sheet)ModerateLow, one-time permissionLive views of other Google Sheets
Direct external referenceExcelYes, if the file path is validLow to moderateLowA few specific cells from one or two workbooks
Power Query (From Workbook)ExcelYesHighModerateRepeatable imports, merging several files, cleaning on import
INDIRECT with a file pathExcelLimitedLowModerateSwitching between sources from a dropdown
Copy and paste linkBothPartlyLowVery lowOne-off updates where no automation is needed

For most people working in Google Sheets, IMPORTRANGE is the default. For Excel, use a direct external reference for a handful of cells and Power Query for anything repeated, large or messy. Avoid INDIRECT unless you need the file name to change dynamically, because it is volatile and slows large workbooks.

Pulling Data in Google Sheets With IMPORTRANGE

IMPORTRANGE is the function built for this task. It takes two arguments: the source URL or ID, and the range to read as text, such as "Sheet1!A1:D200".

Step-by-step setup

  1. Open the source spreadsheet and copy its full URL from the address bar.
  2. Open the destination spreadsheet and click the cell where the data should start.
  3. Type =IMPORTRANGE(" and paste the URL, then type ", "Sheet1!A1:D200") with the correct sheet name and range.
  4. Press Enter. The cell will show a #REF! error with a message to allow access.
  5. Click Allow access. The formula will then return the data.
  6. Check that the first few rows match the source. If they do not, confirm the sheet name spelling and the range.

The person who clicks Allow access must have at least view access to the source. If the source is later unshared from that person, the link breaks and the error returns.

Range sizing

Set the range to cover the data you need plus some room for growth, but not the whole sheet. Writing "Sheet1!A:D" (full columns) is valid but reads far more cells than a report usually needs, and it slows the destination. For a list that grows daily, a range such as "Sheet1!A1:D5000" is a practical compromise. Review it each quarter, because a range that is too short silently drops new rows.

Shaping the data with QUERY or FILTER

IMPORTRANGE returns raw cells. Wrap it in QUERY, FILTER or ARRAYFORMULA to select columns, filter rows or summarise results without touching the source.

For example, to show only rows where the status is “Open”:

=FILTER(IMPORTRANGE("source_id", "Tracker!A2:F"), IMPORTRANGE("source_id", "Tracker!E2:E")="Open")

The source is read twice here, which is acceptable for a small sheet. For larger work, use QUERY, which reads the range once and applies the filter in one statement:

=QUERY(IMPORTRANGE("source_id", "Tracker!A1:F"), "select Col1, Col2, Col5 where Col5 = 'Open'", 1)

The number 1 at the end tells QUERY that the first row is a header. Column references in QUERY are Col1, Col2 and so on, counted from the left of the range you imported.

Small Business Command Center

Ready-made template

Small Business Command Center

Clients, invoices, expenses and tasks in one workbook. A good fit if you run the business from a single file.

See it on Taskdale →

Linking Workbooks in Excel

Excel handles external links differently. The formula stores the file name and sheet name, and it can store the full path if the source is closed.

Direct external references

  1. Open the source workbook and the destination workbook.
  2. In the destination, type = in the target cell.
  3. Switch to the source workbook, click the cell to link, and press Enter.
  4. Excel returns a formula such as ='[Q3_Sales.xlsx]Totals'!B4.

If the source is closed, Excel stores the full path, for example ='C:\Reports\Finance\[Q3_Sales.xlsx]Totals'!B4. When you open the destination, Excel shows a security warning about links. Choose Enable Content or Update only if you trust the source.

Managing links

Go to Data > Edit Links to see every external source the workbook uses. From this panel you can:

  • Update Values to force a refresh from the source.
  • Change Source to point the links at a new file, which is useful after a rename or move.
  • Break Link to convert the formulas to static values. This is permanent for the selected links, so check the result before saving.

Changing the source this way is far safer than using Find and Replace on formulas, which can corrupt references.

Power Query for repeatable and large imports

Power Query is the right tool when the import must run on a schedule, when the source changes shape, or when you need to clean the data before it lands.

  1. Go to Data > Get Data > From File > From Workbook and select the source file.
  2. In the Navigator window, choose the sheet or table to import.
  3. Use the Power Query editor to remove blank rows, rename columns, change data types or filter values.
  4. Choose Close & Load to place the result in a table, or Load To to choose a pivot table or connection only.
  5. To refresh later, select Data > Refresh All.

To combine several workbooks with the same layout, use Get Data > From File > From Folder. Power Query lists every file in the folder and can append them into one table. Adding a new file to the folder then includes it on the next refresh, which removes the need to edit links by hand.

Power Query does not create a live formula in the cell. The data is stored as a query result, so the refresh step is required. Treat this as a trade-off: less immediate, but far more reliable for large or recurring jobs.

Worked Example: A Monthly Regional Sales Summary

A regional manager keeps one workbook per region: North.xlsx and South.xlsx. Each has a sheet named Sales with three columns: Date in A, Region in B, Amount in C. The head office needs a summary of total sales by region, updated automatically.

Google Sheets version

Assume both regional files are Google Sheets. In the summary sheet, place the North spreadsheet ID in cell A1 and the South ID in cell B1. Then enter:

=QUERY({IMPORTRANGE(A1, "Sales!A2:C"); IMPORTRANGE(B1, "Sales!A2:C")}, "select Col2, sum(Col3) where Col2 is not null group by Col2 label sum(Col3) 'Total'", 0)

How it works:

  • The two IMPORTRANGE calls are stacked vertically with a semicolon, so their rows combine into one table.
  • Starting at row 2 skips each file’s header row.
  • QUERY groups by the Region column (Col2) and sums the Amount column (Col3).
  • The final 0 tells QUERY there is no header row in the combined data.

The first run requires Allow access for each source. After that, totals update as the regional sheets change, subject to the usual recalculation delay.

Excel version

Assume both files are Excel workbooks in the same folder. In the summary workbook:

  1. Go to Data > Get Data > From File > From Folder and choose the folder containing the regional files.
  2. Filter the file list to the two regional workbooks, then select Combine > Combine & Transform Data.
  3. In the editor, confirm that the Sales sheet is picked up from each file and that headers align.
  4. Select the Region and Amount columns, then choose Group By on Region with a Sum operation on Amount.
  5. Choose Close & Load. Use Refresh All whenever the regional files change.

A new regional file dropped into the folder will be included on the next refresh, as long as it uses the same column layout. A file with a renamed column will cause an error at the point the column is referenced, so check the step list if totals look wrong.

What to verify after building it

Compare the summary total with the sum of the source columns, done manually in each file. A mismatch usually means a range that stops early, a header row counted as data, or a text value in the Amount column that is not summing. Check these before trusting the report.

Common Mistakes

The following errors account for most broken links. Check for them before deciding a method has failed.

  • Pasting the URL with the wrong sheet name. The sheet name in the range must match the tab exactly, including spaces and capitals. 'Sales 2024'!A1:C needs the quotation marks; Sales 2024!A1:C does not work.
  • Missing the access step. A #REF! error in Google Sheets often means access has not been granted, not that the formula is wrong.
  • Setting the range too short. Data added below the last row is silently excluded. Use a range with headroom.
  • Ignoring the header row. Including row 1 in a combined QUERY or Power Query import duplicates headers as data and skews totals.
  • Numbers stored as text. Values pulled from another file can arrive as text if the source formatted them that way. SUM ignores text, so totals come out low without any error message. Use VALUE, or change the data type in Power Query.
  • Moving or renaming the source file in Excel. This breaks direct external references. Use Edit Links > Change Source rather than rebuilding the formulas.
  • Using INDIRECT on a large workbook. Because INDIRECT recalculates constantly, a workbook with many of them becomes slow. Prefer direct references or Power Query.
  • Assuming the link is live when it is cached. In Excel, a link that has not been updated shows the last saved value. Press Ctrl+Alt+F9 or run Update Values to confirm.

Decision Checklist

Use this sequence to choose and verify a method.

  1. Identify the source platform. Google Sheets points to IMPORTRANGE. Excel points to external references or Power Query.
  2. Count the rows and columns the report needs. A few cells suit a direct reference. Thousands of rows, or several files, suit Power Query.
  3. Decide whether the source must stay closed. If yes, use IMPORTRANGE or Power Query. External references to closed files work but depend on the path.
  4. Confirm who will authorise access or own the refresh, and record that name in the destination.
  5. Set the range or query with headroom for growth, and exclude headers and totals rows.
  6. Check that numbers are numbers, not text, before trusting any total.
  7. Compare the destination total with a manual sum of the source, and repeat the comparison after the first scheduled refresh.
  8. Document the source location, the method and the refresh owner in the workbook itself, so the next person can maintain it without reconstructing the formulas.

Start with the simplest method that meets the requirement. Move to Power Query or a staging sheet only when the simple link becomes slow, fragile or hard to audit.

Lapis Ledger Annual Budget

Get the finished file

Lapis Ledger Annual Budget

Monthly and annual budget tabs for Excel and Google Sheets, with category totals that add themselves up.

See it on Taskdale →

Scroll to Top