0
0
Excelspreadsheet~20 mins

Getting data from sources in Excel - Practice Problems & Coding Challenges

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
Data Import 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 formula importing data from a web source?
Given the formula =WEBSERVICE("https://api.example.com/data") in cell A1, what will be the output if the URL returns the text "Success"?
Excel
=WEBSERVICE("https://api.example.com/data")
A0
BError: #VALUE!
CTRUE
DSuccess
Attempts:
2 left
💡 Hint
The WEBSERVICE function returns the exact text response from the URL.
Function Choice
intermediate
2:00remaining
Which function imports data from another Excel workbook?
You want to get data from a different Excel file named Data.xlsx. Which function will correctly import the value from cell B2 in that file?
A=GETDATA('Data.xlsx', 'Sheet1!B2')
B='[Data.xlsx]Sheet1'!B2
C=IMPORTDATA('Data.xlsx'!B2)
D=VLOOKUP(B2, '[Data.xlsx]Sheet1'!A1:C10, 2, FALSE)
Attempts:
2 left
💡 Hint
Referencing external workbooks uses a specific syntax with square brackets and sheet names.
🎯 Scenario
advanced
3:00remaining
You want to import a CSV file into Excel and refresh it automatically. What is the best approach?
You have a CSV file that updates daily. You want Excel to import this file and refresh the data automatically when you open the workbook. Which method should you use?
AUse the Data tab > Get Data > From Text/CSV and set the query to refresh on open.
BOpen the CSV file manually and copy-paste the data into Excel each day.
CUse the formula =IMPORTDATA("file.csv") in a cell.
DUse VBA code to open the CSV file and copy data each time.
Attempts:
2 left
💡 Hint
Excel's Get & Transform tools can automate importing and refreshing external data.
data_analysis
advanced
2:30remaining
Analyzing data imported from a web API in Excel
You imported JSON data from a web API using Power Query. The data contains a list of products with prices. How can you calculate the average price of all products inside Excel after loading the data?
AUse the AVERAGE function on the column with prices in the loaded table.
BUse the WEBSERVICE function again to calculate average.
CUse the SUM function on the price column and divide by the number of rows manually.
DUse the VLOOKUP function to find the average price.
Attempts:
2 left
💡 Hint
Once data is loaded into Excel as a table, normal Excel functions work on it.
🧠 Conceptual
expert
2:00remaining
What error occurs when trying to import data from a non-existent external source?
You use the formula =WEBSERVICE("https://invalid-url.example.com/data") to import data. What error will Excel show in the cell?
Excel
=WEBSERVICE("https://invalid-url.example.com/data")
A#REF!
B#NAME?
C#VALUE!
D#DIV/0!
Attempts:
2 left
💡 Hint
WEBSERVICE returns #VALUE! when it cannot get data from the URL.