To count the empty cells in a range — missing entries in a form, gaps in a dataset — use COUNTBLANK. It counts truly empty cells and formulas that return an empty string, which is often exactly what you want.
"" as blank too.
The example
A response column with two missing entries.
| A | B | |
|---|---|---|
| 1 | Name | Reply |
| 2 | Ana | Yes |
| 3 | Ben | |
| 4 | Cy | No |
| 5 | Dot | |
| 6 | Missing replies: | 2 |
The formula
The number of missing replies:
How it works
COUNTBLANK is purpose-built for empties:
- It scans the range and counts every cell with no value — the two empty reply cells.
- A formula that returns
""(empty string) is also counted as blank, which COUNTA would not do. - To count blanks across multiple columns or with conditions, switch to COUNTIFS (see variations).
Percentage complete is one subtraction away: =1 - COUNTBLANK(B2:B5)/ROWS(B2:B5) tells you how much of the column is filled in.
Try it: interactive demo
Edit the list (leave gaps with empty commas); see the blank count.
Variations
Count blanks with COUNTIF
Equivalent using the empty-string criterion:
Count non-blank instead
COUNTA counts the filled cells:
Blanks meeting a condition
Empty replies for the West region only:
Pitfalls & errors
“Blank” vs a space. A cell with a single space looks empty but isn’t — COUNTBLANK won’t count it. Clean stray spaces with TRIM first.
COUNTBLANK counts "" from formulas; COUNTA does not. If your numbers disagree, that’s usually why.
COUNTBLANK takes one range. For multiple separate ranges, add several COUNTBLANKs together.
Practice workbook
Frequently asked questions
How do I count empty cells in Excel?
How do I count blank cells with a condition?
Why doesn't COUNTBLANK count a cell that looks empty?
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