O'Reilly logo

Microsoft® Excel® 2010 Formulas & Functions Inside Out by Helmut Reinke Egbert Jeschke Sara Unverhau, Eckehard Pfeifer, Bodo Fienitz, and Jens Bock

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

COUNTBLANK()

Syntax. COUNTBLANK(range)

Definition. This function counts the empty cells in a cell range.

Arguments

  • range (required). The range for which you want to count the blank cells

Background. Like the COUNT() and COUNTA() functions, this function is especially useful when you work with large sets of data.

Note

Cells with formulas that return empty strings (“”) are also counted. Cells with zero values are not counted.

Example. If you use the COUNTBLANK() function in the example used for the COUNT() function, COUNTBLANK() returns 3 for the cell range C3:C25. The table in Figure 12-3 in the discussion of the COUNT() function contains three cells without numbers or text.

See Also

COUNTIF()

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required