Using COUNT Functions
COUNT Function Family
COUNT
Counts cells with numbers. Skips text and blanks.
COUNTA
Counts all non-empty cells regardless of content.
COUNTBLANK
Counts empty cells in a range.
COUNTIF / COUNTIFS
Counts cells meeting one or multiple conditions.
Noble Desktop's Excel Bootcamp covers formulas, pivot tables, data analysis, and VBA.
Learn how to use COUNT Functions.
1Full Video Transcript
Count functions are really useful and are among my favorite functions that Excel has to offer. I wanted to share a few of them with you here to give you a sense of how they work so you can apply them to your data more easily. The name says it all—the COUNT function and its several variations counts the number of values within any range of cells you designate.
It can do everything from a straight up tally of how many cells in a given range contain numbers to telling you how many cells in a given range contain a very specific letter, word, phrase, or number. We're going to look at four count functions in this video: COUNT, COUNTA, COUNTBLANK, and COUNTIF.
2The COUNT Function
First let's look at COUNT. This is a really simple function consisting of an equal sign, the word COUNT, and within parentheses a range of cells. That range can be a range of contiguous cells, a series of ranges separated by commas, or a series of individual cells also separated by commas that you click on while holding down the Control key. As long as the addresses are housed within that set of parentheses, you'll get the count of how many of those cells contain numbers.
The numbers can be simple integers, dollar amounts, dates, or times—any numeric content at all. So here in cell E18 in the Sales and Commissions worksheet, I'll insert the COUNT function and count how many quarterly sales totals are included. If you know you have 100 sales reps and there are four quarters in the year, that number should be 400. If it's lower, somebody's numbers haven't been entered.
I'm using a smaller number of sales reps here so you can see the entire range that's being counted. This is not a sum of the sales, mind you—it's just the count of numeric values that have been entered into the range. We see in the result that we have just 36 quarterly sales numbers, so there's data missing. I could now go find out what happened to it and then add the missing content to complete my worksheet.