Go Back

Count Cells that are Blank

Excel allows us to count cells that are blank in a range using the COUNTBLANK function. This step by step tutorial will assist all levels of Excel users in counting blank cells in a range.

Figure 1. The final result of the COUNTBLANK function

Syntax of the COUNTBLANK Formula

=COUNTBLANK(range)

The parameter of the COUNTBLANK function is:

  • range – a range of cells where we want to count blank cells.

Note that the function doesn’t take in a count blank cells as a result of other functions.

Setting up Our Data for the Examples

In column B (range B3:B8), we have the list of names with blanks. In the cell D3, we want to get the number of blank cells in the range B3:B8.

Figure 2. Data that we will use in the COUNTBLANK example

Count Blank Cells in a Range Using the COUNTBLANK function

In the cell D3, we want to get a number of blank cells in the range B3:B8.

The formula looks like:

=COUNTBLANK(B3:B8)

The range parameter is B3:B8.

To apply the COUNTBLANK function, we need to follow these steps:

  • Select cell D3 and click on it
  • Insert the formula: =COUNTBLANK(B3:B8)
  • Press enter.

Figure 3. Using the COUNTBLANK function to count blank cells in a range

As we can see in Figure 3, there are 2 blank values in the range (B4 and B7). Therefore, the result in the cell D3 is 2.

Most of the time, the problem you will need to solve will be more complex than a simple application of a formula or function. If you want to save hours of research and frustration, try our live Excelchat service! Our Excel Experts are available 24/7 to answer any Excel question you may have. We guarantee a connection within 30 seconds and a customized solution within 20 minutes.

Did this post not answer your question? Get a solution from connecting with the expert.

Another blog reader asked this question today on Excelchat:
Here are some problems that our users have asked and received explanations on

I want to count how many rows have not had any action taken yet but are not yet Overdue. So my row G from cell G3 to G102 need to be blank and cell F3 to F102 need to be blank. I don't want it to count any rows that are blank (which naturally have the G and F columns blank. I want to count how many cells have F and G columns blank but still have text in column B which means that there is a task in that row. I've tried a few different formulas but they won't work.
Solved by I. H. in 29 mins
I have a formula that needs to omit blank cells as it continues the count
Solved by Z. H. in 13 mins
Add cells in columns A & B that are not blank
Solved by Z. E. in 19 mins

Leave a Comment

avatar