SUBTOTAL in Apple Numbers
Short answer: SUBTOTAL calculates with a function number: 1 is AVERAGE, 2 COUNT, 4 MAX, 5 MIN, 9 SUM. Syntax:
SUBTOTAL(function-num, range, range…)Explanation
SUBTOTAL calculates with a function number: 1 is AVERAGE, 2 COUNT, 4 MAX, 5 MIN, 9 SUM. With 101 to 111 it skips hidden rows.
Syntax
SUBTOTAL(function-num, range, range…)Example
Add the prices (B2:B5) with SUBTOTAL. Function number 9 is SUM.
| A | B | C | |
|---|---|---|---|
| 1 | Product | Price | Qty |
| 2 | Apple | 4 | 10 |
| 3 | Pear | 6 | 5 |
| 4 | Kiwi | 12 | 2 |
| 5 | Grape | 8 | 3 |
Formula: =SUBTOTAL(9,B2:B5)
Result: 30
Frequently asked questions
What does SUBTOTAL do in Apple Numbers?
SUBTOTAL calculates with a function number: 1 is AVERAGE, 2 COUNT, 4 MAX, 5 MIN, 9 SUM. With 101 to 111 it skips hidden rows.
What is the syntax of SUBTOTAL?
The syntax is SUBTOTAL(function-num, range, range…).
More in this category
Practise it yourself
Type the formula yourself in a real exercise and see right away if your answer is correct. The first exercises are free.
Start practising