Excel tutorial
/

Data analysis

Intermediate

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.

Книга1 - Excel
—☐✕
fx
ABCD
1EmployeeBranchSales
2AzizTashkent12 500 000
3DilnozaSamarkand8 200 000
4JavohirTashkent15 300 000
5MalikaBukhara6 100 000
6SardorSamarkand10 900 000
7NodiraBukhara11 000 000
8BekzodTashkent9 500 000
9
Готово
Top 3 in green, the lowest result (Bottom 1) in red. When the data changes, the colors move by themselves

Top 10 Items: the best three

1

Select the Sales column (C2:C8) → Главная → Условное форматирование → Top/Bottom Rules → Top 10 Items....

Книга1 - Excel
—☐✕
ФайлГлавнаяВставкаРазметка страницыФормулыДанныеРецензированиеВидСправка
Вставить
Буфер обмена
Calibri ▾11 ▾
Шрифт
Выравнивание
Общий ▾
Число
Условное форматированиеФорматировать как таблицуСтили ячеек
Стили
ВставитьУдалитьФормат
Ячейки
АвтосуммаСортировка и фильтрНайти и выделить
Редактирование
C2fx12500000
ABCD
1EmployeeBranchSales
2AzizTashkent12 500 000
3DilnozaSamarkand8 200 000
4JavohirTashkent15 300 000
5MalikaBukhara6 100 000
6SardorSamarkand10 900 000
7NodiraBukhara11 000 000
8BekzodTashkent9 500 000
9
ГотовоСреднее: 10500000Количество: 7Сумма: 73500000

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.

Книга1 - Excel
—☐✕
C2fx12500000
ABCD
1EmployeeBranchSales
2AzizTashkent12 500 000
3DilnozaSamarkand8 200 000
4JavohirTashkent15 300 000
5MalikaBukhara6 100 000
6SardorSamarkand10 900 000
7NodiraBukhara11 000 000
8BekzodTashkent9 500 000
9
ГотовоСреднее: 10500000Количество: 7Сумма: 73500000

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.

Книга1 - Excel
—☐✕
C2fx12500000
ABCD
1EmployeeBranchSales
2AzizTashkent12 500 000
3DilnozaSamarkand8 200 000
4JavohirTashkent15 300 000
5MalikaBukhara6 100 000
6SardorSamarkand10 900 000
7NodiraBukhara11 000 000
8BekzodTashkent9 500 000
9
ГотовоСреднее: 10500000Количество: 7Сумма: 73500000

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.

Книга1 - Excel
—☐✕
C9fx=СРЗНАЧ(C2:C8)
ABCD
1EmployeeBranchSales
2AzizTashkent12 500 000
3DilnozaSamarkand8 200 000
4JavohirTashkent15 300 000
5MalikaBukhara6 100 000
6SardorSamarkand10 900 000
7NodiraBukhara11 000 000
8BekzodTashkent9 500 000
9Average10 500 000
10
Готово
The average is 10,500,000 — Aziz, Javohir, Sardor and Nodira are above it
Книга1 - Excel
—☐✕
C9fx=СУММ(C2:C8)
ABCD
1EmployeeBranchSales
2AzizTashkent12 500 000
3DilnozaSamarkand8 200 000
4JavohirTashkent15 300 000
5MalikaBukhara6 100 000
6SardorSamarkand10 900 000
7NodiraBukhara11 000 000
8BekzodTashkent9 500 000
9Total73 500 0001
10
ГотовоСреднее: 18375000Количество: 8Сумма: 147000000
C2:C9 is selected: the average jumps to 18,375,000 and Above Average colors only the total (1)

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). LARGE returns 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?

Книга1 - Excel
—☐✕
Буфер обмена
Шрифт
Выравнивание
Число
Стили
Ячейки
Редактирование
✕✓fx
ABCDEFGHIJKLMNOPQRSTUVWX
1EmployeeBranchSalesTop 3?Above average?
2AzizTashkent12500000
3DilnozaSamarkand8200000
4JavohirTashkent15300000
5MalikaBukhara6100000
6SardorSamarkand10900000
7NodiraBukhara11000000
8BekzodTashkent9500000
9
10
11
12
Лист1
Готово

Has ExcelLab been useful?

Support the project and help us release new lessons and exercises.

Support us
Previous

48 / 154