SheetRocks
Documentation/Formulas/COUNT

COUNT

Returns the count of numeric values in a dataset.

Syntax

COUNT(value1, [value_n])

Arguments

Argument Description Required
value1 The first value or range in which to count numbers. Required
value_n Additional values or ranges in which to count numbers. Optional

Examples

Count numbers in a range with mixed types

=COUNT(A1:A4)
Result ⇒ 3
A
1 2
2 -1
3 11
4 abc

Count all numbers in a range

=COUNT(A1:A5)
Result ⇒ 5
A
1 10
2 7
3 9
4 27
5 2

Count numbers with additional arguments

=COUNT(A1:A3, 5)
Result ⇒ 4
A
1 10
2 15
3 32

Related Functions

Other Statistical functions:


← Back to Formula Reference