Spread.NET 18 Formula Reference
Formula Functions / Functions R to S / SMALL
In This Topic
    SMALL
    In This Topic

    This function returns the nth smallest value in a data set, where n is specified.

    Syntax

    SMALL(array,n)

    Arguments

    This function has these arguments:

    Argument Description
    array Array from which to return the nth largest value
    n The position (from the largest value) for which to return the value (for example, 5 to return the fifth largest value). Must be equal to or less than the number of items in the array.

    Remarks

    Use this function to select a value based on its relative standing.

    Data Types

    Accepts array and numeric data for all arguments. Returns numeric data.

    Examples

    SMALL(B4:B8,2)

    SMALL(R4C2:R8C2,2)

    SMALL({15, 20, 10, 5}, 2) gives the result 10

    Version Available

    This function is available in product version 1.0 or later.

    See Also

    LARGE | Statistical Functions