Statistical function

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)
ArgumentWhat it means
arrayRequiredThe range or array of numbers to look in.
kRequiredThe 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

D2fx=LARGE(B2:B7, 2)
ABCD
1RepSales
2Ana1840022150
3Ben22150
4Chloe15900
5Dev22150
6Eva19800
7Finn12300

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

D2fx=LARGE(B2:B7, {1;2;3})
ABCD
1RepSales
2Ana1840022150
3Ben2215022150
4Chloe1590019800
5Dev22150
6Eva19800
7Finn12300

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

D2fx=SUM(LARGE(B2:B7, {1,2,3}))
ABCD
1RepSales
2Ana1840064100
3Ben22150
4Chloe15900
5Dev22150
6Eva19800
7Finn12300

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

D2fx=XLOOKUP(LARGE(B2:B7, 3), B2:B7, A2:A7)
ABCD
1RepSales
2Ana18400Eva
3Ben22150
4Chloe15900
5Dev22150
6Eva19800
7Finn12300

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.

⬇Practice workbookExamples with live formulas + practice sheets · .xlsx · 18 KB

Common errors and how to fix them

ErrorWhy it happensFix
#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.

LanguageFunction name
DanishSTØRSTE
DutchGROOTSTE
FinnishSUURI
FrenchGRANDE.VALEUR
GermanKGRÖSSTE
HungarianNAGY
ItalianGRANDE
Norwegian (Bokmål)N.STØRST
PolishMAX.K
Portuguese (Brazil)MAIOR
Portuguese (Portugal)MAIOR
RussianНАИБОЛЬШИЙ
SpanishK.ESIMO.MAYOR
SwedishSTÖRSTA
TurkishBÜYÜK

Recipes that use LARGE