Excel provides different types of count functions each of them suiting to a different situations. As the name specifies these functions help to count the number of cells in a given range/ cells based on the specified criteria.
In this post let’s see what Count and CountA functions are, syntax and how to use these functions.
The Count Function
Count returns the total number of cells that contain NUMBERS ONLY in a given range/ group of cells.
How to write COUNT Function
The syntax for Count Function is as follows
=Count(Value1,[Value2],[Value3],….) 
Let us breakdown the syntax
The arguments of count function are Value1,Value2,… These can be values, alphabets, symbols, special characters, space or array of values or referring to a range of cells (Cell References). [Learn more about Cell References]
Value 1 is mandatory and the rest of the fields are optional. This will be a referring to a range in majority of the cases.
Examples: See the below examples to understand the Count Function

Entering Values Directly in the Function

Entering Values through a range
 Instead of entering values directly, a range can be given as input to the function. It will be like =Count (Range of Data). See the below image to understand. We have data in the range from F1 to F10. There are only 3 cells with numbers in it and the rest are alphabets and symbols along with a blank cell in between. So Count Function returns 3 as output.
 Instead of entering values directly, a range can be given as input to the function. It will be like =Count (Range of Data). See the below image to understand. We have data in the range from F1 to F10. There are only 3 cells with numbers in it and the rest are alphabets and symbols along with a blank cell in between. So Count Function returns 3 as output.
The CountA Function
CountA returns the total number of cells that are NOT BLANK/ NOT EMPTY in a given range/ group of cells.
How to write COUNTA Function
The syntax and the usage of COUNTA is same as that of Count Function except the outcome of the function
The syntax for CountA Function is as follows
=CountA(Value1,[Value2],[Value3],….) 
The arguments of count function are Value1,Value2,… These can be values, alphabets, symbols, special characters, space or array of values or referring to a range of cells (Cell References). [Learn more about Cell References].
Value 1 is mandatory and the rest of the fields are optional. This will be a referring to a range in majority of the cases.
Remember that Space is also counted as character by the CountA function.
Let us use the same data used in the COUNT function and see what COUNTA function returns.

Entering Values Directly in the Function

Entering Values through a range

Instead of entering values directly, a range can be given as input to the function. It will be like =CountA(Range of Data).
See the below image to understand. We have data in the range from F1 to F10. There are 3 cells with numbers, 3 cells with alphabets and 3 cells with symbols along with a blank cell in between. Since CountA counts the number of nonempty/ non blank cells the output will be 9.

The number of arguments can be upto 255 in excel count function provided you are using excel version of 2007 or later In Excel 2003 or prior the number of arguments are limited to 30.
Do you use COUNT/ COUNTA functions?
Please do share the situations/ cases where you use COUNT/ COUNTA functions in the comment box below.
Do share this post with your friends if you find it useful.
[…] CountA: To count the number of blank cells in a given range. (Learn More about COUNTA) […]