ExcelReady
CourseFunction guidesBlog
Start freeStart learning for free
ExcelReady

Be Excel-ready before the interview. Hands-on practice in your browser, with instant feedback.

Learn

  • Course
  • Function guides
  • Blog

Product

  • Certificate

Company

  • Editorial policy
  • Contact
  • Terms
  • Privacy

© 2026 ExcelReady. All rights reserved.

  1. Blog
  2. Math
  3. Find the Top 3 (or Second Highest) With LARGE and SMALL

Find the Top 3 (or Second Highest) With LARGE and SMALL

By ExcelReady Team·Updated October 30, 2026·6 min read

The short answer

The Excel LARGE function returns the k-th largest number in a range: =LARGE(B2:B9,2) gives the second highest. SMALL works the same way from the bottom, so =SMALL(B2:B9,2) gives the second lowest. To total the top 3, add three LARGE results with k = 1, 2 and 3.

Key takeaways

  • =LARGE(range, k) returns the k-th largest value; k = 1 is the same as MAX.
  • =SMALL(range, k) returns the k-th smallest value; k = 1 is the same as MIN.
  • Ties count separately, so two equal top values make LARGE(range,2) equal LARGE(range,1).
  • A k bigger than the number of values returns #NUM!.
  • LARGE returns the number only; use XLOOKUP or INDEX MATCH to fetch the name.
On this page+
  1. What does the Excel LARGE function do?
  2. Find the second-highest value
  3. How to sum the top 3 values
  4. How does LARGE handle ties?
  5. How to get the name, not just the number
  6. Top values with a condition
  7. Why does LARGE return #NUM!?
  8. Where LARGE and SMALL are useful at work
  9. Practise it

The Excel LARGE function finds the second-highest value, the third-highest, or any position you choose, and SMALL does the same from the bottom. MAX and MIN only give you the very top and bottom. "Find the second-highest sale" and "total the top 3" are favourite interview questions, and LARGE answers both in one line.

What does the Excel LARGE function do?#

LARGE returns the k-th largest number in a range. The letter k is just the position you want: 1 for the largest, 2 for the second largest, and so on.

Excel formula
=LARGE(array, k)
=SMALL(array, k)
  • array is the range of numbers, such as B2:B9.
  • k is the position, counted from the top for LARGE and from the bottom for SMALL.

The parts inside the parentheses are called arguments, and they are separated by commas. The order matters: range first, then k. =LARGE(2,B2:B9) doesn't work.

Find the second-highest value#

Use =LARGE(range,2). Here are a sales team's Q3 results:

AB
1RepQ3 sales
2Ana48,200
3Ben61,750
4Chloe39,900
5Dev72,300
6Eli55,100
7Fay66,800
8Gus43,400
9Hana58,950
QuestionFormulaResult
Top sale=LARGE(B2:B9,1)72,300
Second highest=LARGE(B2:B9,2)66,800
Third highest=LARGE(B2:B9,3)61,750
Lowest sale=SMALL(B2:B9,1)39,900
Second lowest=SMALL(B2:B9,2)43,400

LARGE(B2:B9,1) is the same as MAX(B2:B9), and SMALL(B2:B9,1) is the same as MIN(B2:B9). If those two are new to you, start with AVERAGE, MIN and MAX in Excel.

You don't need to sort the data. LARGE and SMALL rank the numbers internally and leave the sheet as it is.

How to sum the top 3 values#

Add three LARGE results, one for each position:

Excel formula
=LARGE(B2:B9,1)+LARGE(B2:B9,2)+LARGE(B2:B9,3)

That's 72,300 + 66,800 + 61,750 = 200,850.

A shorter version gives the same result:

Excel formula
=SUM(LARGE(B2:B9,{1,2,3}))

The curly brackets {1,2,3} are an array constant: a list of values typed straight into the formula. LARGE returns three results, and SUM adds them. Swap SUM for AVERAGE to get the average of the top 3: 66,950. Averages of other data often have long decimals, so you may want to wrap the formula in ROUND, as covered in how to round numbers in Excel.

List the top 3 in separate cells#

To show a leaderboard, put the positions 1, 2 and 3 in their own cells and point k at them. With 1, 2 and 3 in D2:D4, type this in E2 and fill it down to E4:

Excel formula
=LARGE($B$2:$B$9,D2)

E2 shows 72,300, E3 shows 66,800 and E4 shows 61,750. The $ signs lock the sales range so it doesn't slide down as you fill, while D2 moves to D3 and D4. If the $ signs are new to you, read absolute references and the $ sign. Change D4 to 5 and E4 updates to the fifth-highest sale.

How does LARGE handle ties?#

LARGE counts every value, including repeats. It does not skip to the next different number.

Say Fay's sale was entered wrong and was really 72,300, the same as Dev's. Now:

  • =LARGE(B2:B9,1) returns 72,300 (Dev).
  • =LARGE(B2:B9,2) returns 72,300 too (Fay).
  • The top-3 total becomes 72,300 + 72,300 + 61,750 = 206,350.

This is usually what you want: two people both earned the top amount. If you need the second-highest different value, you'd first remove repeats, for example with the UNIQUE function in Microsoft 365: =LARGE(UNIQUE(B2:B9),2).

How to get the name, not just the number#

LARGE returns a number, not the row it came from. To show who made the second-highest sale, look up the result in the sales column and return the name:

Excel formula
=XLOOKUP(LARGE(B2:B9,2),B2:B9,A2:A9)

This returns Fay. XLOOKUP needs Excel 2021 or Microsoft 365. In older Excel, use INDEX and MATCH:

Excel formula
=INDEX(A2:A9,MATCH(LARGE(B2:B9,2),B2:B9,0))

One warning: with ties, both formulas find the first matching row each time, so the same name can appear twice on a leaderboard. Learn more in XLOOKUP for beginners and INDEX MATCH explained. If you want the whole list in order, SORT and SORTBY can sort the table with a formula.

Top values with a condition#

LARGE ranks the whole range. To rank only some rows, such as one region, filter the numbers first. If the regions are in C2:C9, this returns the second-highest sale in the North region:

Excel formula
=LARGE(FILTER(B2:B9,C2:C9="North"),2)

FILTER needs Excel 2021 or Microsoft 365; see the FILTER function. For just the single highest or lowest value with a condition, MAXIFS and MINIFS are simpler, as shown in MAXIFS and MINIFS.

Why does LARGE return #NUM!?#

LARGE returns #NUM! when k doesn't fit the data. The table above has eight numbers, so k must be between 1 and 8.

  • =LARGE(B2:B9,9) returns #NUM!: there is no ninth-largest value.
  • k of 0 or a negative number also returns #NUM!.
  • Blank cells and text are skipped, so they don't count towards the total. If two reps had no sales entered, only six numbers would be left, and k = 7 would fail.

Before you build a "top 10" list, check how many numbers you have with =COUNT(B2:B9). COUNT, COUNTA and COUNTBLANK shows how.

Where LARGE and SMALL are useful at work#

LARGE and SMALL turn up wherever people rank things. Common uses:

  • A sales leaderboard: top 3 reps and their totals.
  • A shortlist: the second-best candidate score, in case the first declines.
  • Cost control: the three largest expenses this month.
  • Supplier checks: the second-lowest quote, when the cheapest is not available.

Once you have the top values, the next question is often how they changed. The percent change formula shows how much the top rep grew compared with last quarter.

Practise it#

Practise LARGE and SMALL in a live spreadsheet: you'll build the leaderboard above, see what happens when two sales tie, total the top 3 and find the second-lowest sale. Then try the runner-up exercise on this page.

Try it yourself

This is a live spreadsheet. Type the formula in the green cell and press Enter.

Find the runner-up score. In D2, type =LARGE(B2:B7,2) and press Enter.

fx
ABCDE
1
Candidate
Test score
2nd highest
2
Lina
78
3
Omar
91
4
Petra
85
5
Quinn
66
6
Ravi
88
7
Sun
72
8
9
10

Tip: LARGE takes the range first, then a comma, then k. The second highest means k = 2.

Practise this in a lesson

LessonLARGE and SMALLFind the second-highest, top 3 or second-lowest value, a favorite interview question.

Frequently asked questions

How do I find the second highest value in Excel?

+

Use =LARGE(range,2), for example =LARGE(B2:B9,2). The 2 tells Excel to return the second-largest number in the range.

How do I sum the top 3 values in Excel?

+

Add three LARGE results: =LARGE(B2:B9,1)+LARGE(B2:B9,2)+LARGE(B2:B9,3). You can also write the shorter =SUM(LARGE(B2:B9,{1,2,3})).

What is the difference between LARGE and MAX?

+

MAX only returns the largest value. LARGE can return any position: the largest, second largest, third largest and so on. LARGE(range,1) gives the same result as MAX.

Why does LARGE return #NUM!?

+

k is bigger than the number of numeric values in the range, or k is 0 or negative. With 8 numbers, k can be 1 to 8.

Does LARGE ignore blank cells and text?

+

Yes. LARGE and SMALL only rank the numbers in the range, so blanks and text are skipped. They do not count towards k.

Sources

  • LARGE function - Microsoft Support
  • SMALL function - Microsoft Support

Written and checked by the ExcelReady Team. First published October 30, 2026. The practice exercise runs in the same formula engine as our lessons. Found a mistake? Read our editorial policy or email hello@excelready.app.

On this page

  1. What does the Excel LARGE function do?
  2. Find the second-highest value
  3. How to sum the top 3 values
  4. How does LARGE handle ties?
  5. How to get the name, not just the number
  6. Top values with a condition
  7. Why does LARGE return #NUM!?
  8. Where LARGE and SMALL are useful at work
  9. Practise it

Keep reading

Math· 6 min read

COUNT, COUNTA and COUNTBLANK: Counting Cells in Excel

The Excel COUNT function counts cells that contain numbers, such as =COUNT(B2:B7). COUNTA counts every cell that isn't empty, numbers and text alike, and COUNTBLANK counts the empty cells. Use =COUNTA(B2:B7)-COUNT(B2:B7) to find values that are filled in but aren't real numbers.

Math· 6 min read

How to Round Numbers in Excel (ROUND, ROUNDUP, ROUNDDOWN)

Use =ROUND(number, digits) to round to a set number of decimal places, so =ROUND(B2,2) turns 3.4567 into 3.46. ROUNDUP always rounds away from zero and ROUNDDOWN always rounds towards zero, using the same two arguments. Unlike number formatting, these functions change the stored value that later formulas use.

Math· 6 min read

Percent Change Formula in Excel (With Examples)

The percent change formula in Excel is =(new-old)/old. If last year's sales are in B2 and this year's in C2, type =(C2-B2)/B2, then press Ctrl+Shift+% to show it as a percentage. A positive result is an increase and a negative result is a decrease. Always divide by the old value.

Don't just read about Excel. Do it.

Practise real formulas in a live spreadsheet with instant feedback. The first lessons are free, with no download.

Start learning for free