Public Function AverageArray( _ ByRef vValues As Variant _ ) As Variant
AverageArray(Array(12, 34, 56)) = 34 AverageArray(SampleData) = 145.152173913043See also:
Average Function Median Function Mode Function GeometricMeanArray Function HarmonicMeanArray Function SumArray Function Count Function AVERAGE Function (Microsoft Excel) AVERAGEA Function (Microsoft Excel)vValues: Numeric-type array or Variant array containing only numeric elements. This function is NOT affected by the current setting of the StatVarType Property. It assumes that vValues is an array that contains only numeric elements.
Copyright 1996-1999 Entisoft
Entisoft Tools is a trademark of Entisoft.