Skip to content

SMALL

Returns the kth smallest value in a set of numbers, such as the second fastest delivery or the third lowest price.

Syntax

=SMALL(, )

Statistical

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
A
B
C
1
Order
Hours to deliver
2
D-01
14
3
D-02
9
4
D-03
22
5
D-04
17
6
D-05
11
7
D-06
30
8
D-07
26
9
D-08
19
10
11
Second fastest
11

B11 =SMALL(B2:B9,2) returns 11

How SMALL works

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".

How it works

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.
  • If k is greater than the count of numbers, or less than 1, SMALL returns #NUM!.
  • A range with no numbers returns #NUM!.
  • Ties each take a position, so the second smallest can equal the smallest.

The three lowest, averaged

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.

The lowest value that is not zero

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.

Finding who holds the value

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.

Related functions

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.

Arguments

array
The range or array of numbers to search, such as B2:B9.
k
The position from the bottom: 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.

Examples

Each example is a live sheet. Change the inputs or the formula and watch the result.

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
A
B
C
1
Order
Hours to deliver
2
D-01
14
3
D-02
9
4
D-03
22
5
D-04
17
6
D-05
11
7
D-06
30
8
D-07
26
9
D-08
19
10
11
Second fastest
11

B11 =SMALL(B2:B9,2) returns 11

Example 2

Average of the three fastest

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
A
B
C
1
Order
Hours to deliver
2
D-01
14
3
D-02
9
4
D-03
22
5
D-04
17
6
D-05
11
7
D-06
30
8
D-07
26
9
D-08
19
10
11
Best three, average
11.3

B11 =ROUND(AVERAGE(SMALL(B2:B9,{1,2,3})),1) returns 11.3

Example 3

The lowest value that is not zero

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
A
B
C
1
Supplier
Quote
2
Apex
0
3
Brill
1,185
4
Cobb
1,310
5
Dale
0
6
Eton
1,260
7
Fenn
1,195
8
9
Lowest actual quote
1,185
10
11

B9 =SMALL(B2:B7,COUNTIF(B2:B7,0)+1) returns 1,185

Example 4

k outside the range

B6 =SMALL(B2:B4,0)

Result: #NUM!

Positions start at 1. A k of 0 returns #NUM!.

B6
A
B
C
1
Order
Hours to deliver
2
D-01
14
3
D-02
9
4
D-03
22
5
6
Smallest (k = 0)
#NUM!
7
8

B6 =SMALL(B2:B4,0) returns #NUM!

Your turn.

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.

B11
A
B
C
1
Order
Hours to deliver
2
D-01
14
3
D-02
9
4
D-03
22
5
D-04
17
6
D-05
11
7
D-06
30
8
D-07
26
9
D-08
19
10
11
Third fastest
12
Best two, average

Common mistakes

  • If k is zero, negative or larger than the count of numbers, SMALL returns #NUM!. Positions start at 1.
  • Zeros are numbers and take the lowest positions. If 0 stands for "no data", skip them with COUNTIF(range,0)+1 or use MINIFS with ">0".
  • Ties each take a position, so SMALL(range,2) can equal SMALL(range,1).
  • The arguments are array first, then k. Swapping them treats the position as the data, and the result is wrong or #NUM!.
  • SMALL returns the value, not its label. Use INDEX and MATCH to find the name behind it; the first row wins when values tie.

Questions people ask

How do I find the smallest value above zero?

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.

What is the difference between SMALL and MIN?

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.

How do I average the three lowest values?

Use `=AVERAGE(SMALL(B2:B9,{1,2,3}))`. The array constant asks SMALL for the first three positions.

Why does SMALL return #NUM!?

k is less than 1 or greater than the number of values, or the range has no numbers in it.

Learn SMALL in a real sheet.

Tracks take you from the basics to modelling, one graded exercise at a time.