|
SMALL
Returns the k-th smallest value in a data set. Use this function to return values with a particular relative standing in a data set.
Syntax
SMALL(array,k)
Array is an array or range of numerical data for which you want to determine the k-th smallest value.
K is the position (from the smallest) in the array or range of data to return.
Remarks
- If array is empty, SMALL returns the #NUM! error value.
- If k ≤ 0 or if k exceeds the number of data points, SMALL returns the #NUM! error value.
- If n is the number of data points in array, SMALL(array,1) equals the smallest value, and SMALL(array,n) equals the largest value.
Example
The example may be easier to understand if you copy it to a blank spreadsheet.
- Create a blank spreadsheet.
- Select the example in the Help topic.
Selecting an example from Help
- Press CTRL+C.
- In the spreadsheet, select cell A1, and press CTRL+V.
- To switch between viewing the formula that returns the result and the result in the cell, select the cell and press F2 and then ENTER, or click Commands and Options on the spreadsheet toolbar, click the Formula tab, and look in the Formula in active cell (active cell) box.
Data | Data |
---|---|
3 | 1 |
4 | 4 |
5 | 8 |
2 | 3 |
3 | 7 |
4 | 12 |
6 | 54 |
4 | 8 |
7 | 23 |
Formula | Description (Result) |
=SMALL(A2:A10,4) | 4th smallest number in first column (4) |
=SMALL(B2:B10,2) | 2nd smallest number in the second column (3) |