Count Blank Cells in a Range
You need to know how many entries are missing from a column — how many employees have no email on file, how many tasks have no due date — without scrolling through and counting gaps by hand.
Excel & Google Sheets
This formula works in both Excel and Google Sheets.
How it works
COUNTBLANK counts every cell in A2:A20 that is empty, including cells whose formula returns "" — anything that displays as blank. It's the complement of COUNTA, which counts non-empty cells, so COUNTBLANK plus COUNTA always equals the size of the range. That pairing gives you an instant completeness check: =COUNTA(A2:A20)/ROWS(A2:A20) is the percentage filled in. Cells containing a space or a zero are not counted as blank, because they hold a real value even if a space is invisible.
When to use it
Use this at the top of any tracker as a live missing-data counter: unfilled emails before a mail merge, tasks without owners, invoices without dates. When the count hits zero, the dataset is ready.
Common mistakes
Did this formula help?
Engine-verified against the sample data aboveLast reviewed 2026-07-08