In Excel: use =LARGE(array, k) — it returns the kth largest value, so =LARGE(B2:B100, 3) gives the third-highest number.
On this page8
Syntax
Arguments
| Argument | required / optional | Description |
|---|---|---|
array | required | The range to rank. |
k | required | Which position from the top: 1 is the largest, 2 the second largest. |
Related functions
Select the cell for the ranked value and type =LARGE(.
Select the range of numbers, then a comma.
Enter the position you want — 1 for the largest, 2 for the second.
To build a list, anchor the range with $ and let the k argument increase down the rows.
What this does
LARGE returns the kth largest value in a range, with k=1 equivalent to MAX. It is the function behind every "top 5" list: combine it with ROWS or a spilled SEQUENCE to produce a ranked block, and pair it with INDEX and MATCH to pull the label that belongs to each value. Duplicates each occupy a position, so two identical top values mean k=1 and k=2 return the same number. A k larger than the count of numeric values returns #NUM!. The same idea underpins a lot of everyday Excel work, so the few minutes spent getting it right here pay back across every sheet you build afterwards. Treat it as a pattern, not a one-off, and it stops being something you look up and starts being something you reach for. For “excel large function”, the reliable version is a short checking loop, not just the first command that appears to work. Run it on a deliberately small range first, watch how the affected formula change, and only then apply the same setup to the full sheet. When a formula is involved, keep the inputs labelled beside it, reference cells instead of typing values, and apply number formatting only after the result checks out. That is what makes a calculation you can defend to a CFO or an auditor useful in real work: repeatable, auditable, and not dependent on memory or luck.
A worked example
Sales figures in B2:B100: =LARGE(B2:B100, 1) is the best month and =LARGE(B2:B100, 3) the third best. A live top-five list, =LARGE($B$2:$B$100, ROW()-1) filled down five rows, ranks automatically. To show which month it was, wrap it: =INDEX(A2:A100, MATCH(LARGE(B2:B100,1), B2:B100, 0)). LARGE turns "show me the top five" from a sort-and-copy chore into a formula that updates itself. Check the referenced cells, argument order and result type in your workbook. Start with the worked example before changing an input, then compare the changed result with the calculation you expected. An error value or a result of a different type is a reason to inspect the inputs and arguments.
In Google Sheets
Google Sheets support for this task has not been verified. Check the function, arguments and workflow in the target product before transferring the example. Matching formula notation does not establish identical behaviour. The aim was to get you unstuck fast and leave you a little more capable than a copy-paste would. The answer is at the top and the detail above shows why it holds — so the next time a colleague asks, you can answer without reaching for search. For “excel large function”, keep the input cells and the result visible while you check the formula in Excel. Follow the worked example and change one input at a time. The steps explain the workbook calculation; this page does not run a live calculator for that task.
Common mistakes
- A k greater than the number of numeric values in the range, which returns
#NUM!. - Forgetting to anchor the range with $ when filling down, so the range slides and each row ranks a different set.
- Expecting duplicates to be skipped — identical values occupy consecutive positions.
Frequently asked questions
How do I get the top 5 values?
Use =LARGE($range, 1) through =LARGE($range, 5), or fill =LARGE($range, ROW()-offset) down five rows.
Why does LARGE return #NUM!?
k is either below 1 or larger than the count of numbers in the range.
How do I show the name next to the top value?
Wrap it in INDEX and MATCH: =INDEX(labels, MATCH(LARGE(values,1), values, 0)).