← Back to all guides
Technology · 2 min READ

How to Pull Data From Another Google Sheets File With IMPORTRANGE

How to Pull Data From Another Google Sheets File With IMPORTRANGE guide illustration

Connect two spreadsheet files, approve the source connection, and diagnose common permission and range errors.

Quick note

Follow these steps at your own pace. Check product terms and prices directly with providers before purchasing.

Quick answer

Enter IMPORTRANGE in the receiving spreadsheet with the source file’s URL and a quoted tab-and-cell range. An authorized user must approve the connection the first time. Use a destination whose editors may access the source data.

Connect a source file to a report

  1. Open both spreadsheets in an account that can read the source and edit the destination. On the source, note the exact tab name and range. For this example the tab is Weekly Sales and the block is A1:C20.
  2. On a blank destination tab paste the source spreadsheet URL into F1. Leave columns A:C clear. Enter =IMPORTRANGE(F1,"'Weekly Sales'!A1:C20") in A1. The single quotes around the tab name handle its space.
  3. When the connection prompt appears, select Allow access. If the account cannot open the source, request the appropriate access from its owner first.
  4. Compare the source headers, one known value, and the final included row. If you later add a record in row 21, extend the range. Update records in the source and allow time for changes to reach the destination.

Check who can edit the receiving file

After authorization, destination editors can use IMPORTRANGE to pull other parts of the same source spreadsheet. A narrow range limits the current display. It does not restrict what those editors can request. If recipients should only see approved totals, use a separate source file containing just those totals before authorizing a connection.

Resolve the common reference errors

Read the error detail. A connection prompt, a misspelled tab, and a blocked output area need different fixes. Leave enough space for every imported row. For a slow dashboard, summarize transactions in the source with a category pivot table and import the smaller summary. If you need one price from an imported catalog, look it up by SKU.

Google’s IMPORTRANGE permissions and performance notes

SHARE THIS GUIDE

Know someone who could use this?

DISCUSSION

Comments

Comments are reviewed before they become public.

No approved comments yet. Be the first to start the discussion.