COUNTIF function
0 / 7
Step 1 of 7
COUNTIF counts the cells in a range that meet a condition. Pages, a bookshop chain, lists its branches with their province codes.
Type =COUNTIF(B2:B8, "SP") to count the branches in the Southern Province.
Selected cell: D1fx
| Row / column | A | B | C | D |
|---|---|---|---|---|
| 1 | ||||
| 2 | ||||
| 3 | ||||
| 4 | ||||
| 5 | ||||
| 6 | ||||
| 7 | ||||
| 8 | ||||
| 9 |
Tip: tap a cell to add its reference.