Excel
COUNTBLANK function in Excel
Counts the number of blank cells within a range
=COUNTBLANK(range)COUNTBLANK syntax and parameters
One argument, one required.
- rangerangeRequired
The range from which you want to count the blank cells.
COUNTBLANK examples
Formulas you'll actually reuse.
How many rows are still missing a ship date:
=COUNTBLANK(E2:E200)Result
14Flag rows with any empty field:
=IF(COUNTBLANK(A2:F2) > 0, "Incomplete", "OK")Result
"Incomplete"
COUNTBLANK in Google Sheets
Same name — your formula ports as-is.
Try COUNTBLANK in the playground
Edit the example — nothing to install.
Preloaded with the COUNTBLANK formula from Example 1 — change anything and watch it respond.
Loading the editor…
Related functions
More ways Excel gets this done.
- AVERAGEIFReturns the average (arithmetic mean) of all the cells in a range that meet a given criteriaStatisticalGoogle Sheets
- COUNTIFCounts the number of cells within a range that meet the given criteriaStatisticalGoogle Sheets
- COUNTIFSCounts the number of cells within a range that meet multiple criteriaStatisticalGoogle Sheets
- FORECAST.LINEARReturns a future value based on existing valuesStatisticalGoogle Sheets
- GAMMALNReturns the natural logarithm of the gamma function, Γ(x)StatisticalGoogle Sheets
- GAMMALN.PRECISEReturns the natural logarithm of the gamma function, Γ(x)StatisticalGoogle Sheets