0
0
Google Sheetsspreadsheet~10 mins

IMPORTRANGE for cross-spreadsheet data in Google Sheets - Cell-by-Cell Formula Trace

Choose your learning style9 modes available
Sample Data

This is the source spreadsheet data with product names and their prices.

CellValue
A1Product
B1Price
A2Apple
B21.20
A3Banana
B30.80
A4Cherry
B42.50
Formula Trace
=IMPORTRANGE("1a2b3c4d5e6f7g8h9i0jklmnopqrstuv", "Sheet1!A2:B4")
Step 1: IMPORTRANGE("1a2b3c4d5e6f7g8h9i0jklmnopqrstuv", "Sheet1!A2:B4")
Step 2: Data fetched: [["Apple", 1.20], ["Banana", 0.80], ["Cherry", 2.50]]
Cell Reference Map
Target Sheet:
+----+-------+-------+
|    |   A   |   B   |
+----+-------+-------+
| 1  |       |       |
+----+-------+-------+
| 2  | Apple |  1.20 |
+----+-------+-------+
| 3  | Banana|  0.80 |
+----+-------+-------+
| 4  | Cherry|  2.50 |
+----+-------+-------+

Source Sheet (in another spreadsheet):
+----+---------+-------+
|    |    A    |   B   |
+----+---------+-------+
| 1  | Product | Price |
+----+---------+-------+
| 2  | Apple   | 1.20  |
+----+---------+-------+
| 3  | Banana  | 0.80  |
+----+---------+-------+
| 4  | Cherry  | 2.50  |
+----+---------+-------+
The formula imports data from the source spreadsheet's Sheet1 range A2:B4 into the target sheet starting at the formula cell.
Result
+----+-------+-------+
|    |   A   |   B   |
+----+-------+-------+
| 1  |       |       |
+----+-------+-------+
| 2  | Apple |  1.20 |
+----+-------+-------+
| 3  | Banana|  0.80 |
+----+-------+-------+
| 4  | Cherry|  2.50 |
+----+-------+-------+
The target sheet shows the imported product names and prices exactly as they appear in the source spreadsheet range.
Sheet Trace Quiz - 3 Questions
Test your understanding
What does the IMPORTRANGE formula do?
AIt filters data within the same sheet.
BIt sums numbers in the current sheet.
CIt imports data from another spreadsheet using its ID and range.
DIt creates a chart from data.
Key Result
IMPORTRANGE("spreadsheet_id", "sheet_name!range") imports data from another spreadsheet's specified range.