Show the top performers that re-rank automatically. LARGE pulls the Nth-biggest value and INDEX/MATCH fetches its label — a live leaderboard that updates as the data changes.
The example
Top 3 reps by sales.
| A | B | |
|---|---|---|
| 1 | Rank | Name · Value |
| 2 | 1 | Maria · $92k |
| 3 | 2 / 3 | Sam · $88k … |
The formula
The formula:
How it works
How it works:
LARGE(values, n)returns the Nth-largest value (n = 1 is the max).MATCH(…, values, 0)finds that value’s row, andINDEX(names, …)its label.- Fill n = 1, 2, 3… down for a ranked list that re-sorts as data changes.
- Use SMALL instead of LARGE for a bottom-N list.
Break ties so names don’t repeat. If two values are equal, MATCH returns the same row for both, duplicating a name. Add a tiny tiebreaker to the values — value + ROW()/1e6 — before LARGE, or use a helper rank column. On Excel 365, SORTBY/TAKE handle ties cleanly in one spill.
Try it: interactive demo
Values (comma-separated); shows top 3.
Variations
Bottom N
Smallest:
Tie-break values
Unique each:
365 spill
Sorted top N:
Pitfalls & errors
Ties duplicate names. Add a tiebreaker before LARGE or use a rank helper.
n is the rank. LARGE(...,1) is the maximum, not the minimum.
Numbers only. LARGE ignores text — keep the value range numeric.
Practice workbook
Frequently asked questions
How do I make a dynamic top-N list in Excel?
How do I avoid duplicate names from ties?
How do I get the bottom N instead?
Stop fighting formulas. Learn them in a day.
This recipe is one of hundreds of real-world formulas we teach. Our Excel Formulas & Functions class covers lookups, logic, text, and dynamic arrays hands-on — live in Dallas–Fort Worth, Houston, Austin, Oklahoma City, Denver, or online.
See the Formulas & Functions Class