MS Excel: COUNTBLANK Function (WS)
Learn how to use the Excel COUNTBLANK function with syntax and examples.
The Microsoft Excel COUNTBLANK function counts the number of empty cells in a range.
The syntax for the Microsoft Excel COUNTBLANK function is:
COUNTBLANK( range )
Parameters or Arguments
range is the range of cells to count empty cells.
The COUNTBLANK function can be used in the following versions of Microsoft Excel:
- Excel 2013, Excel 2011 for Mac, Excel 2010, Excel 2007, Excel 2003, Excel XP, Excel 2000
Type of Excel Function
The COUNTBLANK function can be used in Microsoft Excel as the following type of function:
- Worksheet function (WS)
Example (as Worksheet Function)
Let's look at some Excel COUNTBLANK function examples and explore how to use the COUNTBLANK function as a worksheet function in Microsoft Excel:
Based on the spreadsheet above, the following Excel COUNTBLANK examples would return:
|=COUNTBLANK(A1:A4)||would return 1|
|=COUNTBLANK(A1:A6)||would return 3|
|=COUNTBLANK(A1:B4)||would return 3|