COUNTIFS in Apple Numbers
Short answer: COUNTIFS counts the rows where several conditions are true at once. Syntax:
COUNTIFS(test-range, condition, test-range, condition, …)Explanation
COUNTIFS counts the rows where several conditions are true at once. You give a range and a condition each time.
Syntax
COUNTIFS(test-range, condition, test-range, condition, …)Example
Count the products with a price higher than 5 and a quantity lower 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: =COUNTIFS(B2:B5,">5",C2:C5,"<5")
Result: 2
Frequently asked questions
What does COUNTIFS do in Apple Numbers?
COUNTIFS counts the rows where several conditions are true at once. You give a range and a condition each time.
What is the syntax of COUNTIFS?
The syntax is COUNTIFS(test-range, condition, test-range, condition, …).
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