Excel Tutorial
Excel tutorials, quizzes & AI guides — all levels
RSS
  • Online Excel Exercises
  • Training
  • Excel Tests
  • Sitemap
  • Premium Quizzes
  • Shop
  • My account

Highlight Top / Bottom values with the conditional formatting

Conditional Formatting
Reading time: 3 minutes
Views: 30,324

Highlight the Top or Bottom values can be automatically done with the conditional formatting

  1. Specify the Top or Bottom values

    You can set the number of values you want to highlight

  2. Specify the percentage of Top or Bottom values

    Without a formula, Excel calculates the distribution of your data and applies the color accordingly

Highlight the highest value

Which values are in the top 5 values

To highlight the top 5 values in the following document, we will apply the following steps

  1. Select the range of cells where you have your data (B2:F8)
  2. Select the menu Conditional Formatting > Top/Bottom rules > Top 10 items
Menu conditional formatting Top Bottom
  1. In the next dialog box, you fill in the number of cells you want to highlight; here we fill the value 5.
  2. Also, you select the format you want to apply.
Dialog box to set the number of top values

And immediately, the top 5 values of your document are highlighted.

Highlight the top 5 values

What happens with new data?

Now, we will add data in column G. But the new values aren’t included in the conditional rule. Why?

New values are not included in the conditional rule

The reason is that we have created the rule for the range B2:F8. So, obviously, the values of the column G are not impacted by the rule.

In this situation, we will update the rule

  1. Go to the menu Conditional Formatting > Manage Rules
Menu conditional formatting Manage rules
  1. In the next dialog box, it’s important to select This Worksheet to display all the rules of your document.
Option to display all the conditional formatting rules in a workbook
  1. Then, you change the range of cells to include column G ($B$2:$G$8)
New range to apply the rule of the conditional formatting
  1. Finish by clicking on Ok and then, the rule is applied to all your cells of the document 👍
New top 5 values of the document

Highlight the Top / Bottom percentage

This formatting rule can be misinterpreted by someone who did not construct the document.

In this example, when the option Conditional Formatting > Top/Bottom rules > Top 10% is selected, the result is the following

Highlight the cells representing the 10 top percent of the selection

In this situation, only 4 cells are highlighted. This is because these 4 cells represent the first 10%, in value of the cells. This is also known as the centile in statistics.

Related Articles

  • Conditional Formatting – Color scale
  • Color Row Conditional Formatting in Excel 🎨
  • In Excel, How to Add Icons in your cells?
  • Progress Bar in Excel with Conditional Formatting

Frédéric LE GUEN

Conditional formatting, Percentage

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Most Viewed Posts

  • Displaying Negative Numbers in Parentheses in Excel (310,065)
  • Top 10 Excel Functions You Must Know (232,001)
  • How to make automatic calendar in Excel (212,775)
  • Dash for a zero in Excel automatically (190,812)
  • Converting a Date from YYYYMMDD to DD/MM/YYYY in Excel (171,033)
image excel exercises
Excel Exercises
image excel quizzes
Excel Quizzes

Highlight Top / Bottom values with the conditional formatting

Reading time: 3 minutes
Views: 30,324

Highlight the Top or Bottom values can be automatically done with the conditional formatting

  1. Specify the Top or Bottom values

    You can set the number of values you want to highlight

  2. Specify the percentage of Top or Bottom values

    Without a formula, Excel calculates the distribution of your data and applies the color accordingly

Highlight the highest value

Which values are in the top 5 values

To highlight the top 5 values in the following document, we will apply the following steps

  1. Select the range of cells where you have your data (B2:F8)
  2. Select the menu Conditional Formatting > Top/Bottom rules > Top 10 items
Menu conditional formatting Top Bottom
  1. In the next dialog box, you fill in the number of cells you want to highlight; here we fill the value 5.
  2. Also, you select the format you want to apply.
Dialog box to set the number of top values

And immediately, the top 5 values of your document are highlighted.

Highlight the top 5 values

What happens with new data?

Now, we will add data in column G. But the new values aren’t included in the conditional rule. Why?

New values are not included in the conditional rule

The reason is that we have created the rule for the range B2:F8. So, obviously, the values of the column G are not impacted by the rule.

In this situation, we will update the rule

  1. Go to the menu Conditional Formatting > Manage Rules
Menu conditional formatting Manage rules
  1. In the next dialog box, it’s important to select This Worksheet to display all the rules of your document.
Option to display all the conditional formatting rules in a workbook
  1. Then, you change the range of cells to include column G ($B$2:$G$8)
New range to apply the rule of the conditional formatting
  1. Finish by clicking on Ok and then, the rule is applied to all your cells of the document 👍
New top 5 values of the document

Highlight the Top / Bottom percentage

This formatting rule can be misinterpreted by someone who did not construct the document.

In this example, when the option Conditional Formatting > Top/Bottom rules > Top 10% is selected, the result is the following

Highlight the cells representing the 10 top percent of the selection

In this situation, only 4 cells are highlighted. This is because these 4 cells represent the first 10%, in value of the cells. This is also known as the centile in statistics.

Related Articles

  • Conditional Formatting – Color scale
  • Color Row Conditional Formatting in Excel 🎨
  • In Excel, How to Add Icons in your cells?
  • Progress Bar in Excel with Conditional Formatting
Tags: Conditional formattingPercentage

Frédéric LE GUEN

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Contact us
About me 
Privacy Policy

© 2022 – 2026 – excel-tutorial.com. All Rights Reserved.
Excel Tutorial is managed by majordome du net

Contact us
About me 
Privacy Policy

© 2022 – 2026 – excel-tutorial.com. All Rights Reserved.
Excel Tutorial is managed by majordome du net