This Excel tutorial explains how to use the Excel COUNTBLANK function with syntax and examples.
Based on the spreadsheet above, the following Excel COUNTBLANK examples would return:
Description
The Microsoft Excel COUNTBLANK function counts the number of empty cells in a range.Syntax
The syntax for the Microsoft Excel COUNTBLANK function is:COUNTBLANK( range )
Parameters or Arguments
range is the range of cells to count empty cells.Applies To
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) Result: 1 =COUNTBLANK(A1:A6) Result: 3 =COUNTBLANK(A1:B4) Result: 3