ExcelReady
CourseMock testsFunction guidesBlog
Start freeStart learning for free
ExcelReady

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

Learn

  • Course
  • Mock tests
  • Function guides
  • Blog

Test prep

  • Excel level test
  • Excel test practice
  • Free screening quiz
  • Certificate

Company

  • Editorial policy
  • Contact
  • Terms
  • Privacy

© 2026 ExcelReady. All rights reserved.

  1. Blog
  2. Comparisons
  3. RANK vs LARGE in Excel: Position vs Value

RANK vs LARGE in Excel: Position vs Value

By ExcelReady Team·Updated November 1, 2026·7 min read

The short answer

RANK and LARGE answer opposite questions. RANK takes a value and returns its position: =RANK(B2,$B$2:$B$7) says whether B2 is 1st, 2nd or 5th. LARGE takes a position and returns the value: =LARGE(B2:B7,2) gives the second highest number. Use RANK to label every row, and LARGE to build a top-N list.

Key takeaways

  • RANK(number, ref) returns a position; LARGE(array, k) returns a value.
  • They are inverses: LARGE(range, RANK(x, range)) gives back x.
  • Ties share a rank in RANK, and the next rank is skipped; LARGE simply returns the tied value twice.
  • LARGE returns #NUM! when k is 0 or larger than the number of values.
On this page+
  1. RANK vs LARGE at a glance
  2. How RANK and LARGE work
  3. The same sales list with RANK and LARGE
  4. Showing names, not just numbers
  5. When to use RANK
  6. When to use LARGE
  7. Common mistakes with RANK and LARGE
  8. Our recommendation
  9. Practise it

The short answer to RANK vs LARGE in Excel: they work in opposite directions. RANK takes a value and tells you its position in a list, such as 3rd. LARGE takes a position and gives you the value in that spot, such as the third highest number. This comparison is for anyone building leaderboards, sales rankings or top-5 reports, and for anyone who has mixed the two up in a test.

RANK vs LARGE at a glance#

RANK turns values into positions; LARGE turns positions into values.

FeatureRANKLARGE
Syntax=RANK(number, ref, [order])=LARGE(array, k)
You give itA value and a listA list and a position (k)
It returnsA position (1, 2, 3...)A value (950, 910...)
Typical useA rank column next to every rowA top-N list or the k-th highest value
DirectionHighest = 1 by default; order 1 for lowest = 1Always counts from the highest (use SMALL for lowest)
TiesSame rank, next rank skippedTied value returned for each position
Common error#N/A if the number isn't in the list#NUM! if k is out of range
Newer versionsRANK.EQ and RANK.AVG (Excel 2010 and later)Not needed
Excel versionsAll versionsAll versions

How RANK and LARGE work#

Both functions look at the same list of numbers; they just take and return different things.

RANK: from value to position#

RANK returns the position of a number within a list of numbers.

Excel formula
=RANK(number, ref, [order])
  • number is the value to rank, usually the cell on the same row.
  • ref is the whole list. Lock it with dollar signs, such as $B$2:$B$7, so it doesn't move when you fill down.
  • order is optional. Leave it out (or use 0) to rank the highest value as 1. Use 1 to rank the lowest value as 1, which suits race times or costs.

RANK.EQ works exactly like RANK. RANK.AVG differs only with ties, as shown below. The guide to the RANK function covers both in more depth.

LARGE: from position to value#

LARGE returns the k-th largest value in a range.

Excel formula
=LARGE(array, k)
  • array is the range of numbers.
  • k is the position you want: 1 for the highest, 2 for the second highest, and so on.

=LARGE(B2:B7,1) gives the same result as MAX. SMALL is the mirror image: =SMALL(B2:B7,1) gives the lowest value, like MIN. The comparison of MAX vs LARGE explains when each fits, and the LARGE and SMALL lesson practises both.

The same sales list with RANK and LARGE#

Here are six reps and their sales:

ABC
1RepSales=RANK(B2,$B$2:$B$7)
2Priya8205
3Tom9501
4Lena7706
5Kofi8803
6Mei9102
7Ana8803

RANK fills a column with each rep's position. Kofi and Ana are tied on 880, so both get 3, and no one gets 4. Priya, the next value, gets 5.

Now use LARGE to list the values from the top:

k=LARGE($B$2:$B$7,k)
1950
2910
3880
4880
5820

LARGE doesn't skip anything: the tied value 880 appears at positions 3 and 4. Asking for k = 7 returns #NUM!, because there are only six numbers. The guide to the #NUM! error lists other causes.

The two are inverses#

Because they work in opposite directions, each undoes the other. =RANK(910,$B$2:$B$7) returns 2, and =LARGE($B$2:$B$7,2) returns 910. Thinking of them as a pair makes it easy to remember which is which: RANK answers "where?", LARGE answers "what?"

Showing names, not just numbers#

LARGE returns values, but a top-N report usually needs names. Combine LARGE with INDEX and MATCH:

Excel formula
=INDEX($A$2:$A$7,MATCH(LARGE($B$2:$B$7,2),$B$2:$B$7,0))

This returns Mei, the rep with the second highest sales. LARGE finds 910, MATCH finds its row, and INDEX returns the name.

Ties cause a problem here. For k = 3 and k = 4, LARGE returns 880 both times, and MATCH finds the first 880 both times, so Kofi appears twice and Ana not at all. In Excel 2021 or Microsoft 365, SORTBY avoids this:

Excel formula
=INDEX(SORTBY($A$2:$A$7,$B$2:$B$7,-1),4)

This returns Ana, the fourth name in a list sorted by sales. The guides to top-N lists and LARGE and SMALL for top N show complete layouts.

Breaking ties in RANK#

If every row needs a unique rank, add a running count of earlier duplicates:

Excel formula
=RANK(B2,$B$2:$B$7)+COUNTIF($B$2:B2,B2)-1

Kofi (row 5) stays at 3 and Ana (row 7) becomes 4, because her 880 is the second one in the list. The mixed reference $B$2:B2 grows as you fill down. To share ties fairly instead, use RANK.AVG, which gives both 880s a rank of 3.5.

When to use RANK#

Use RANK when every row needs its position. It fits:

  • Leaderboards and league tables, with a rank column next to each name.
  • Performance reviews, such as ranking stores or reps by sales.
  • Flagging the top group, such as =IF(RANK(B2,$B$2:$B$7)<=3,"Top 3","").
  • Lowest-is-best rankings, such as race times or costs, using order 1.
  • Readable positions, such as showing that a rep is 2nd of 6, by joining the rank and a count: =RANK(B2,$B$2:$B$7)&" of "&COUNT($B$2:$B$7).

When to use LARGE#

Use LARGE when you need values from a chosen position. It fits:

  • Top-N lists, such as the three highest sales: k = 1, 2 and 3.
  • The k-th highest value, such as the second best score for a tie-break rule.
  • Totals of the top values: =SUM(LARGE(B2:B7,{1,2,3})) adds the top three, 2,740 here.
  • Thresholds, such as "anyone at or above the 3rd highest score qualifies".

Common mistakes with RANK and LARGE#

  1. Using one when you need the other. If the question asks for a position, use RANK; if it asks for a value, use LARGE.
  2. Not locking the RANK list. Without $B$2:$B$7, the range shifts as you fill down and the ranks go wrong.
  3. Forgetting how ties work. RANK skips the next position after a tie, so a list can have no rank 4.
  4. Using k outside the range. LARGE needs k from 1 to the count of numbers, or you get #NUM!.
  5. Looking up names with MATCH when values tie. The first match is returned every time. Use SORTBY or a tie-breaker column.
  6. Ranking text or blanks. RANK and LARGE ignore text and empty cells in the list. Numbers stored as text are left out, which can make ranks look wrong.

Our recommendation#

Use RANK to label rows with their position, and LARGE to pull out values by position. For a full leaderboard, you often need both: RANK for the column next to each name, and LARGE (or SORTBY in newer Excel) for a top-N summary above it. Decide early how ties should be handled, and use RANK.AVG or a tie-breaker formula if shared ranks would confuse readers.

In short: RANK answers "where does this value stand?", LARGE answers "what value stands here?"

Practise it#

Try the exercise on this page: rank a rep's sales against the whole list. Then practise LARGE and SMALL in a live spreadsheet: you type each formula, and it checks your answer instantly.

Try it yourself

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

In C2, use RANK to find Priya's position in the sales list, with the highest sales ranked 1. Lock the list range so the formula could be filled down.

fx
ABCD
1
Rep
Sales
Rank
2
Priya
820
3
Tom
950
4
Lena
770
5
Kofi
880
6
Mei
910
7
Ana
880
8
9
10

Tip: RANK needs the value to rank (B2) and the whole list ($B$2:$B$7). Leaving out the third argument ranks the highest value as 1.

Practise this in a lesson

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

Frequently asked questions

What is the difference between RANK and LARGE in Excel?

+

RANK gives the position of a number within a list, such as 3 for third highest. LARGE gives the number at a position you choose, such as the third highest value. One turns values into positions, the other turns positions into values.

How does RANK handle ties?

+

Tied values get the same rank, and the next rank is skipped. Two values tied for 3rd both get 3, and the next value gets 5. RANK.AVG gives tied values the average rank, 3.5, instead.

What is the difference between RANK and RANK.EQ?

+

None in results. RANK.EQ was added in Excel 2010 with RANK.AVG, and RANK is kept for compatibility. Both give tied values the same top rank.

Why does LARGE return #NUM!?

+

The k value is 0, negative, or bigger than the number of numeric values in the range. For example, =LARGE(B2:B7,7) fails when the range holds six numbers.

How do I rank from smallest to largest?

+

Add 1 as the third argument: =RANK(B2,$B$2:$B$7,1). The smallest value then gets rank 1. For values, use SMALL instead of LARGE.

Sources

  • RANK.EQ function - Microsoft Support
  • LARGE function - Microsoft Support
  • SMALL function - Microsoft Support

Written and checked by the ExcelReady Team. First published November 1, 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. RANK vs LARGE at a glance
  2. How RANK and LARGE work
  3. The same sales list with RANK and LARGE
  4. Showing names, not just numbers
  5. When to use RANK
  6. When to use LARGE
  7. Common mistakes with RANK and LARGE
  8. Our recommendation
  9. Practise it

Keep reading

Comparisons· 7 min read

MAX vs LARGE in Excel

MAX returns the single largest number in a range. LARGE returns the k-th largest: LARGE(range,1) is the same as MAX, LARGE(range,2) is the second largest, and so on. Use MAX when you only need the top value and LARGE when you need the runner-up, a top 3 or any position below first.

Math· 6 min read

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

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.

Math· 6 min read

RANK Function in Excel: Rank Scores and Sales

RANK.EQ returns a number's position in a list. Write =RANK.EQ(B2,$B$2:$B$8) to rank the value in B2 against the whole column, with the largest value ranked 1. Add a third argument of 1 to rank smallest first. Tied values share a rank and the next rank is skipped. RANK does the same job and still works in every version of Excel.

Don't just read about Excel. Do it.

Practise real formulas in a live spreadsheet with instant feedback, right in your browser. Nothing to download.

Start learning for free