How do I count blank cells in Excel?
The COUNTBLANK function counts empty cells in a range. For example, =COUNTBLANK(A1:A100) shows how many cells are unfilled.
Excel has a dedicated function for counting blank cells.
The COUNTBLANK Function
=COUNTBLANK(A1:A100)
Returns the number of empty cells in the specified range.
The Reverse — Non-Empty Cells
The COUNTA function counts filled cells:
=COUNTA(A1:A100)
Alternative Using COUNTIF
=COUNTIF(A1:A100, "")
Also counts blanks, but COUNTBLANK is shorter.
Things to Note
- A cell with a formula returning "" — counts as blank for COUNTBLANK
- A cell with a space — is NOT considered blank
- A cell with zero — is NOT blank
Fill Rate Percentage
=COUNTA(A1:A100)/COUNT(A1:A100)*100
Or simpler:
=1-COUNTBLANK(A1:A100)/100
Need a custom formula?
Describe your task — AI will generate a working formula in seconds
Generate Formula