SpreadJS Documentation
SMALL

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

See Also

 

 


Copyright © GrapeCity, inc. All rights reserved.

Send comments on this topic.