Count Function in Excel
Uses of Count Function in Excel
Use the COUNT function to get the number of entries in a number field that is in a range or array of numbers. For example, you can enter the following formula to count the numbers in the range A1:A20: =COUNT(A1:A20). In this example, if five of the cells in the range contain numbers, the result is 5.
The COUNT function is generally used to count the number of cells in Excel or array of numbers.
Example: To count the numbers between A1 and A20, you may enter the following formula: =COUNT(A1:A20). For example, if the range contains three cells containing numbers, the result is 3. There are two different ways to use COUNT in Excel. The syntax is as follows:
Syntax Count Function Example in Excel
COUNT(value1,[value2],…)
The parameters of the COUNT function include comma-separated values. This function returns the total count of numeric values specified.
Here we specify multiple values as the parameter and the COUNT function finds the total count of values in it.
NOTE: This function works only on numeric data. Hence, it will not find the count of text values if specified.
Syntax Count Function Example in Excel Sheet
COUNT(range)