=COUNT(value1, [value2], ...)
=COUNT(1,2,3) // returns 3
The COUNT function returns the number of values in a given range. In this example, the range is 1,2,3 and the function returns 3 because there are three values in the range.
=COUNT(1,"a","b") // returns 1
The COUNT function returns the number of values in a given range. In this example, the range is 1,"a","b" and the function returns 1 because there is only one numeric value in the range.
=COUNT("apple",100,125,100,"orange") // returns 3
The COUNT function returns the number of values in a given range. In this example, the range is "apple",100,125,100,"orange" and the function returns 3 because there are three numeric values in the range.
=COUNT(A1:A10) // returns the count of the numbers in A1:A10
The COUNT function returns the number of values in a given range. In this example, the range is A1:A10.
The COUNT function is a versatile function that can be used to count the number of cells or arrays of numbers.