How to Count Blank or Empty Cells in Excel

This post will guide you how to count blank or empty cells in a given range cells using a formula in Excel 2013/2016.How do I count the number of cells that are blank in Excel. You should know that excel offers several count functions to count the number of cells in a selected range of cells that match a criteria, such as: containing a specific text string or letter.

If you want to count the number of cells in a selected range that do not contain any data values, you can use the COUNTBLANK function.

Count Blank or Empty Cells


Assuming that you want to do a quick count of empty cells in a selected range(A1:A6).In this case, you can use a formula based on the COUNTBLANK function to obtain the empty cells.

=COUNTBLANK(A1:B6)

count blank empty cells 1

To use this above formula, you just need to type it on the formula space. And you also need to change the cells you need to obtain a count on in the above formula.

As you can see in the above screenshot, the number of cells that are blank from range A1:B6 is three in that case.

Now Let’s see how this formula works:

The COUNTIFBLANK function can be used to count the number of cells in a selected range that don’t contain any value. It means that cells that contain text, numbers, errors, etc. are not counted.

You can also use another function called COUNTIF function to achieve the same result of counting the number of cells that are blank in Excel. For example, using the following formula:

=COUNTIF(A1:B6,””)

count blank empty cells 2

From the above image, you would see that using the COUNTIF function to count the number of blank or empty cells in the range A1:B6 and return the same results as COUNTBLANK function.

  

Related Functions


  • Excel COUNTIF function
    The Excel COUNTIF function will count the number of cells in a range that meet a given criteria. This function can be used to count the different kinds of cells with number, date, text values, blank, non-blanks, or containing specific characters.etc.= COUNTIF (range, criteria)…
  • Excel COUNTBLANK function
    The Excel COUNTBLANK function use to count the number of empty cells in a range of cells. So you can use the COUNTBLANK function to get the number of blank cells in a given range in Excel.The syntax of the COUNTBLANK function is as below:= COUNTBLANK (range)…

 

Related Posts

If Cell is This Value or That Value

IF function is frequently used in Excel worksheet to return you expect “true value” or “false value” based on the result of logical test. If you want to see if a cell is A or B, and if one of ...

If Value is Greater Than A Certain Value
If Value is Greater Than A Certain Value 1

IF function is frequently used in Excel worksheet to return you expect “true value” or “false value” based on the logical test result. If you want to see if a value in one cell is greater than a specific value, ...

If Cell is Not Blank
If Cell is Not Blank 6

IF function is frequently used in Excel worksheet to return you expect “true value” or “false value” based on the result of created logical test. If you want to see if a cell is blank or not, and leave some ...

If Cell is Blank
If Cell is Blank_1

IF function is frequently used in Excel worksheet to return you expect “true value” or “false value” based on the result of created logical test. If you want to see if a cell is blank or not, and leave some ...

If Cell Equals Certain Text String
If cell equals certain text_1

IF function is frequently used in Excel worksheet to return you expect “true value” or “false value” based on the result of created logical test. If you want to see if cell equals a certain text string like “Win”, you ...

If Cell Contains Either Text1 or Text2
If cell contains text1 or text2_1

IF function is frequently used in Excel worksheet to return “true value” or “false value” based on the logical test result. If you want to see if cell contains certain substring1 like “abc” or substring2 like “def”, and returns true ...

If Cell Contains Certain Text OR Equals Certain Text

IF cell equals certain text IF function is frequently used in Excel worksheet to return “true value” or “false value” based on the logical test result. If you want to test values to see if they equal certain text like ...

VLOOKUP From Another Sheet Not Working
vlookup from another sheet not working3

In the previous post, you should know that how to fix or remove the #N/A error when using VLOOKUP formula to lookup value from another sheet. And this post will show you reasons why your VLOOKUP formula is not working ...

If Cell Begins with One of Three Supplied Characters
If Cell Begins with One of Three Supplied Characters

If you want to test values to see if they begin with some given specific characters like “x”, ”y”, or “z”, you can create a formula with COUNTIF and SUM functions to return results. EXAMPLE You can see “TRUE” or ...

Fix #N/A Error For VLOOKUP From Another Sheet
vlookup from anther sheet not working1

This post will show you how to fix the #N/A error why it occurs when you extract values from another sheet using VLOOKUP function in Excel 2016,2013,2010 or other Excel versions. How can you correct a #N/A error in VLOOKUP ...

Sidebar