FormulaCraft

How to use IMPORTRANGE from another spreadsheet in Excel and Google Sheets

Topic:IMPORTRANGE (cross-sheet)

Heads up: Excel and Google Sheets do this differently.

Excel
='[SourceWorkbook.xlsx]Sheet1'!A2:B6
Google Sheets
=IMPORTRANGE("https://docs.google.com/spreadsheets/d/SPREADSHEET_ID","Sheet1!A2:B6")

Try it with your data

Edit the grid or formula, then run it through a real spreadsheet engine — no signup.

Sample data — click any cell to edit

Runs server-side · free · no signup

Step by step

  1. 1In Google Sheets, open the source spreadsheet and copy its URL from the browser address bar.
  2. 2In your destination spreadsheet, type =IMPORTRANGE("PASTE_URL_HERE","Sheet1!A1:D100") — replacing the URL and range with your own.
  3. 3Click 'Allow access' when prompted on the first use so Sheets can connect the two files.
  4. 4In Excel, use the path syntax ='[WorkbookName.xlsx]SheetName'!A1 or use Data → Get Data → From Workbook (Power Query) for a live refreshable connection.

Tips

Need it for your exact data?

Describe your columns in plain English and get the precise formula for your sheet, with the right Excel or Sheets syntax.

Frequently asked

Why does IMPORTRANGE show #REF! after I paste the formula?

You need to click 'Allow access' once per unique source spreadsheet to grant permission. The error disappears after authorization.

Does Excel have an IMPORTRANGE function?

No. In Excel, reference another open workbook with ='[File.xlsx]Sheet'!A1, or use Power Query (Data → Get Data) for a refreshable external link.

More on IMPORTRANGE (cross-sheet)

See all →

Formulas used

Written and reviewed by FormulaCraft Team. Each formula on this page is run through our verification engine before publishing.

Last reviewed: