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:

Argument

Description

numeric

A numeric value. For example, CountA(10,20,30,50) returns the value 4. Numeric values can include decimals and negative values.

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: CountA(GridName.GridElement[segment(range)]).property

function

An embedded function

Example

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])