LARGE function
Returns the k-th largest value in a range, e.g. the highest, second-highest or third-highest sale.
Available in All versions of Excel, including Microsoft 365 and Excel for the web
In every Excel versionWorks in Google Sheets
Syntax
LARGE(array, k)| Argument | What it means | |
|---|---|---|
array | Required | The range or array of numbers to look in. |
k | Required | The position from the top: 1 for the largest, 2 for the second largest, and so on. Can be an array such as {1,2,3}. |
Returns: The number at position k when the values are sorted from largest to smallest.
How LARGE works
MAX gives you the single highest number, but you often need the runner-up too: the top three salespeople, the second-largest invoice, the five biggest orders. LARGE does that. Give it a range and a position k, and it returns the value that would sit in position k if you sorted the range from highest to lowest. LARGE(range,1) is the same as MAX(range).
Duplicate values each take their own position, so if two reps tie for first place, both k = 1 and k = 2 return the same number. Text, logical values and empty cells are ignored. LARGE returns only the value; to get the matching name, combine it with XLOOKUP or INDEX/MATCH (or use SORT and TAKE in Microsoft 365). Its mirror image is SMALL.
Examples
1Second-highest sale
| A | B | C | D | |
|---|---|---|---|---|
| 1 | Rep | Sales | ||
| 2 | Ana | 18400 | 22150 | |
| 3 | Ben | 22150 | ||
| 4 | Chloe | 15900 | ||
| 5 | Dev | 22150 | ||
| 6 | Eva | 19800 | ||
| 7 | Finn | 12300 |
Result: 22150
Ben and Dev both sold 22,150. Ties occupy separate positions, so the 2nd largest is also 22,150; the 3rd largest (k = 3) would be 19,800.
2Top three in one formula
| A | B | C | D | |
|---|---|---|---|---|
| 1 | Rep | Sales | ||
| 2 | Ana | 18400 | 22150 | |
| 3 | Ben | 22150 | 22150 | |
| 4 | Chloe | 15900 | 19800 | |
| 5 | Dev | 22150 | ||
| 6 | Eva | 19800 | ||
| 7 | Finn | 12300 |
Passing the array {1;2;3} as k returns the three largest values at once, spilling down into D2:D4 in Microsoft 365 and Excel 2021+.
3Total of the three best results
| A | B | C | D | |
|---|---|---|---|---|
| 1 | Rep | Sales | ||
| 2 | Ana | 18400 | 64100 | |
| 3 | Ben | 22150 | ||
| 4 | Chloe | 15900 | ||
| 5 | Dev | 22150 | ||
| 6 | Eva | 19800 | ||
| 7 | Finn | 12300 |
Result: 64100
22,150 + 22,150 + 19,800 = 64,100. This array trick works in every Excel version without Ctrl+Shift+Enter because SUM collapses the array to a single value.
4Name of the third-best rep
| A | B | C | D | |
|---|---|---|---|---|
| 1 | Rep | Sales | ||
| 2 | Ana | 18400 | Eva | |
| 3 | Ben | 22150 | ||
| 4 | Chloe | 15900 | ||
| 5 | Dev | 22150 | ||
| 6 | Eva | 19800 | ||
| 7 | Finn | 12300 |
Result: Eva
LARGE finds 19,800, then XLOOKUP returns the name in the same row. Careful with ties: looking up 22,150 would always return the first match, Ben.
Common errors and how to fix them
| Error | Why it happens | Fix |
|---|---|---|
#NUM! | k is 0 or negative, or larger than the number of numeric values, or the range has no numbers. | Use a k between 1 and COUNT(array). |
#VALUE! | k is text. | Make sure k is a number. |
Tips
- Make a top-N list that you can copy down:
=LARGE($B$2:$B$7, ROWS($D$2:D2))increases k by one per row. - To find the k-th largest value that meets a condition, filter first:
=LARGE(FILTER(B2:B7, C2:C7="North"), 2). - Numbers stored as text are ignored silently; if a result looks too low, check for green-triangle text numbers.
Questions
How is LARGE different from MAX?
MAX only returns the biggest value. LARGE returns any position you ask for; LARGE(range,1) equals MAX.
How do I get the top 3 values without duplicates?
In Microsoft 365 use =TAKE(SORT(UNIQUE(B2:B7),,-1),3). LARGE counts duplicates separately.
Does LARGE ignore blank cells and text?
Yes. Only numbers count, so blanks and text never appear in the result, and they do not count towards k.
Google Sheets
LARGE also exists in Google Sheets and works the same way for everyday use, so the examples above work there too.
LARGE in other languages
In a non-English version of Excel the function has a local name. Excel translates formulas automatically when a file is opened in another language.
| Language | Function name |
|---|---|
| Danish | STØRSTE |
| Dutch | GROOTSTE |
| Finnish | SUURI |
| French | GRANDE.VALEUR |
| German | KGRÖSSTE |
| Hungarian | NAGY |
| Italian | GRANDE |
| Norwegian (Bokmål) | N.STØRST |
| Polish | MAX.K |
| Portuguese (Brazil) | MAIOR |
| Portuguese (Portugal) | MAIOR |
| Russian | НАИБОЛЬШИЙ |
| Spanish | K.ESIMO.MAYOR |
| Swedish | STÖRSTA |
| Turkish | BÜYÜK |