The SUBTOTAL function calculates a summary value like sum, average, or count for a range of cells. It can ignore hidden rows, making it useful for filtered lists.
Click to reveal answer
beginner
How do you use SUBTOTAL to sum only visible cells in a filtered list?
Use SUBTOTAL with function number 109: =SUBTOTAL(109, range). This sums only visible cells, ignoring hidden rows from filters.
Click to reveal answer
intermediate
What is the difference between function numbers 9 and 109 in SUBTOTAL?
Function number 9 sums all cells including hidden ones. Function 109 sums only visible cells, ignoring rows hidden by filters.
Click to reveal answer
intermediate
Can SUBTOTAL ignore rows hidden manually (not by filter)?
No, SUBTOTAL ignores only rows hidden by filters when using function numbers 101-111. It includes manually hidden rows in calculations.
Click to reveal answer
advanced
How can SUBTOTAL help when you have multiple subtotal calculations in a list?
SUBTOTAL ignores other SUBTOTAL formulas in its range, preventing double counting when you have nested subtotals.
Click to reveal answer
Which SUBTOTAL function number sums all cells including hidden rows?
A109
B9
C1
D101
✗ Incorrect
Function number 9 sums all cells including hidden rows. Function 109 sums only visible cells.
What does SUBTOTAL(109, A1:A10) do?
ASums only visible cells in A1:A10
BCounts all cells in A1:A10
CAverages all cells in A1:A10
DIgnores all hidden and visible cells
✗ Incorrect
109 tells SUBTOTAL to sum only visible cells, ignoring rows hidden by filters.
Does SUBTOTAL ignore rows hidden manually (not by filter) when using function number 109?
AYes, it ignores all hidden rows
BOnly if the rows are hidden by a macro
COnly if the rows are hidden in a grouped outline
DNo, it includes manually hidden rows
✗ Incorrect
SUBTOTAL ignores only rows hidden by filters, not manually hidden rows.
Why is SUBTOTAL useful when you have multiple subtotal formulas in a list?
AIt ignores other SUBTOTAL formulas to avoid double counting
BIt counts all cells twice
CIt hides all subtotal rows automatically
DIt converts subtotals to averages
✗ Incorrect
SUBTOTAL ignores other SUBTOTAL formulas in its range, preventing double counting.
Which function number would you use with SUBTOTAL to calculate the average ignoring hidden rows?
A1
B109
C101
D9
✗ Incorrect
Function number 101 calculates average ignoring rows hidden by filters.
Explain how the SUBTOTAL function works and why it is useful with filtered data.
Think about how filtering hides rows and how SUBTOTAL can skip those.
You got /4 concepts.
Describe the difference between function numbers 9 and 109 in the SUBTOTAL function.
One counts everything, the other skips filtered-out rows.
You got /3 concepts.
Practice
(1/5)
1. What does the SUBTOTAL function do in Excel?
easy
A. Calculates sums, averages, counts, and other operations on filtered or grouped data
B. Sorts data alphabetically or numerically
C. Removes duplicates from a list
D. Creates charts from selected data
Solution
Step 1: Understand the purpose of SUBTOTAL
The SUBTOTAL function is designed to perform calculations like sum, average, or count on a range of data, especially useful when data is filtered or grouped.
Step 2: Compare with other options
Sorting, removing duplicates, and creating charts are different Excel features unrelated to SUBTOTAL.
Final Answer:
Calculates sums, averages, counts, and other operations on filtered or grouped data -> Option A
Quick Check:
SUBTOTAL = Group calculations [OK]
Hint: SUBTOTAL works on filtered data for accurate group totals [OK]
Common Mistakes:
Confusing SUBTOTAL with sorting or filtering
Thinking SUBTOTAL removes duplicates
Assuming SUBTOTAL creates charts
2. Which of the following is the correct syntax for the SUBTOTAL function to sum values in range A2:A10?
easy
A. =SUBTOTAL(1, A2:A10)
B. =SUBTOTAL(109, A2:A10)
C. =SUBTOTAL(9, A2:A10)
D. =SUBTOTAL(10, A2:A10)
Solution
Step 1: Identify function number for SUM
In SUBTOTAL, function number 9 means SUM including hidden rows, while 109 means SUM ignoring hidden rows.
Step 2: Choose correct syntax for basic sum
Since the question does not specify ignoring hidden rows, 9 is the standard function number for SUM.
Final Answer:
=SUBTOTAL(9, A2:A10) -> Option C
Quick Check:
SUM function number = 9 [OK]
Hint: Use 9 for SUM in SUBTOTAL unless ignoring hidden rows [OK]
Common Mistakes:
Using 1 which is for AVERAGE
Using 10 which is for COUNT
Confusing 9 and 109 without context
3. Given the data in cells A2:A6 as {10, 20, 30, 40, 50} and rows 4 and 5 are manually hidden, what is the result of =SUBTOTAL(9, A2:A6)?
medium
A. 90
B. 60
C. 100
D. 150
Solution
Step 1: Understand SUBTOTAL with function number 9
Function 9 sums visible and hidden rows, so it includes all values including manually hidden rows.
Step 2: Calculate sum of all values
Sum of 10+20+30+40+50 = 150, but since rows 4 and 5 (values 40 and 50) are manually hidden, SUBTOTAL(9, ...) still includes them.
Step 3: Reconsider filtering effect
Actually, SUBTOTAL with 9 includes manually hidden rows, so sum is 150. But question says rows 4 and 5 are manually hidden. SUBTOTAL(9, ...) includes hidden rows, so sum is 150.
Step 4: Check options
150 is the total sum. 60 is sum of visible rows only (10+20+30=60).
Final Answer:
150 -> Option D
Quick Check:
SUBTOTAL(9) sums all rows including hidden [OK]
Hint: Function 9 sums all rows, even hidden ones [OK]
Common Mistakes:
Assuming manually hidden rows are excluded with function 9
Confusing function 9 with 109
Adding only visible rows mistakenly
4. You want to sum only visible rows in range B2:B10, but your formula =SUBTOTAL(9, B2:B10) includes hidden rows. How do you fix it?
medium
A. Add a filter to the data
B. Change function number to 109: =SUBTOTAL(109, B2:B10)
C. Use =SUM(B2:B10) instead
D. Use =SUBTOTAL(1, B2:B10)
Solution
Step 1: Understand difference between function numbers 9 and 109
Function 9 sums all rows including hidden, while 109 sums only visible rows, ignoring manually hidden rows.
Step 2: Fix formula to sum visible rows only
Change function number from 9 to 109 to exclude hidden rows in the sum.
Final Answer:
Change function number to 109: =SUBTOTAL(109, B2:B10) -> Option B
Quick Check:
Use 109 to sum visible rows only [OK]
Hint: Use 109 to exclude hidden rows in SUBTOTAL sum [OK]
Common Mistakes:
Using SUM which ignores filtering
Using function number 1 which is AVERAGE
Thinking adding a filter fixes formula automatically
5. You have sales data in column C with some rows filtered out and some manually hidden. You want to calculate the average sales of only visible rows and also count how many visible sales entries there are. Which formulas should you use?
hard
A. =SUBTOTAL(101, C2:C100) for average and =SUBTOTAL(103, C2:C100) for count
B. =SUBTOTAL(1, C2:C100) for average and =SUBTOTAL(2, C2:C100) for count
C. =AVERAGE(C2:C100) and =COUNT(C2:C100)
D. =SUBTOTAL(109, C2:C100) for average and =SUBTOTAL(110, C2:C100) for count
Solution
Step 1: Identify function numbers for average and count excluding hidden rows
Function numbers 101 and 103 calculate average and count respectively, ignoring hidden rows.
Step 2: Confirm formulas for visible rows only
Using =SUBTOTAL(101, C2:C100) gives average of visible rows; =SUBTOTAL(103, C2:C100) counts visible numeric entries.
Final Answer:
=SUBTOTAL(101, C2:C100) for average and =SUBTOTAL(103, C2:C100) for count -> Option A
Quick Check:
101 = average visible, 103 = count visible [OK]
Hint: Use 101 for average and 103 for count on visible rows [OK]
Common Mistakes:
Using 1 and 2 which include hidden rows
Using AVERAGE and COUNT ignoring filters
Confusing function numbers 109 and 110 which are for SUM and COUNT ignoring hidden rows
Recommended
Ready to prove it?
Pass the test and this pattern moves unknownstrongwhile earning +1 Grip toward your certificate.