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:
AverageA(arguments) or AvgA(arguments)
where arguments is one or more of these 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. References can be specified in several ways. The reference syntax: For example, AvgA(Grid1.row[4(3:5)] returns the average of form grid1, row segment 4, range 3 through 5. |
function |
An embedded function |
Example
In the following example, a grid has 4 rows with the values 10, 20, 30, and, #ERROR. The following formula in the fifth row returns the value 15:
AverageA([1:4])