Counting · About 4 minutes
COUNT and COUNTA
Counting is different from adding. =SUM( adds the amounts. =COUNT( tells you how many cells hold a number.
COUNT skips text and empty cells. So a fee marked "Pending" is not counted.
COUNTA counts every cell that isn't empty: numbers and text. The A stands for "all". =COUNTA( reads as "count the cells from B2 to B7 that have anything in them".
Exercise 1 of 3 · Worked example
In B9, count how many students have paid an amount. Type =COUNT( B2:B7) and press Enter.
| A | B | |
|---|---|---|
| 1 | Student | Fee paid ($) |
| 2 | Aarav | 45 |
| 3 | Diya | Pending |
| 4 | Kabir | 45 |
| 5 | Meera | |
| 6 | Rohan | 30 |
| 7 | Sana | Pending |
| 8 | ||
| 9 | Paid | (answer cell) |
Questions people ask
What is the difference between COUNT and COUNTA?
COUNT counts cells that hold numbers, dates included. COUNTA counts every cell that isn't empty: numbers, text, TRUE or FALSE, and errors.
Does COUNTA count blank cells?
No, empty cells are skipped. A cell that only looks empty, such as one with a space or a formula showing "", is counted.
Does COUNT count dates?
Yes. Dates are stored as numbers, so COUNT includes them.
Why does COUNT return 0?
The cells hold text, not numbers. Words like "Pending" and numbers pasted as text are skipped. COUNTA counts them.