AVERAGEIF in Apple Numbers
Short answer: AVERAGEIF averages only the cells that meet a condition, taken from another range. Syntax:
AVERAGEIF(test-range, condition, average-range)Explanation
AVERAGEIF averages only the cells that meet a condition, taken from another range.
Syntax
AVERAGEIF(test-range, condition, average-range)Example
Calculate the average quantity of products with a price higher than 5.
| A | B | C | |
|---|---|---|---|
| 1 | Product | Price | Qty |
| 2 | Apple | 4 | 10 |
| 3 | Pear | 6 | 5 |
| 4 | Kiwi | 12 | 2 |
| 5 | Grape | 8 | 3 |
Formula: =AVERAGEIF(B2:B5,">5",C2:C5)
Result: 3.3333
Frequently asked questions
What does AVERAGEIF do in Apple Numbers?
AVERAGEIF averages only the cells that meet a condition, taken from another range.
What is the syntax of AVERAGEIF?
The syntax is AVERAGEIF(test-range, condition, average-range).
More in this category
Read more
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