Formatting Issues

Highlight Top Three Values in Multiple Excel Ranges with Conditional Formatting

Nimra MalikNimra Malik Nov 10, 2026 869 views

Question details

Highlighting the three largest percentage values within several individual tables of varying sizes.

How to Highlight the Top Three Values in Multiple Ranges
Product
Excel / WPS Spreadsheet
Device & OS
not provided
Scenario
The user has multiple tables with different row counts and needs a way to automatically highlight the top three percentage values inside each specific table up to 100%.
Observed behavior
Standard Top/Bottom rules evaluate all selected cells together, so a custom rule is required to evaluate each table's range individually.
Before you start

Identify the exact cell ranges for each of your tables and ensure the data is formatted as percentages or numbers before applying the conditional formatting rules.

Solution 1Recommended

Use Conditional Formatting with the LARGE Function

Create a custom formula rule using the LARGE function to independently find and highlight the top three values in each specific table range.

When working with multiple tables of varying lengths, a single standard 'Top 10' rule cannot isolate the top values per table. By utilizing a custom conditional formatting formula based on the LARGE function, you can dynamically calculate the top three threshold for each separate data set.

1
Select the target data range

Click and drag to highlight the cells containing the percentage data in your first table (for example, cells A2 through A15).

2
Open Conditional Formatting

Navigate to the Home tab on the ribbon, click on Conditional Formatting, and select New Rule from the dropdown menu.

3
Enter the custom formula

Choose 'Use a formula to determine which cells to format'. In the formula box, type =A2>=LARGE($A$2:$A$15, 3).

4
Set the highlight format

Click the Format button, go to the Fill tab to pick a distinctive color (like light green), and click OK to apply the rule.

5
Repeat for remaining tables

Because the tables have different row counts, repeat these steps for each table, making sure to adjust the formula references (e.g., =C2>=LARGE($C$2:$C$20, 3)) for each specific range.

Use Conditional Formatting with the LARGE Function
Check Cell References: It is critical that the first reference in your formula (A2) is relative so it evaluates every cell, while the range inside the LARGE function ($A$2:$A$15) must be absolute (using dollar signs) so the evaluated range stays locked.
Advanced Formatting in WPS

Highlight Top Values Easily in WPS Spreadsheet

WPS Spreadsheet fully supports advanced conditional formatting and logical functions like LARGE, making it incredibly easy to manage, visualize, and analyze data across complex multi-table layouts.

  1. 1. Open your spreadsheet: Launch WPS Spreadsheet and open the document containing your tables.
  2. 2. Select the table data: Highlight the specific range in your first table that contains the percentage values you want to evaluate.
  3. 3. Apply Conditional Formatting: Go to Home > Conditional Formatting > New Rule and select 'Use a formula to determine which cells to format'.
  4. 4. Input the LARGE formula: Type the formula =A2>=LARGE($A$2:$A$15, 3), set your preferred fill color in the Format menu, and click OK.
100% compatible with Microsoft Excel conditional formatting rules and formulasSupports advanced logical functions including LARGE, SMALL, and custom rulesLightweight desktop application with a familiar, easy-to-use ribbon interface
microsoft office alternative - wps office

Frequently Asked Questions

Why is my conditional formatting highlighting the wrong cells?

This generally happens if your cell references are incorrect. Ensure the first reference in your formula is relative (e.g., A2 without dollar signs) and the range inside the LARGE function is absolute (e.g., $A$2:$A$15 with dollar signs).

Can I highlight the bottom three values using the same method?

Yes, you can easily highlight the bottom three values by replacing the LARGE function with the SMALL function in your formula, and flipping the operator: =A2<=SMALL($A$2:$A$15, 3).

How do I apply this rule to multiple tables at once?

Because each table has a different row count and varying ranges, you cannot reliably select them all at once. You must create a separate conditional formatting rule for each table, adjusting the absolute range inside the LARGE function to match each specific table's dimensions.

What happens if there are duplicate values in the top three?

If the third and fourth largest values in your range are identical, the formula >=LARGE(range, 3) will evaluate as true for both, meaning it may highlight more than three cells to account for the duplicate values.