AverageA

AverageA is a mathematical function that returns the average of a group of numeric values, rows, columns, or cells. AverageA includes #missing and #error cells, which are treated as zero values when obtaining the average.

Note:

#missing and #error are included only for rows or columns that are not suppressed.

The function syntax is:

  
  AverageA(arguments) or AvgA(arguments)
  

where arguments is expressed by one or more of the following arguments:

Argument

Description

numeric

A numeric value. For example, AverageA (10, 20, 30) returns the value 20. 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 is: GridName.GridElement[segment(range)]. Property.

For a definition of the syntax, see Row, Column, or Cell Reference Arguments.

For example, AvgA(Grid1.row[4(3:5)] returns the average of grid1, row segment 4, range 3 through 5.

function

An embedded function. For a list of mathematical functions, see Mathematical Functions.

Example

In the following example, if a grid has 4 rows with the values 10, 20, 30, and, #error. The following formula in the 5th row returns the value 15:

  AverageA([1:4])