Highlighting the Largest Values in a Column

Written by Allen Wyatt (last updated November 29, 2025)
This tip applies to Excel 2007, 2010, 2013, 2016, 2019, 2021, 2024, and Excel in Microsoft 365


Barry has a column of data that contains numeric values. He would like to use a conditional formatting rule to highlight the three largest values in the column. He wonders if there is a special trick to applying conditional formatting to a column, as he cannot seem to get the values to highlight properly.

There is a very easy way to do this using conditional formatting. Just follow these steps:

  1. Select the cells to which you want the conditional formatting rule applied. (I'm going to assume that the values are in the range A1:A200.)
  2. Display the Home tab of the ribbon.
  3. Click on the Conditional Formatting tool. Excel displays a group of options.
  4. Choose the New Rule option. Excel displays the New Formatting Rule dialog box.
  5. In the Select a Rule Type area, choose Format Only Top or Bottom Ranked Values. Excel updates the dialog box to reflect your choice.
  6. Change the "Format Values that Rank In the" setting from "Top 10" to "Top 3." (See Figure 1.)
  7. Figure 1. The New Formatting Rule dialog box.

  8. Use the formatting controls in the dialog box to indicate how you want the top 3 values to be formatted.
  9. Click on OK. Excel saves and immediately applies the conditional formatting rule.

You need to realize that it is possible for more than three values to quality as the "top 3." For instance, if the top value is 324 and six cells contain that value, then all six will be formatted. In other words, ties in the ranking affects how the rule applies.

ExcelTips is your source for cost-effective Microsoft Excel training. This tip (10142) applies to Microsoft Excel 2007, 2010, 2013, 2016, 2019, 2021, 2024, and Excel in Microsoft 365.

Author Bio

Allen Wyatt

With more than 50 non-fiction books and numerous magazine articles to his credit, Allen Wyatt is an internationally recognized author. He is president of Sharon Parq Associates, a computer and publishing services company. ...

MORE FROM ALLEN

Inserting a Radical Symbol

The radical symbol is used frequently in some branches of mathematics. If you want to insert a radical symbol in a cell, ...

Discover More

ExcelTips: Times and Dates (Table of Contents)

Excel is great at storing all types of data, including times and dates. ExcelTips: Times and Dates provides the ...

Discover More

Generating a List of Hyperlink Targets

Word makes it easy to add hyperlinks to your documents. If you want to get a list of those hyperlinks, that's a different ...

Discover More

Create Custom Apps with VBA! Discover how to extend the capabilities of Office 365 applications with VBA programming. Written in clear terms and understandable language, the book includes systematic tutorials and contains both intermediate and advanced content for experienced VB developers. Designed to be comprehensive, the book addresses not just one Office application, but the entire Office suite. Check out Mastering VBA for Microsoft Office 365 today!

More ExcelTips (ribbon)

Finding Cells that Use Conditional Formatting

Conditional Formatting is a great boon to effectively displaying the information in your worksheets. If you want to ...

Discover More

Conditionally Making a Sound

Need to have a sound played if a certain condition is met? It is rather easy to do if you use a user-defined function to ...

Discover More

Conditionally Formatting Cells Containing Dates

Need to know if a particular cell contains a date value? Excel doesn't have a worksheet function to determine this ...

Discover More
Subscribe

FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."

View most recent newsletter.

Comments

If you would like to add an image to your comment (not an avatar, but an image to help in making the point of your comment), include the characters [{fig}] (all 7 characters, in the sequence shown) in your comment text. You’ll be prompted to upload your image when you submit the comment. Maximum image size is 6Mpixels. Images larger than 600px wide or 1000px tall will be reduced. Up to three images may be included in a comment. All images are subject to review. Commenting privileges may be curtailed if inappropriate images are posted.

What is 9 + 0?

There are currently no comments for this tip. (Be the first to leave your comment—just use the simple form above!)


This Site

Got a version of Excel that uses the ribbon interface (Excel 2007 or later)? This site is for you! If you use an earlier version of Excel, visit our ExcelTips site focusing on the menu interface.

Newest Tips
Subscribe

FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."

(Your e-mail address is not shared with anyone, ever.)

View the most recent newsletter.