What does the IMPORTRANGE function do in Google Sheets?
IMPORTRANGE lets you pull data from one Google Sheet into another. It connects two spreadsheets so you can use data from one inside the other.
Click to reveal answer
beginner
What are the two main parts you need to provide in the IMPORTRANGE formula?
You need the URL (or spreadsheet key) of the source sheet and the range of cells you want to import, like "Sheet1!A1:C10".
Click to reveal answer
beginner
How do you write an IMPORTRANGE formula to import cells A1 to B5 from a sheet named 'Data' in another spreadsheet?
Use =IMPORTRANGE("spreadsheet_url", "Data!A1:B5") replacing "spreadsheet_url" with the actual URL or key.
Click to reveal answer
beginner
What must you do the first time you use IMPORTRANGE to connect two spreadsheets?
You must allow access by clicking the prompt that appears. This lets your sheet pull data from the other spreadsheet.
Click to reveal answer
beginner
Can IMPORTRANGE update data automatically when the source spreadsheet changes?
Yes, IMPORTRANGE updates automatically, so your data stays fresh without needing to copy and paste again.
Click to reveal answer
What is the correct syntax for IMPORTRANGE?
A=IMPORTRANGE(spreadsheet_url, range_string)
B=IMPORTDATA(spreadsheet_url, range_string)
C=IMPORTXML(spreadsheet_url, range_string)
D=IMPORTHTML(spreadsheet_url, range_string)
✗ Incorrect
IMPORTRANGE requires the spreadsheet URL and the range string as arguments.
What happens if you don't allow access when first using IMPORTRANGE?
AData will still import automatically.
BYou will see a #REF! error until access is granted.
CThe formula will delete itself.
DThe source spreadsheet will be copied.
✗ Incorrect
You must grant permission for IMPORTRANGE to access the other spreadsheet, or it shows a #REF! error.
Which part of IMPORTRANGE specifies the cells to import?
AThe spreadsheet URL
BThe range string like "Sheet1!A1:C10"
CThe sheet name only
DThe cell formula
✗ Incorrect
The range string tells IMPORTRANGE which cells to bring in from the source sheet.
Can IMPORTRANGE import data from a spreadsheet you don't have access to?
AYes, always.
BNo, you must have at least view access.
COnly if the spreadsheet is public.
DOnly if you own the spreadsheet.
✗ Incorrect
You need permission to view the source spreadsheet for IMPORTRANGE to work.
If the source spreadsheet changes, how often does IMPORTRANGE update?
ANever updates automatically.
BUpdates only when you refresh the browser.
CUpdates automatically within minutes.
DUpdates only when you re-enter the formula.
✗ Incorrect
IMPORTRANGE refreshes data automatically, usually within a few minutes.
Explain how to use IMPORTRANGE to bring data from one Google Sheet to another.
Think about the two main inputs and the permission step.
You got /4 concepts.
What are common errors or issues when using IMPORTRANGE and how can you fix them?
Focus on permission and formula syntax.
You got /4 concepts.
Practice
(1/5)
1. What does the IMPORTRANGE function do in Google Sheets?
easy
A. It imports data from one Google Sheet to another using a URL and range.
B. It exports data from Google Sheets to Excel files.
C. It creates charts based on data in the current sheet.
D. It sorts data within the same sheet automatically.
Solution
Step 1: Understand the purpose of IMPORTRANGE
The IMPORTRANGE function is designed to bring data from one Google Sheet into another by specifying the source sheet's URL and the range of cells to import.
Step 2: Compare options with the function's purpose
Only It imports data from one Google Sheet to another using a URL and range. correctly describes this behavior. Options A, C, and D describe unrelated functions.
Final Answer:
It imports data from one Google Sheet to another using a URL and range. -> Option A
Quick Check:
IMPORTRANGE imports data between sheets [OK]
Hint: IMPORTRANGE connects sheets using URL and range [OK]
Common Mistakes:
Thinking IMPORTRANGE exports data instead of importing
Confusing IMPORTRANGE with sorting or chart functions
Assuming it works only within the same sheet
2. Which of the following is the correct syntax for the IMPORTRANGE function?
easy
A. =IMPORTRANGE(range_string)
B. =IMPORTRANGE(range_string, spreadsheet_url)
C. =IMPORTRANGE(spreadsheet_url)
D. =IMPORTRANGE(spreadsheet_url, range_string)
Solution
Step 1: Recall the IMPORTRANGE syntax
The correct syntax requires the spreadsheet URL first, then the range as a string, like =IMPORTRANGE(spreadsheet_url, range_string).
Step 2: Check each option
=IMPORTRANGE(spreadsheet_url, range_string) matches the correct syntax. =IMPORTRANGE(range_string, spreadsheet_url) reverses the parameters, and options A and C miss the required second argument.
Final Answer:
=IMPORTRANGE(spreadsheet_url, range_string) -> Option D
Quick Check:
Syntax is URL first, then range [OK]
Hint: URL comes first, range second in IMPORTRANGE [OK]
Common Mistakes:
Swapping the order of URL and range
Omitting the range argument
Not enclosing range in quotes
3. Given the formula =IMPORTRANGE("https://docs.google.com/spreadsheets/d/abc123", "Sheet1!A1:B2"), what will be imported?
medium
A. The entire Sheet1 from the spreadsheet with ID abc123.
B. Only cell A1 from Sheet1 in the spreadsheet with ID abc123.
C. Cells A1 to B2 from Sheet1 in the spreadsheet with ID abc123.
D. Cells A1 to B2 from the current sheet.
Solution
Step 1: Analyze the range string
The range string "Sheet1!A1:B2" specifies cells from A1 to B2 on Sheet1, which is a 2-row by 2-column block.
Step 2: Understand IMPORTRANGE behavior
IMPORTRANGE imports exactly the specified range from the external spreadsheet URL, so it will bring those four cells.
Final Answer:
Cells A1 to B2 from Sheet1 in the spreadsheet with ID abc123. -> Option C
Quick Check:
Range string defines exact cells imported [OK]
Hint: Range like Sheet1!A1:B2 imports that exact block [OK]
Common Mistakes:
Assuming it imports the whole sheet
Thinking only one cell is imported
Confusing current sheet with external sheet
4. You entered =IMPORTRANGE("https://docs.google.com/spreadsheets/d/abc123", "Sheet1!A1:B2") but see a #REF! error. What is the most likely fix?
medium
A. Change the range to "Sheet1!A1:B10".
B. Click the cell and allow access to the source spreadsheet.
C. Remove the quotes around the URL.
D. Use the IMPORTRANGE function without the URL.
Solution
Step 1: Understand the #REF! error cause
The #REF! error often appears because Google Sheets requires permission to access the source spreadsheet before importing data.
Step 2: Fix by granting access
Clicking the cell with the formula prompts a permission request. Allowing access resolves the error.
Final Answer:
Click the cell and allow access to the source spreadsheet. -> Option B
Quick Check:
Permission needed to import data [OK]
Hint: Allow access prompt fixes #REF! in IMPORTRANGE [OK]
Common Mistakes:
Changing range without checking permissions
Removing quotes causing syntax errors
Omitting URL which breaks the formula
5. You want to import data from two different sheets in another spreadsheet and combine them vertically in your current sheet. Which formula setup is correct?
hard
A. =ARRAYFORMULA({IMPORTRANGE("url", "Sheet1!A1:B5"); IMPORTRANGE("url", "Sheet2!A1:B5")})
B. =IMPORTRANGE("url", "Sheet1!A1:B5") + IMPORTRANGE("url", "Sheet2!A1:B5")
C. =IMPORTRANGE("url", "Sheet1!A1:B5") & IMPORTRANGE("url", "Sheet2!A1:B5")
D. =IMPORTRANGE("url", "Sheet1!A1:B5, Sheet2!A1:B5")
Solution
Step 1: Understand combining ranges vertically
To stack two ranges vertically, use curly braces with a semicolon between ranges inside ARRAYFORMULA.
Step 2: Analyze each option
=ARRAYFORMULA({IMPORTRANGE("url", "Sheet1!A1:B5"); IMPORTRANGE("url", "Sheet2!A1:B5")}) correctly uses {range1; range2} inside ARRAYFORMULA to combine vertically. =IMPORTRANGE("url", "Sheet1!A1:B5") + IMPORTRANGE("url", "Sheet2!A1:B5") tries to add ranges (invalid). =IMPORTRANGE("url", "Sheet1!A1:B5") & IMPORTRANGE("url", "Sheet2!A1:B5") uses & which concatenates text, not ranges. =IMPORTRANGE("url", "Sheet1!A1:B5, Sheet2!A1:B5") tries to specify two ranges in one IMPORTRANGE call, which is invalid.
Final Answer:
=ARRAYFORMULA({IMPORTRANGE("url", "Sheet1!A1:B5"); IMPORTRANGE("url", "Sheet2!A1:B5")}) -> Option A
Quick Check:
Use {range1; range2} to stack ranges vertically [OK]
Hint: Use curly braces with semicolon to stack IMPORTRANGE results [OK]
Common Mistakes:
Trying to add ranges with + operator
Using & to combine ranges instead of text
Passing multiple ranges in one IMPORTRANGE call
Recommended
Ready to prove it?
Pass the test and this pattern moves unknownstrongwhile earning +1 Grip toward your certificate.