Documentation/How Tos/Calc: COUNT function

From Apache OpenOffice Wiki
< Documentation‎ | How Tos
Revision as of 07:11, 8 December 2007 by Drking (Talk | contribs)

Jump to: navigation, search


COUNT

Counts the numbers in the list of arguments. Text entries are ignored.


Syntax:

COUNT(value1; value2; ... value30)

value1 to value30 are up to 30 values or ranges representing the values to be counted.


Example:

COUNT(2; 4; 6; "eight")

returns 3, because 2, 4 and 6 are numbers ("eight" is text).

COUNT(B1:B3)

where cells B1, B2, B3 contain 1.1, 2.2, and apple returns 2.


See also:

COUNTA, COUNTIF, COUNTBLANK, SUM

Personal tools