Excel’s COUNTBLANK function counts the number of cells in a given range that are blank. The cells must be completely blank — don’t let yourself be caught out by a cell that has a space in it — a space is a character as well! Download the data file and follow along:

  1. Syntax
  2. Example
  3. See also

1. Syntax

=COUNTBLANK(range)

The COUNTBLANK function takes one argument: the range specifies the cells being evaluated.

Returns an integer representing the number of blank cells in the range.

2. Example

  1. The COUNTBLANK function in cell D19
  2. The range being evaluated

Be sure to test what happens if there is a space in a cell: select cell D14, hit Space on the keyboard and watch what happens to the result in cell D19.

3. See also

By MisterFoxOnline

Mister Fox AKA @MisterFoxOnline is an ICT, IT and CAT Teacher who has just finished training as a Young Engineers instructor. He has a passion for technology and loves to find solutions to problems using the skills he has learned in the course of his IT career.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.