Three counting functions, three jobs: COUNT tallies numbers, COUNTA tallies non-blank cells, and COUNTBLANK tallies empties. Knowing which is which avoids classic miscounts.
The example
A mixed column tallied three ways.
| A | B | |
|---|---|---|
| 1 | Function | Result |
| 2 | COUNT (numbers) | 3 |
| 3 | COUNTA (non-blank) | 5 |
| 4 | COUNTBLANK | 1 |
The formula
Three functions for three questions:
How it works
Each counts a different thing:
COUNTcounts cells holding numbers (and dates) — text and blanks are ignored.COUNTAcounts every non-empty cell, regardless of type.COUNTBLANKcounts the empty cells.- COUNTA − COUNT = the count of text cells (and errors), a quick way to find non-numeric entries.
Find numbers stored as text: if COUNT is lower than you expect, some “numbers” are actually text. COUNTA − COUNT − COUNTBLANK isolates them — then convert with VALUE.
Try it: interactive demo
One value per line (blank lines allowed).
Variations
Text cells
Non-numeric entries:
Numbers stored as text
Isolate them:
Count with a condition
Numbers over 0:
Pitfalls & errors
COUNT skips text. A column of “numbers” that’s really text counts as 0 with COUNT — a telltale sign of a type problem.
Empty string vs blank. A cell with ="" isn’t blank to COUNTBLANK in all versions — behavior can vary.
Errors count as non-blank. COUNTA includes error cells; COUNT does not.
Practice workbook
Frequently asked questions
What's the difference between COUNT and COUNTA in Excel?
How do I count text cells?
How do I find numbers stored as text?
Stop fighting formulas. Learn them in a day.
This recipe is one of hundreds of real-world formulas we teach. Our Excel Formulas & Functions class covers lookups, logic, text, and dynamic arrays hands-on — live in Dallas–Fort Worth, Houston, Austin, Oklahoma City, Denver, or online.
See the Formulas & Functions Class