
LARGE & SMALL Nth Value Formulas
Extract top-N and bottom-N leaderboards in Excel using LARGE and SMALL. Rank values dynamically without sorting data and handle duplicate scores cleanly.
LARGE & SMALL Nth Value Formulas
When presenting executive sales leaderboards, directors often ask for a Top 3 or Bottom 3 ranking table. While standard MAX and MIN return the single highest and lowest values, they cannot retrieve the second or third place numbers.
Sorting your raw dataset manually disrupts the row order for other colleagues working in the sheet. The LARGE and SMALL formulas extract the Nth largest or smallest values dynamically without touching your raw table order.
LARGE
Returns the k-th largest value in a dataset (e.g. k=1 for highest, k=2 for second highest).
SMALL
Returns the k-th smallest value in a dataset (e.g. k=1 for lowest, k=2 for second lowest).
Quick Comparison: MAX / MIN vs LARGE / SMALL
| Metric Needed | Legacy Formula | Flexible Nth Formula | Requires Sorting Data? |
|---|---|---|---|
| 1st Place (Highest) | =MAX(range) | =LARGE(range, 1) | No |
| 2nd Place (Runner Up) | Not possible | =LARGE(range, 2) | No |
| 1st Lowest (Minimum) | =MIN(range) | =SMALL(range, 1) | No |
| 2nd Lowest | Not possible | =SMALL(range, 2) | No |
How the Ranking Engines Work
1. Syntax of LARGE and SMALL
=LARGE(array, k)
=SMALL(array, k)
- array: The range of numeric data to evaluate.
- k: The position from the highest (for LARGE) or lowest (for SMALL) to return.
2. Handling Ties and Duplicate Values
If two reps tie with identical revenues of $95,000:
=LARGE(Range, 1) ' Returns $95,000
=LARGE(Range, 2) ' Also returns $95,000
LARGE does not skip duplicates. Both occurrences occupy their respective ranks.
3. Dynamic Ranking with ROWS()
Rather than hardcoding numbers 1, 2, 3 into your formula, use an expanding row counter:
=LARGE($C$2:$C$100, ROWS($A$1:A1))
As you copy the formula down, ROWS automatically increments k from 1 to 2 to 3 dynamically.
Real-Life Workplace Scenarios
1. Top Performer Recognition
Sales leadership pulls top revenue producers onto dashboard summary cards.
2. Quality Control Outlier Detection
Manufacturing controllers inspect the 3 slowest production cycle times using SMALL to diagnose assembly bottlenecks.
Common Mistakes to Avoid
- Out-of-Bounds Rank (#NUM!): If you have 5 rows of data and ask for
LARGE(Range, 6)orLARGE(Range, 0), Excel triggers a#NUM!error. - Text Values in Array: Text values are ignored by LARGE and SMALL. If your array contains non-numeric cells, the effective count of available values shrinks.
Build executive leaderboards in our spreadsheet playground below.
Ready to apply LARGE & SMALL Nth Value Formulas in a real workbook?
Analyze variance deviations, averages, and performance metrics across departments.
Open Budget vs Actual Variance AnalysisShare This Lesson
Spread the word with your peers and challenge your friends