Small
1## SMALL Function
The SMALL function in Excel is used to return the k-th smallest value in a dataset. This function is particularly
useful when you want to determine specific ranking elements within a range, such as the smallest, second smallest, etc.
Key Features of SMALL:¶
- Find Smallest Values: You can retrieve the smallest
kvalues in a numeric dataset by specifying the desired position (k). - Ranking: It allows you to select values based on their order, starting from the smallest.
- Flexible Usage: Useful for filtering datasets or identifying low-value thresholds.
Syntax:¶
- array: Required. The range or array of numeric values from which you want to find the
k-thsmallest value. - k: Required. An integer specifying the position of the smallest value to return, where:
k = 1returns the smallest value,k = 2returns the second smallest value, and so on.
How It Works:¶
The SMALL function orders the values in the specified array in ascending order and then picks the value at the
specified position (k).
Examples:¶
-
Basic Example: Suppose you have the following dataset in cells
Result:A1:A5:{10, 20, 5, 25, 15}. To find the smallest value:5(The smallest value in the range). -
Second Smallest Value: To find the second smallest value in the same dataset:
Result:10. -
Larger k Value: To find the fourth smallest value:
Result:20. -
Dynamic Example: If you have a dataset
Result: Corresponds to the value at the position input by the user.{8, 3, 12, 5, 7}and want the user to input the ranking dynamically into cellB1(e.g.,k = 3):
Notes:¶
-
Data Requirements:
- The function only works with numeric values. Any non-numeric values in the array will be ignored.
- If
kis less than 1 or greater than the total number of elements in the array, Excel returns a#NUM!error.
-
Other Functionality:
- Use
LARGEto find thek-thlargest value in a dataset (opposite ofSMALL). - Combine with other functions, such as
IForINDEX, for more complex conditional operations.
- Use
-
Common Errors:
#NUM!: Occurs whenkis out of range (e.g.,k > count(array)ork < 1).#VALUE!: Occurs ifkis non-numeric.
Applications:¶
- Data Analysis: Identify smallest values, such as minimum expenses or the shortest time in performance metrics.
- Filtering & Thresholds: Highlight data below certain thresholds in large datasets.
- Statistical Calculations: Find quartiles or other relative positions within datasets (e.g., smallest 25% or worst 10%).
Tip: Pair the
SMALLfunction with conditional formatting to visually identify small values or use it withINDEXto find the corresponding entry for a specific rank.