How to Pull Data From Another Google Sheets File With IMPORTRANGE

Connect two spreadsheet files, approve the source connection, and diagnose common permission and range errors.
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
- 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.
- 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. - When the connection prompt appears, select Allow access. If the account cannot open the source, request the appropriate access from its owner first.
- 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.
Comments
Comments are reviewed before they become public.
Sign in with Google to leave a comment.
Sign in with GoogleNo approved comments yet. Be the first to start the discussion.