API reference

Finance

Compute numeric aggregates and population statistics for column vectors.

6 public procedures1 enumerationsNew Finance

Functions and procedures#

Statistics#

NameDescription
SumAdds numeric values from a vector or the first column of a 2D array.
SquaredSumAdds the squares of numeric values from a vector or the first column of a 2D array.
CountCounts non-empty first-column values, optionally restricting the count to numeric values.
MeanReturns the arithmetic mean of numeric values in a vector or the first column of a 2D array.
StDevComputes the population standard deviation of numeric first-column values using an online variance update.
ExtremumFinds the minimum or maximum numeric value in a vector or the first column of a 2D array.

Using this class#

The class has VB_PredeclaredId = False. Use an instance, or a shared instance declared in a standard module.

VBA
Dim utility As Finance
Set utility = New Finance
' Existing project global instance: Fin

Read the complete Finance source