The COUNTA function

Counts the cells that are not empty: numbers, text, logical values and errors.

Syntax

COUNTA(value1, [value2], ...)
value1
The first value, cell or range.
value2 (optional)
More values or ranges.

Examples

C1=COUNTA(A2:A6)
ABC
1Units4
24
3n/a
47
5
62
C1=COUNTA(A1:A6)
ABC
1Units5
24
3n/a
47
5
62

Practice COUNTA

Related functions