# How to Count Not Blank Cells (Excel COUNTIF Function)

Are you tired of sifting through endless rows of data in Excel, trying to find the cells that are not blank?

Look no further! ðŸ‘€

In this step-by-step guide, you learn how to use the COUNTIF function to efficiently count the number of non-blank cells in your spreadsheet.

Say goodbye to manual counting and hello to accurate and efficient data analysis! ðŸ’ª

You can also download our sample workbook here to practice COUNTIF along the guide.

## Make COUNTIF function count cells that are not blank

Instead of counting the non-empty cells in your data set manually, you can have Excel to do it for you. Wonder how?

By using the COUNTIF function.

It automatically counts the number of all cells containing data in a selected range. Not only does it save you lots of time, but it also increases overall productivity ðŸ˜€

Let’s see how to use the COUNTIF not blank function to count non-empty cells.

Say, we have the following sample data.

The data set consists of feedback from some customers for a product. As evident, not all customers gave feedbacks.

We want to count the number of not blank cells using the Excel COUNTIF not blank formula.

To do that,

1. Select cell C2.
2. Add the COUNTIF formula as:

=COUNTIF(

1. Enter the range containing the non-empty values.

=COUNTIF(B2:B10)

1. Enter the criteria as follows:

=COUNTIF(B2:B10, “<>”&””)

1. Press Enter.

Excel will return the result as:

Excel counted all the non-blank cells for us on the range in seconds ðŸŽ¯

How easy is that? You will be able to master this instantly.

## Count cells that are not blank with COUNTA

Similar to the COUNTIF function, there is another function you can use to count cells that are not blank.

You guessed right – it’s the COUNTA function in Excel ðŸ˜‰

Using it is even more simple and easy than COUNTIF. We will use the same sample data as used above.

To use COUNTA to count non-empty cells,

1. Select C2.
2. Type in the COUNTA formula as:

=COUNTA(

1. Enter the range:

=COUNTA(B2:B10)

And voila! It’s done

1. Press Enter.

Excel will return the result as:

COUNTA returned 5 showing that there are five non-empty cells in the selected data range.

Pretty easy, no? You can do it too using our free sample workbook ðŸ¤“

## That’s it – Now what?

In this article, we saw how to count non-empty cells in our spreadsheet using the COUNTIF function. We also saw how to do the same task using the COUNTA function.

Both functions can help you count cells containing data and save you a lot of time. The formulas can be a bit tricky to understand at first. But a couple of tries are all you need to master these functions ðŸ¥‡

Luckily, similar to COUNTIF and COUNTA, Excel has many other outstanding functions. Our favorites include IF, SUMIF, and VLOOKUP.