Use the COUNTBLANK function, one of the Statistical functions, to count the number of empty cells in a range of cells.
COUNTBLANK(range)
The COUNTBLANK function syntax has the following arguments:
Cells with formulas that return "" (empty text) are also counted. Cells with zero values are not counted.
Copy the example data in the following table, and paste it in cell A1 of a new Excel worksheet.
Description
Counts empty cells in the range above.
Note: Copying from some browsers may add an apostrophe to the beginning of the formula when it's pasted in Excel. If the formula does not show a result, select that cell, press F2, delete the apostrophe, and then press Enter.
You can always ask an expert in the Excel Tech Community or get support in Communities.