COUNTA
Counts cells that aren’t empty.
How it’s written
COUNTA(range)Example
| A | B | C | |
|---|---|---|---|
| 1 | Region | Rep | Sales |
| 2 | North | Amara | 400 |
| 3 | South | Ben | 250 |
| 4 | North | Chloe | 150 |
| 5 | West | Dev | 700 |
=COUNTA(B2:B5)Result: 4
Counts the four rep names.
Try it yourself
Open a live sheet with this example, and type the formula yourself. It takes a moment to load.
Worth knowing
A formula that returns "" isn’t empty, so COUNTA counts it.
Practice it properly
Counting what’s there gives you real tasks, with your formulas tested on data you haven’t seen.