CountA
CountA is a mathematical function that returns the number of values in a group of numeric values, rows, columns, or cells. CountA includes #MISSING and #ERROR cells when obtaining the count only for rows or columns that are not suppressed. The function syntax:
CountA(arguments)
where arguments is one or more of these arguments:
Table B-10 Arguments for the CountA Function
Argument | Description |
---|---|
numeric |
A numeric value. For example, |
row, column, or cell reference |
A pointer to a row, column, or cell within a grid. References can be specified in several ways. The reference syntax: |
function |
An embedded function |
Examples:
-
In the following example, if a grid has 4 rows with the values 10, 20, 30, and, #ERROR. The following formula in the fifth row returns the count of four rows:
CountA([1:4])
-
The following example returns the count of four rows:
CountA(row[1], row[6], row[8] row[where data yields #ERROR])