0
0
Google Sheetsspreadsheet~20 mins

IMPORTRANGE for other spreadsheets in Google Sheets - Practice Problems & Coding Challenges

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
IMPORTRANGE Master
Get all challenges correct to earn this badge!
Test your skills under time pressure!
📊 Formula Result
intermediate
2:00remaining
What is the output of this IMPORTRANGE formula?
You have a spreadsheet with ID 1a2b3c4d5e6f7g8h9i0j. The sheet named Data has values A1=10, A2=20. What will be the result in your current sheet if you enter this formula in cell A1?

=IMPORTRANGE("1a2b3c4d5e6f7g8h9i0j", "Data!A1:A2")
AA1=10, A2=20 (values imported correctly)
B#REF! error because of missing permission
C#VALUE! error due to wrong range format
DEmpty cells because source sheet is empty
Attempts:
2 left
💡 Hint
IMPORTRANGE imports data from another spreadsheet if you have access and use correct syntax.
Function Choice
intermediate
2:00remaining
Which formula correctly imports cells B1 to B5 from another spreadsheet?
You want to import cells B1 to B5 from the sheet named Sheet1 in another spreadsheet with ID abcd1234efgh5678. Which formula below is correct?
A=IMPORTRANGE("abcd1234efgh5678", "Sheet1!B1-B5")
B=IMPORTRANGE("abcd1234efgh5678", "Sheet1!B1:B5")
C=IMPORTRANGE("abcd1234efgh5678", "Sheet1:B1:B5")
D=IMPORTRANGE("abcd1234efgh5678", "Sheet1!B1;B5")
Attempts:
2 left
💡 Hint
The range must use a colon (:) between start and end cells.
🎯 Scenario
advanced
2:00remaining
You want to import data but get a #REF! error. What is the cause?
You entered the formula =IMPORTRANGE("xyz987654321", "Sales!A1:C10") but see a #REF! error. What is the most likely reason?
AThe range syntax is incorrect
BThe spreadsheet ID is too long
CYou have not granted permission to access the other spreadsheet yet
DIMPORTRANGE does not support ranges with more than 5 columns
Attempts:
2 left
💡 Hint
IMPORTRANGE requires permission to access data from another spreadsheet.
📊 Formula Result
advanced
2:00remaining
What is the output of this IMPORTRANGE combined with QUERY?
You have a spreadsheet with ID 123abc456def and sheet Inventory with columns A (Item), B (Quantity). You enter this formula:

=QUERY(IMPORTRANGE("123abc456def", "Inventory!A1:B10"), "select Col1 where Col2 > 5", 1)

What will this formula return?
AEmpty result because QUERY cannot use IMPORTRANGE
BAll items regardless of quantity
C#REF! error due to missing permission
DList of items where quantity is greater than 5
Attempts:
2 left
💡 Hint
QUERY can filter imported data if permission is granted.
data_analysis
expert
2:00remaining
How many rows will be imported by this formula?
You use this formula:

=IMPORTRANGE("zxy987654321", "Sheet2!A2:A")

The source sheet Sheet2 has 100 rows filled in column A starting from A1. How many rows will be imported?
A99 rows (from A2 to A100)
B100 rows (including A1)
CAll rows including empty ones below row 100
DOnly 1 row (A2)
Attempts:
2 left
💡 Hint
The range starts at A2 and goes down to the last filled row.