How to Use the COUNTBLANK function to count empty cells
Occasionally it is may be useful to determine how many cells in a range are empty. You can use the COUNTBLANK function to count all empty cells in a range of cells. Here is the syntax that is used:
COUNTBLANK(range)
range: The range in which to count blank cells.
To count all empty cells in a specified range:
- In cells A1:A10 type data (numeric and text). Be sure to
leave a few cells empty. - Select cell C1 and type the following formula: =COUNTBLANK(A1:A10).
- Press Enter.
This tip is compatible with Excel 97, 2000, 2003 and 2007.
- Use the COUNT function to count cells containing numeric data
- Conditional Average formula that ignores empty cells in Excel
- How to Use the COUNTA function to count cells containing data
- How to Use the COUNTA function to count cells containing text
- How to count sets of cells located in two columns in Excel
