Excel LARGE and SMALL: Top 3, bottom values and leaderboards
LARGE returns the k-th largest value and SMALL the k-th smallest. Top-3 sales, a leaderboard with names, the tie trap and judges’ scores — with examples.
MAX gives you the largest number. But managers usually want a top three: “Who are the 3 best salespeople?”, “Which 3 offers are cheapest?”, “Which 5 clients pay latest?”.
LARGE returns the k-th largest value in a list, and SMALL the k-th smallest. With k = 1 they match MAX and MIN; k = 2, 3 … give second, third place.
No need to sort the table: the Top 3 sits in its own spot and updates itself when the data changes.
| A | B | C | D | E | F | G | |
|---|---|---|---|---|---|---|---|
| 1 | Manager | Sales (m) | k | Largest | Smallest | ||
| 2 | Aziz | 48 | 1 | 71 | 39 | ||
| 3 | Dilnoza | 62 | 2 | 62 | 44 | ||
| 4 | Javohir | 55 | 3 | 55 | 48 | ||
| 5 | Malika | 71 | |||||
| 6 | Sardor | 39 | |||||
| 7 | Nodira | 51 | |||||
| 8 | Bobur | 44 | |||||
| 9 |
Syntax
=НАИБОЛЬШИЙ(array; k) — the k-th largest value.
=НАИМЕНЬШИЙ(array; k) — the k-th smallest value.
- array — a range of numbers. Lock it when filling down:
$B$2:$B$8. - k — which position: 1 is the largest (or smallest), 2 the second, and so on. A number or a cell reference.
Empty cells and text are ignored. If k is greater than the count of numbers or less than 1 — #NUM!.
Entering LARGE step by step
1
Type 1, 2, 3 in D2:D4 — these are the k values. Select E2.
2
Формулы → Вставить функцию → category Statistical → LARGE → OK.
| A | B | C | D | E | F | |
|---|---|---|---|---|---|---|
| 1 | Manager | Sales (m) | k | Largest | ||
| 2 | Aziz | 48 | 1 | |||
| 3 | Dilnoza | 62 | 2 | |||
| 4 | ||||||
| 5 |
3
In Array, select B2:B8 and press F4 ($B$2:$B$8); in K, enter D2 and click OK.
| A | B | C | D | E | F | |
|---|---|---|---|---|---|---|
| 1 | Manager | Sales (m) | k | Largest | ||
| 2 | Aziz | 48 | 1 | 71 | ||
| 3 | Dilnoza | 62 | 2 | |||
| 4 | Javohir | 55 | 3 | |||
| 5 | Malika | 71 | ||||
| 6 | Sardor | 39 | ||||
| 7 | Nodira | 51 | ||||
| 8 | Bobur | 44 | ||||
| 9 |
4
Fill E2 down to E4. In F2 type =НАИМЕНЬШИЙ($B$2:$B$8;D2) the same way and fill it down — the bottom three are ready.
| A | B | C | D | E | F | G | |
|---|---|---|---|---|---|---|---|
| 1 | Manager | Sales (m) | Place | Sales | Who | ||
| 2 | Aziz | 48 | 1 | 71 | Malika | ||
| 3 | Dilnoza | 62 | 2 | 62 | Dilnoza | ||
| 4 | Javohir | 55 | 3 | 55 | Javohir | ||
| 5 | Malika | 71 | |||||
| 6 | Sardor | 39 | |||||
| 7 | Nodira | 51 | |||||
| 8 | Bobur | 44 | |||||
| 9 |
| A | B | C | D | E | F | G | |
|---|---|---|---|---|---|---|---|
| 1 | Manager | Sales (m) | Place | Sales | Who | ||
| 2 | Aziz | 48 | 1 | 62 | Dilnoza | ||
| 3 | Dilnoza | 62 | 2 | 62 | Dilnoza | ||
| 4 | Javohir | 55 | 3 | 55 | Javohir | ||
| 5 | Malika | 62 | |||||
| 6 | Sardor | 39 | |||||
| 7 | Nodira | 51 | |||||
| 8 |
| A | B | C | D | |
|---|---|---|---|---|
| 1 | Judge | Score | ||
| 2 | Judge 1 | 8,50 | ||
| 3 | Judge 2 | 9,00 | ||
| 4 | Judge 3 | 7,00 | ||
| 5 | Judge 4 | 8,80 | ||
| 6 | Judge 5 | 9,60 | ||
| 7 | Simple average | 8,58 | ||
| 8 | Final score | 8,77 | ||
| 9 |
Pro level: break ties and build a dynamic Top N
- Automatic k: instead of a k column use
=НАИБОЛЬШИЙ($B$2:$B$8;ЧСТРОК($E$2:E2))— ROWS grows 1, 2, 3 … as you fill down. - Duplicate names: in a helper column add a tiny bump to each amount:
=B2+СТРОКА()/1000000— every value becomes unique, LARGE and MATCH work on that column, and names no longer repeat. - One formula in Excel 365:
=TAKE(СОРТ(A2:B8;2;-1);3)— a correct Top-3 table (name + amount) even with ties. - With a condition:
=НАИБОЛЬШИЙ(ЕСЛИ(A2:A50="Tashkent";C2:C50);2)— the second-largest sale in Tashkent. For k = 1,MAXIFSis simpler. - With dates: SMALL finds the nearest deadline —
=НАИМЕНЬШИЙ(C2:C50;СЧЁТЕСЛИ(C2:C50;"<"&СЕГОДНЯ())+1)— the first payment date after today.
Try it in the simulator
Type =НАИБОЛЬШИЙ($B$2:$B$8;D2) in E2 and =НАИМЕНЬШИЙ($B$2:$B$8;D2) in F2, then fill both down to row 4. Then change 71 in B5 to 30 — how did the Top 3 and the bottom 3 change?
| A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | Manager | Sales (m) | k | Largest | Smallest | |||||||||||||||||||
| 2 | Aziz | 48 | 1 | |||||||||||||||||||||
| 3 | Dilnoza | 62 | 2 | |||||||||||||||||||||
| 4 | Javohir | 55 | 3 | |||||||||||||||||||||
| 5 | Malika | 71 | ||||||||||||||||||||||
| 6 | Sardor | 39 | ||||||||||||||||||||||
| 7 | Nodira | 51 | ||||||||||||||||||||||
| 8 | Bobur | 44 | ||||||||||||||||||||||
| 9 | ||||||||||||||||||||||||
| 10 | ||||||||||||||||||||||||
| 11 | ||||||||||||||||||||||||
| 12 |
Has ExcelLab been useful?
Support the project and help us release new lessons and exercises.