TFormulaValue.AsAverage Method
Returns the value of the formula if it contains an average. If it contains other datatype, this method will throw an exception.
Check IsAverage to see if the formula contains an average.
Syntax
Unit: FlexCel.Core
function TFormulaValue.AsAverage: TAverageValue;