0
0
Google Sheetsspreadsheet~20 mins

SUM function in Google Sheets - Practice Problems & Coding Challenges

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
SUM Function Master
Get all challenges correct to earn this badge!
Test your skills under time pressure!
📊 Formula Result
intermediate
2:00remaining
SUM function with mixed data types
What is the result of the formula =SUM(A1:A5) if the cells contain the following values?

A1: 10
A2: "5" (text)
A3: 15
A4: TRUE
A5: 20
A46
BError
C50
D60
Attempts:
2 left
💡 Hint
Remember that SUM ignores text and treats TRUE as 1.
📊 Formula Result
intermediate
2:00remaining
SUM function with non-contiguous ranges
What is the result of the formula =SUM(A1:A3, C1:C2) if the cells contain:

A1: 5
A2: 10
A3: 15
C1: 20
C2: 25
A65
B70
C75
DError
Attempts:
2 left
💡 Hint
Add all values from both ranges.
Function Choice
advanced
2:00remaining
Choosing the right function for conditional sum
You want to sum values in column B only if the corresponding cell in column A is "Yes". Which formula should you use?
A=SUMIF(A1:A10, "Yes", B1:B10)
B=SUM(B1:B10, A1:A10="Yes")
C=SUM(B1:B10 * (A1:A10="Yes"))
D=SUMIFS(B1:B10, A1:A10, "Yes")
Attempts:
2 left
💡 Hint
Look for a function that sums with a condition.
📊 Formula Result
advanced
2:00remaining
SUM function with error values in range
What happens when you use =SUM(A1:A4) if:

A1: 10
A2: #DIV/0!
A3: 20
A4: 30
A60
B#DIV/0! error
C40
D30
Attempts:
2 left
💡 Hint
SUM stops if any cell in range has an error.
🎯 Scenario
expert
3:00remaining
Summing values with dynamic range using INDIRECT
You want to sum values in column B from row 1 to a row number specified in cell D1. Which formula correctly does this?
A=SUM(INDIRECT("B1:B" & D1))
B=SUM(B1:B&D1)
C=SUM(B1:INDIRECT(D1))
D=SUM(INDIRECT(B1:B & D1))
Attempts:
2 left
💡 Hint
Use INDIRECT to build a range from text.