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.
AverageA(arguments)
or
AvgA(arguments)
where arguments is one or more of the following values:
A numeric value. For example, AverageA(10,20,30) returns the value 20. Numeric values can include decimals and negative values. See Numeric Arguments. | |
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. 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. | |
If a grid has four rows with the values 10, 20, 30, and #error, the following formula in the 5th row returns the value 15:
AverageA([1:4])