Example 1
The second fastest delivery
B11 =SMALL(B2:B9,2)
Result: 11
The fastest delivery took 9 hours, so the second smallest is 11.
B11 =SMALL(B2:B9,2) returns 11
Returns the kth smallest value in a set of numbers, such as the second fastest delivery or the third lowest price.
Syntax
=SMALL(, )
All versions of Excel, including Excel for Microsoft 365 and Excel for the web.
Try it
Edit the formula in B11 or change the inputs. The sheet recalculates as you type.
B11 =SMALL(B2:B9,2) returns 11
SMALL returns the value at position k when the numbers are ranked from lowest to highest. SMALL(B2:B9,1) is the smallest, SMALL(B2:B9,2) the second smallest, and so on. Use it for "the three fastest deliveries", "second-cheapest quote" or "the lowest non-zero value".
You give SMALL a range and a position. It ignores text, blanks and TRUE/FALSE in the range and ranks only the numbers. No sorting is needed.
k = 1 gives the same answer as MIN.#NUM!.#NUM!.An array constant for k returns several results at once. Wrap it in AVERAGE or SUM:
=AVERAGE(SMALL(B2:B9, {1,2,3}))
This pattern is useful for trimmed averages, such as dropping the best and worst result, or for "best three of the last eight" scoring.
Zeros often mean "no data", and MIN would return 0 every time. SMALL can step past them if you count them first:
=SMALL(B2:B9, COUNTIF(B2:B9, 0) + 1)
This works when there are no negative numbers in the data. If the data can contain negatives, use =MINIFS(B2:B9, B2:B9, ">0"), which needs Excel 2019 or Microsoft 365. See MINIFS.
SMALL returns the number, not its label. To find the name, match the number back: =INDEX(A2:A9, MATCH(SMALL(B2:B9, 2), B2:B9, 0)). If two rows tie, this finds the first.
LARGE works the same way from the top. RANK.EQ takes a value and returns its position, the reverse of SMALL. For the smallest value that meets a condition, use MINIFS. For percentiles and the median, see PERCENTILE.INC and MEDIAN.
B2:B9.1 is the smallest, 2 the second smallest, and so on. It must be between 1 and the number of values. Use an array constant such as {1,2,3} to get several at once.Each example is a live sheet. Change the inputs or the formula and watch the result.
Example 1
B11 =SMALL(B2:B9,2)
Result: 11
The fastest delivery took 9 hours, so the second smallest is 11.
B11 =SMALL(B2:B9,2) returns 11
Example 2
B11 =ROUND(AVERAGE(SMALL(B2:B9,{1,2,3})),1)
Result: 11.3
The three smallest values are 9, 11 and 14. Their average, 11.33, is rounded to one decimal place.
B11 =ROUND(AVERAGE(SMALL(B2:B9,{1,2,3})),1) returns 11.3
Example 3
B9 =SMALL(B2:B7,COUNTIF(B2:B7,0)+1)
Result: 1,185
Two suppliers have not quoted and show 0. COUNTIF counts them, so SMALL starts at the third-smallest value, 1,185.
B9 =SMALL(B2:B7,COUNTIF(B2:B7,0)+1) returns 1,185
Example 4
B6 =SMALL(B2:B4,0)
Result: #NUM!
Positions start at 1. A k of 0 returns #NUM!.
B6 =SMALL(B2:B4,0) returns #NUM!
Solve it in the sheet. Every answer is checked, with hints if you need them.
Task 1 of 2
In B11, return the third shortest delivery time.
Answer in B11.
#NUM!. Positions start at 1.COUNTIF(range,0)+1 or use MINIFS with ">0".SMALL(range,2) can equal SMALL(range,1).#NUM!.Use `=SMALL(B2:B9,COUNTIF(B2:B9,0)+1)` when the data has no negatives, or `=MINIFS(B2:B9,B2:B9,">0")` in Excel 2019 and Microsoft 365.
MIN returns only the smallest value. SMALL returns the value at any position from the bottom, and `SMALL(range,1)` gives the same answer as MIN.
Use `=AVERAGE(SMALL(B2:B9,{1,2,3}))`. The array constant asks SMALL for the first three positions.
k is less than 1 or greater than the number of values, or the range has no numbers in it.
Tracks take you from the basics to modelling, one graded exercise at a time.