Highlight top and bottom values in Excel: Top 10, Bottom 10 and Above Average
Top/Bottom Rules: automatically color the top 3 employees, the bottom 10% of sales or above-average results. Traps with ties and total rows, plus pro tricks with LARGE.
Top/Bottom Rules work with a ranking, not a fixed threshold: “the 3 best sellers”, “the bottom 10% of branches”, “above-average results”. You don’t calculate the cut-off yourself — Excel finds it from the data every time.
For example, to highlight the month’s three best sellers for a bonus, writing “greater than 12,000,000” is wrong: next month the cut-off will be different. A Top 3 rule finds the right three every month.
| A | B | C | D | |
|---|---|---|---|---|
| 1 | Employee | Branch | Sales | |
| 2 | Aziz | Tashkent | 12 500 000 | |
| 3 | Dilnoza | Samarkand | 8 200 000 | |
| 4 | Javohir | Tashkent | 15 300 000 | |
| 5 | Malika | Bukhara | 6 100 000 | |
| 6 | Sardor | Samarkand | 10 900 000 | |
| 7 | Nodira | Bukhara | 11 000 000 | |
| 8 | Bekzod | Tashkent | 9 500 000 | |
| 9 |
Top 10 Items: the best three
1
Select the Sales column (C2:C8) → Главная → Условное форматирование → Top/Bottom Rules → Top 10 Items....
| A | B | C | D | |
|---|---|---|---|---|
| 1 | Employee | Branch | Sales | |
| 2 | Aziz | Tashkent | 12 500 000 | |
| 3 | Dilnoza | Samarkand | 8 200 000 | |
| 4 | Javohir | Tashkent | 15 300 000 | |
| 5 | Malika | Bukhara | 6 100 000 | |
| 6 | Sardor | Samarkand | 10 900 000 | |
| 7 | Nodira | Bukhara | 11 000 000 | |
| 8 | Bekzod | Tashkent | 9 500 000 | |
| 9 |
2
Despite the name “Top 10”, you choose the number: type 3 (or use the arrows) and pick a format — Green Fill with Dark Green Text.
| A | B | C | D | |
|---|---|---|---|---|
| 1 | Employee | Branch | Sales | |
| 2 | Aziz | Tashkent | 12 500 000 | |
| 3 | Dilnoza | Samarkand | 8 200 000 | |
| 4 | Javohir | Tashkent | 15 300 000 | |
| 5 | Malika | Bukhara | 6 100 000 | |
| 6 | Sardor | Samarkand | 10 900 000 | |
| 7 | Nodira | Bukhara | 11 000 000 | |
| 8 | Bekzod | Tashkent | 9 500 000 | |
| 9 |
3
Click OK. Javohir, Aziz and Nodira turn green. For the lowest result, do the same with Bottom 10 Items... → 1 → a red format. For percentages, use Top 10%... / Bottom 10%... — for example, the top 20% of customers in a large table.
Above Average
1
Select C2:C8 → Top/Bottom Rules → Above Average.... No number is needed — Excel calculates the range’s average itself. Pick a format and click OK.
| A | B | C | D | |
|---|---|---|---|---|
| 1 | Employee | Branch | Sales | |
| 2 | Aziz | Tashkent | 12 500 000 | |
| 3 | Dilnoza | Samarkand | 8 200 000 | |
| 4 | Javohir | Tashkent | 15 300 000 | |
| 5 | Malika | Bukhara | 6 100 000 | |
| 6 | Sardor | Samarkand | 10 900 000 | |
| 7 | Nodira | Bukhara | 11 000 000 | |
| 8 | Bekzod | Tashkent | 9 500 000 | |
| 9 |
2
To see what the average is, type =СРЗНАЧ(C2:C8) next to the table — 10,500,000. Four employees are above it, and those are colored. Both the rule and the formula recalculate as soon as the data changes.
| A | B | C | D | |
|---|---|---|---|---|
| 1 | Employee | Branch | Sales | |
| 2 | Aziz | Tashkent | 12 500 000 | |
| 3 | Dilnoza | Samarkand | 8 200 000 | |
| 4 | Javohir | Tashkent | 15 300 000 | |
| 5 | Malika | Bukhara | 6 100 000 | |
| 6 | Sardor | Samarkand | 10 900 000 | |
| 7 | Nodira | Bukhara | 11 000 000 | |
| 8 | Bekzod | Tashkent | 9 500 000 | |
| 9 | Average | 10 500 000 | ||
| 10 |
| A | B | C | D | |
|---|---|---|---|---|
| 1 | Employee | Branch | Sales | |
| 2 | Aziz | Tashkent | 12 500 000 | |
| 3 | Dilnoza | Samarkand | 8 200 000 | |
| 4 | Javohir | Tashkent | 15 300 000 | |
| 5 | Malika | Bukhara | 6 100 000 | |
| 6 | Sardor | Samarkand | 10 900 000 | |
| 7 | Nodira | Bukhara | 11 000 000 | |
| 8 | Bekzod | Tashkent | 9 500 000 | |
| 9 | Total | 73 500 0001 | ||
| 10 |
More Rules: fine-tuning
Top/Bottom Rules → More Rules... lets you refine the preset rules:
- Format only top or bottom ranked values — Top/Bottom, a number or % of the selected range.
- Format only values that are above or below average — the list offers above, below, equal or above, equal or below, plus options like 1 std dev above / 2 std dev below. Standard deviation rules are handy for spotting outliers — unusually large or small amounts.
Pro level: whole rows with LARGE and rankings within each branch
The preset Top/Bottom rules color only the cell itself and rank across the whole range. A formula rule removes both limits.
- The whole row of the top 3: select A2:C8 → New Rule → Use a formula →
=$C2>=НАИБОЛЬШИЙ($C$2:$C$8;3).LARGEreturns the third-largest value, and rows greater than or equal to it are colored. - Put N in a cell:
=$C2>=НАИБОЛЬШИЙ($C$2:$C$8;$F$1)— type 5 in F1 and you get the top 5. - The best in each branch:
=СЧЁТЕСЛИМН($B$2:$B$8;$B2;$C$2:$C$8;">"&$C2)=0— if no one in the same branch sold more, the row is colored. - The bottom end:
SMALL— the same idea for the smallest values.
Try it in the simulator
Check the rules’ logic with formulas: type =C2>=НАИБОЛЬШИЙ($C$2:$C$8;3) (Top 3) in D2 and =C2>СРЗНАЧ($C$2:$C$8) (above average) in E2, then fill both down to row 8. Next, change Bekzod’s sales in C8 to 11000000 — how many TRUE values does column D show now?
| 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 | Employee | Branch | Sales | Top 3? | Above average? | |||||||||||||||||||
| 2 | Aziz | Tashkent | 12500000 | |||||||||||||||||||||
| 3 | Dilnoza | Samarkand | 8200000 | |||||||||||||||||||||
| 4 | Javohir | Tashkent | 15300000 | |||||||||||||||||||||
| 5 | Malika | Bukhara | 6100000 | |||||||||||||||||||||
| 6 | Sardor | Samarkand | 10900000 | |||||||||||||||||||||
| 7 | Nodira | Bukhara | 11000000 | |||||||||||||||||||||
| 8 | Bekzod | Tashkent | 9500000 | |||||||||||||||||||||
| 9 | ||||||||||||||||||||||||
| 10 | ||||||||||||||||||||||||
| 11 | ||||||||||||||||||||||||
| 12 |
Has ExcelLab been useful?
Support the project and help us release new lessons and exercises.