Lesson 83 of 92 · Free Excel Course
Excel · Excel function reference
Excel SMALL Function: Syntax, Examples and Common Errors
How the Excel SMALL function finds the 2nd, 3rd or k-th smallest value: bottom 3, the 2nd earliest date and the 2nd lowest in one region, plus #NUM! fixes.
The SMALL function returns the k-th smallest number in a range: the lowest, the second lowest, the third lowest and so on. You give it the numbers and the position you want, and it returns that one value. The data doesn't have to be sorted. Because Excel stores dates and times as numbers, SMALL also finds the earliest, second earliest or k-th earliest date. Microsoft lists it for Excel for Microsoft 365 (Windows and Mac), Excel for the web, and Excel 2024, 2021, 2019 and 2016. Its mirror image, LARGE, counts from the top.
Syntax
=SMALL(array, k)
- array (required): the range or array of numbers, such as
C2:C8. Only numbers count. In a range, empty cells, text and TRUE/FALSE are skipped, and so are numbers stored as text. A 0 is a real number and does count. - k (required): the position counting up from the smallest. 1 is the smallest, 2 the second smallest. It can be a number, a cell reference, or an array of positions such as
{1,2,3}. There is no default.
If the range holds n numbers, SMALL(array,1) returns the smallest and SMALL(array,n) returns the largest. A value that appears twice takes two places, so it can be both the 1st and the 2nd smallest.
Examples
Microsoft's example. Microsoft's SMALL page uses two columns of nine numbers. Sorted, column A is 2, 3, 3, 4, 4, 4, 5, 6, 7, so the 4th smallest is 4. Column B sorted starts 1, 3, 4, so the 2nd smallest is 3.
| A | B | C | D | E | |
|---|---|---|---|---|---|
| 1 | Data 1 | Data 2 | Formula | Result | |
| 2 | 3 | 1 | =SMALL(A2:A10,4) | 4 | |
| 3 | 4 | 4 | =SMALL(B2:B10,2) | 3 | |
| 4 | 5 | 8 | |||
| 5 | 2 | 3 | |||
| 6 | 3 | 7 | |||
| 7 | 4 | 12 | |||
| 8 | 6 | 54 | |||
| 9 | 4 | 8 | |||
| 10 | 7 | 23 |
The bottom 3 and who quoted them. The practice workbook has seven quotes for the same job. In Excel for Microsoft 365 and Excel 2021 or later, =SMALL(C2:C8,{1,2,3}) spills the three lowest across three cells. In any version, put =SMALL($C$2:$C$8,ROWS($F$2:F2)) in F2 and copy it down: ROWS counts 1, 2, 3 as the range grows, so you don't need a separate k column. To show the supplier, look each value up with =XLOOKUP(F2,$C$2:$C$8,$A$2:$A$8). If two quotes were equal, the lookup would return the first supplier twice; the LARGE page shows the SORTBY fix.
| A | B | C | D | E | F | G | |
|---|---|---|---|---|---|---|---|
| 1 | Supplier | Region | Quote | Delivery | Bottom 3 | Supplier | |
| 2 | Apex | East | $1,250 | 12/8/2026 | $980 | BuildCo | |
| 3 | BuildCo | West | $980 | 12/3/2026 | $990 | Granite | |
| 4 | Cedar | East | $1,100 | 12/15/2026 | $1,040 | Delta | |
| 5 | Delta | West | $1,040 | 12/1/2026 | |||
| 6 | Elm | East | $1,175 | 12/10/2026 | |||
| 7 | Forge | West | $1,320 | 12/5/2026 | |||
| 8 | Granite | East | $990 | 12/12/2026 |
The 2nd earliest date. =SMALL(D2:D8,2) returns 12/3/2026, BuildCo's delivery. The earliest is 12/1/2026 (Delta). Excel may show the result as 46359, the date's serial number, if the cell isn't formatted as a date; change the format to Short Date and the formula is unchanged. The same trick finds the shortest times in a list of durations.
The 2nd lowest in one region. SMALL has no criteria argument, so you filter the numbers first and hand SMALL only the ones that match. With the region typed in G8:
| F | G | H | |
|---|---|---|---|
| 8 | Region | East | |
| 9 | 2nd lowest (FILTER) | =SMALL(FILTER(C2:C8,B2:B8=G8),2) | $1,100 |
| 10 | 2nd lowest (IF, older Excel) | =SMALL(IF(B2:B8=G8,C2:C8),2) | $1,100 |
| 11 | Lowest only (MINIFS) | =MINIFS(C2:C8,B2:B8,G8) | $990 |
- FILTER (Microsoft 365, Excel 2021 or later, Excel for the web) keeps only the East quotes, and SMALL picks the 2nd lowest of those.
- IF does the same in Excel 2019 and earlier. Non-matching rows become FALSE, which SMALL ignores. In those versions confirm the formula with Ctrl+Shift+Enter so Excel treats it as an array formula; in Microsoft 365 a plain Enter works.
- MINIFS (Excel 2019 or later) is the simplest choice when you only need the lowest, but it has no k, so it can't give the 2nd lowest.
SMALL vs MIN
=MIN(C2:C8) and =SMALL(C2:C8,1) always give the same answer. Use MIN when you only want the lowest value, because it reads more clearly. Use SMALL when you need the 2nd, 3rd or k-th lowest, a bottom-N list, or a bottom-N total such as =SUMPRODUCT(SMALL(C2:C8,{1,2,3})) ($3,010 here). For whole rows sorted from lowest up, =SORT(A2:D8,3) is easier in Microsoft 365 and Excel 2021 or later. To see where a value places rather than which value sits in a place, use RANK.
Common errors
| F | G | H | |
|---|---|---|---|
| 1 | Formula | Result | Why |
| 2 | =SMALL(FILTER(C2:C8,B2:B8="West"),4) | #NUM! | West has only 3 quotes |
| 3 | =SMALL(C2:C8,0) | #NUM! | k must be 1 or more |
| 4 | =SMALL(FILTER(C2:C8,B2:B8="North"),1) | #CALC! | No North rows, FILTER is empty |
| 5 | =SMALL(D2:D8,2) | 46359 | Correct date, General format |
- #NUM! because k is too big. There are fewer numbers than the position you asked for, often in a filtered group. Check with
=COUNT(range), or wrap it:=IFERROR(SMALL(FILTER(C2:C8,B2:B8="West"),4),"Fewer than 4"). - #NUM! because k is 0 or negative, or the range has no numbers. Check where k comes from, and whether the "numbers" are really text.
- #CALC! from FILTER. When no row matches, FILTER returns #CALC! and SMALL passes it on. Give FILTER a third argument or wrap the whole formula in IFERROR.
- A zero you didn't want. A 0 for "no quote yet" becomes the smallest value. Leave the cell blank, or filter it out with
C2:C8>0. - Numbers stored as text. They are skipped silently, so the answer can be wrong without any error. Convert them to numbers first.
- A date that looks like 46359. Not an error: format the cell as a date.
- #VALUE! when k is text, and any error inside the range (such as #N/A) is returned as the result.
Related functions
- LARGE: the k-th largest value, plus the top-N names fix for ties.
- RANK: the position of a value in a list.
- Statistics in Excel: median, percentiles, quartiles and spread.
- Average, MIN, MAX and COUNT: the basic summary functions, including MIN.
Try it yourself
Download the practice workbook. The Practice sheet has the seven supplier quotes and yellow cells for the bottom 3 (copied down and as one spilling formula), the bottom-3 total, the 2nd earliest delivery, the 2nd lowest quote in a region you choose (FILTER and IF versions), the lowest-quoting supplier and a safe 4th lowest. The Answers sheet has every working formula.
Frequently asked questions
What is the difference between SMALL and MIN in Excel?
MIN only returns the lowest number. SMALL can return any position from the bottom: =SMALL(C2:C8,1) gives the same answer as =MIN(C2:C8), but =SMALL(C2:C8,2) gives the second lowest, =SMALL(C2:C8,3) the third lowest, and so on.
How do I find the second lowest value with a condition, like one region?
There is no SMALLIF function. Filter the numbers first, then take the k-th smallest: =SMALL(FILTER(C2:C8,B2:B8="East"),2) in Excel for Microsoft 365 or Excel 2021 and later. In older versions use =SMALL(IF(B2:B8="East",C2:C8),2) and press Ctrl+Shift+Enter. For just the lowest, =MINIFS(C2:C8,B2:B8,"East") is simpler.
How do I get the smallest value but ignore zeros?
SMALL counts 0 as a real number, so a zero is usually the smallest. Skip zeros with =SMALL(FILTER(C2:C8,C2:C8>0),1) for the lowest non-zero value (change 1 to 2 for the second lowest), or use =MINIFS(C2:C8,C2:C8,">0") for the lowest only. Blank cells are already ignored.
Can SMALL find the earliest or second earliest date?
Yes. Excel stores dates as numbers, so =SMALL(D2:D8,1) is the earliest date and =SMALL(D2:D8,2) the second earliest. If the answer shows a number such as 46359, the formula is fine: format the cell as a date.