0
0
Google Sheetsspreadsheet~20 mins

Sheets API basics in Google Sheets - Practice Problems & Coding Challenges

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
Sheets API Master
Get all challenges correct to earn this badge!
Test your skills under time pressure!
📊 Formula Result
intermediate
1:30remaining
What is the output of this formula?
Given the following data in cells A1:A5: 2, 4, 6, 8, 10, what is the output of the formula =SUM(A1:A5)/COUNT(A1:A5)?
Google Sheets
=SUM(A1:A5)/COUNT(A1:A5)
A30
B6
C5
D10
Attempts:
2 left
💡 Hint
Think about what SUM and COUNT functions do and how dividing them gives the average.
Function Choice
intermediate
1:30remaining
Which function counts only non-empty cells?
You want to count how many cells in range B1:B10 contain any data (numbers or text). Which function should you use?
ACOUNTA(B1:B10)
BCOUNTBLANK(B1:B10)
CSUM(B1:B10)
DCOUNT(B1:B10)
Attempts:
2 left
💡 Hint
COUNT counts only numbers, but you want to count all non-empty cells.
🎯 Scenario
advanced
2:00remaining
How to sum values only if another column meets a condition?
You have sales amounts in column C and regions in column B. You want to sum sales only for region "East". Which formula will do this correctly?
A=SUMIFS(C:C, B:B, "East")
B=SUM(C:C, IF(B:B="East"))
C=SUMIF(B:B, "East", C:C)
D=SUMIF(C:C, "East", B:B)
Attempts:
2 left
💡 Hint
SUMIF sums values in one range based on criteria in another range.
📊 Formula Result
advanced
1:30remaining
What is the output of this array formula?
Given cells A1:A3 contain 1, 2, 3 respectively, what is the output of =ARRAYFORMULA(A1:A3*2)?
Google Sheets
=ARRAYFORMULA(A1:A3*2)
A2, 4, 6
BError
C1, 2, 3, 2, 4, 6
D6
Attempts:
2 left
💡 Hint
ARRAYFORMULA applies the operation to each element in the range.
data_analysis
expert
2:00remaining
How many unique values are in this range?
Cells D1:D7 contain the values: 5, 3, 5, 7, 3, 9, 7. What is the result of =COUNTA(UNIQUE(D1:D7))?
Google Sheets
=COUNTA(UNIQUE(D1:D7))
A5
B7
C3
D4
Attempts:
2 left
💡 Hint
UNIQUE returns only distinct values, then COUNTA counts them.