
The LARGE and SMALL functions in Excel return the nth largest or nth smallest value in a list. =LARGE(B2:B20, 1) is the biggest number, =LARGE(B2:B20, 2) is the second biggest, and =SMALL(B2:B20, 1) is the smallest. They are the simple way to build a top 3 or bottom 3 list without sorting your data. The sample data is made up.
Syntax
=LARGE(array, k)
=SMALL(array, k)
- array is the range of numbers.
- k is the position you want, counted from the largest (LARGE) or the smallest (SMALL). 1 is the first.

Find the 1st, 2nd and 3rd largest
Type these in three cells, with sales in B2:B20:
=LARGE($B$2:$B$20, 1)
=LARGE($B$2:$B$20, 2)
=LARGE($B$2:$B$20, 3)
The dollar signs lock the range. See the absolute reference guide if they are new to you. A tidy way is to put 1, 2 and 3 in a column and refer to it: =LARGE($B$2:$B$20, D2).

Find the smallest values
=SMALL($B$2:$B$20, 1) returns the lowest. Change k to 2 for the second lowest, and so on. SMALL with k equal to 1 gives the same answer as MIN.
Add the top 3 values
To add the three largest numbers, use an array constant:
=SUM(LARGE(B2:B20, {1,2,3}))
The curly braces hold the list of positions. For the bottom 3, use SMALL with the same list.

Show the name next to each value
Use XLOOKUP to find the name that belongs to a LARGE result:
=XLOOKUP(LARGE($B$2:$B$20, D2), $B$2:$B$20, $A$2:$A$20)
If two people have the same value, XLOOKUP returns the first name for both. To handle ties, rank the rows with a tie breaker first. Our guide to the RANK function in Excel shows a method.
LARGE with a condition
LARGE has no condition argument. In Excel 365, combine it with FILTER. To find the second largest East sale, with regions in A:
=LARGE(FILTER(B2:B20, A2:A20="East"), 2)
See the FILTER function guide. For the very top value only, MAXIFS is simpler.
Ignore errors and text
LARGE and SMALL skip text and empty cells, but an error in the range makes the result an error. Wrap the range with IFERROR inside an array formula, or clean the data first. Numbers stored as text are skipped, so check that they are real numbers.
Common errors
- #NUM! k is larger than the number of values, or is 0 or less.
- #VALUE! k is text.
- Same value twice. Ties are counted as separate positions, so LARGE 2 can equal LARGE 1.
- Range moves when copied. Lock it with dollar signs.

Questions and answers
What is the difference between LARGE and MAX?
MAX gives only the biggest. LARGE gives the biggest, the second biggest and so on.
Do LARGE and SMALL work with dates?
Yes. Dates are numbers, so LARGE gives the latest date and SMALL the earliest.
Are they in Google Sheets?
Yes. Google Sheets has LARGE and SMALL with the same arguments. To sort a whole list in Sheets, see the SORT function.
How do I get the top 10%?
Use PERCENTILE or a rank based formula. LARGE works with fixed positions, not percentages.
