0
0
Excelspreadsheet~20 mins

Subtotals in Excel - Practice Problems & Coding Challenges

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
Subtotal Master
Get all challenges correct to earn this badge!
Test your skills under time pressure!
📊 Formula Result
intermediate
2:00remaining
Calculate subtotal ignoring hidden rows
You have a list of sales amounts in cells A2:A10. Some rows are hidden. Which formula correctly calculates the subtotal of visible sales only?
A=SUM(A2:A10)
B=SUBTOTAL(109, A2:A10)
C=SUBTOTAL(9, A2:A10)
D=SUMIF(A2:A10, ">0")
Attempts:
2 left
💡 Hint
Use SUBTOTAL with function number that ignores hidden rows.
Function Choice
intermediate
2:00remaining
Choose the correct SUBTOTAL function number for AVERAGE
You want to calculate the average of visible cells in B2:B20, ignoring manually hidden rows. Which function number should you use with SUBTOTAL?
A101
B1
C2
D102
Attempts:
2 left
💡 Hint
Function numbers 101-111 ignore filtered rows.
🎯 Scenario
advanced
2:00remaining
Subtotal with multiple columns and filters
You have a table with columns: Region (A), Sales (B), and Quantity (C). You apply a filter to show only 'East' region rows. Which formula correctly sums the visible Sales values?
A=SUBTOTAL(109, B2:B100)
B=SUM(B2:B100)
C=SUMIF(A2:A100, "East", B2:B100)
D=SUBTOTAL(9, B2:B100)
Attempts:
2 left
💡 Hint
Filters hide rows but SUBTOTAL with 109 ignores filtered rows.
📊 Formula Result
advanced
2:00remaining
Effect of nested SUBTOTAL functions
Given the formula =SUBTOTAL(9, A2:A10) + SUBTOTAL(9, A11:A20), what happens if you replace the range with =SUBTOTAL(9, A2:A20)?
AThe result is double the sum of A2:A20.
BThe formula returns a #VALUE! error.
CThe result is the same as adding the two subtotals.
DThe result is half the sum of A2:A20.
Attempts:
2 left
💡 Hint
SUBTOTAL sums visible cells in the given range.
data_analysis
expert
2:00remaining
Identify error in subtotal formula with filtered data
You want to calculate the average price in column C for visible rows only after applying filters. You use =SUBTOTAL(1, C2:C50). After filtering, the average seems incorrect. What is the likely cause?
AYou need to use SUM instead of SUBTOTAL.
BThe range C2:C50 includes blank cells causing error.
CSUBTOTAL does not work with filtered data.
DYou used function number 1 which includes manually hidden rows, use 101 instead.
Attempts:
2 left
💡 Hint
Function numbers 1-11 include manually hidden rows, 101-111 exclude filtered rows.