Public Function Small( _
ByVal vN As Variant _
, ParamArray vValues() As Variant _
) As Variant
Returns the Nth smallest number within vValues.
Examples: Small(1, 34, 56, 12) = 12
Small(2, 34, 56, 12) = 34
Small(3, 34, 56, 12) = 56
Small(1, SampleData) = Minimum(SampleData)
See also: Large Function
Rank Function
Percentile Function
PercentRank Function
Minimum Function
SMALL Function (Microsoft Excel)
vN: The Nth smallest number when all of the numeric arguments are sorted.
vValues: The values that are to be processed. Can be numbers, one-dimensional numeric arrays, one-dimensional Variant arrays, one-dimensional Variant arrays with embedded arrays, or any combination of these. The current setting of the StatVarType Property determines which numeric data types are recognized by this function.
Return value: Function returns the Nth smallest of the numeric values. Function returns Null if none of the arguments are numeric, or if vN is not within the count of numeric values inclusive. Copyright 1996-1999 Entisoft
Entisoft Tools is a trademark of Entisoft.