0
0
Google Sheetsspreadsheet~10 mins

IMPORTRANGE for cross-spreadsheet data in Google Sheets - Interactive Code Practice

Choose your learning style9 modes available
Practice - 5 Tasks
Answer the questions below
1fill in blank
easy

Complete the formula to import data from another spreadsheet using IMPORTRANGE.

Google Sheets
=IMPORTRANGE([1], "Sheet1!A1:B10")
Drag options to blanks, or click blank then click option'
ASheet1!A1:B10
Babc123xyz
C"A1:B10"
D"https://docs.google.com/spreadsheets/d/abc123xyz"
Attempts:
3 left
💡 Hint
Common Mistakes
Forgetting quotes around the URL
Using the range as the first argument
2fill in blank
medium

Complete the formula to import range from a spreadsheet key instead of full URL.

Google Sheets
=IMPORTRANGE([1], "Data!C1:D20")
Drag options to blanks, or click blank then click option'
AData!C1:D20
B"Data!C1:D20"
C"1a2b3c4d5e6f7g8h9i0j"
D1a2b3c4d5e6f7g8h9i0j
Attempts:
3 left
💡 Hint
Common Mistakes
Using the key without quotes
Putting the range as the first argument
3fill in blank
hard

Fix the error in the formula to correctly import data from another spreadsheet.

Google Sheets
=IMPORTRANGE([1], "Sheet1!A1:B5")
Drag options to blanks, or click blank then click option'
A"https://docs.google.com/spreadsheets/d/xyz987abc"
Bhttps://docs.google.com/spreadsheets/d/xyz987abc
C"Sheet1!A1:B5"
DSheet1!A1:B5
Attempts:
3 left
💡 Hint
Common Mistakes
Missing quotes around URL
Missing quotes around range
4fill in blank
hard

Fill both blanks to import data from a spreadsheet key and specify the correct range.

Google Sheets
=IMPORTRANGE([1], [2])
Drag options to blanks, or click blank then click option'
A"1q2w3e4r5t6y7u8i9o0p"
BSheet2!A1:C10
C"Sheet2!A1:C10"
D1q2w3e4r5t6y7u8i9o0p
Attempts:
3 left
💡 Hint
Common Mistakes
Not quoting the range
Using the key without quotes
5fill in blank
hard

Fill all three blanks to create a formula that imports data and uses ARRAYFORMULA to double the values in column A.

Google Sheets
=ARRAYFORMULA(IMPORTRANGE([1], [2]) * [3])
Drag options to blanks, or click blank then click option'
A"2z3x4c5v6b7n8m9l0k"
B"Sheet1!A1:A10"
C2
D"Sheet1!B1:B10"
Attempts:
3 left
💡 Hint
Common Mistakes
Not quoting the key or range
Using a string instead of number for multiplication