Version

UltraCalcFunctionAverage Class

Calculates an average (arithmetic mean) for a series of numbers.
Syntax
'Declaration
 
Public Class UltraCalcFunctionAverage 
   Inherits BuiltInFunctionBase
public class UltraCalcFunctionAverage : BuiltInFunctionBase 
Remarks

AVERAGE(value1, value2, ...)

Value1, value2, ... are one or more numeric values or references to numeric values. An average (arithmetic mean) is calculated by taking the sum of all values, and dividing by the number of values.

Each value is equally weighted. To obtain a weighted average, you can multiply each value by a weight in the expression.

            AVERAGE( [Value1]*[Weight1], [Value2]*[Weight2], [Value3]*[Weight3])
            
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also