Ravindra BagaleCourses & study guides मराठी Track your progress

2. Data Entry Tools

2.6 Conditional Formatting: Highlight Rules and Top/Bottom

Home › Styles › Conditional Formatting formats cells automatically based on their values.

Menu Rules Example on our data
Highlight Cells Rules Greater Than, Less Than, Between, Equal To, Text that Contains, A Date Occurring, Duplicate Values Delivery Mins > 15 in light red
Top/Bottom Rules Top 10 Items, Top 10%, Bottom 10 Items, Bottom 10%, Above Average, Below Average Top 10 orders by Amount in green

About this data: Teaching sample for a fictional shop “GreenField Dairy”. Figures and names (e.g. Meera Joshi) are made up for this lesson on conditional formatting highlight rules and top.

Steps in Excel

  1. Select M2:M5000 (Delivery Mins).
  2. Home › Styles › Conditional Formatting › Highlight Cells Rules › Greater Than… › 15 › Light Red Fill with Dark Red Text › OK.
  3. Select the Amount column › Conditional Formatting › Top/Bottom Rules › Top 10 Items… › change 10 to 5 › choose a green fill.
  4. Select Order IDs › Highlight Cells Rules › Duplicate Values… to spot repeated orders.
  5. Conditional Formatting › Manage Rules… to edit, reorder or delete rules; Clear Rules to remove.

Worked example. Ravina highlights every Delivered order that took more than 15 minutes in Nagpur (Sitabuldi traffic!). One look at the sheet shows the late deliveries in red.

Ravindra Bagale's Tip

Many students put 5–6 rules on the same range, and then can't tell which rule's colour is showing. Check the order of rules in Manage Rules – the rule at the top applies first – and use Stop If True when needed. Fewer colours, more meaning: 2–3 rules are enough.

Practice task

Highlight: Amount above average (green), Delivery Mins above 15 (red), and duplicate Order IDs (yellow). Open Manage Rules and change the order of rules.

Loading practice tasks...

  1. Pass or fail (Easy): "Pass" if B2 is at least 40, else "Fail".
  2. Total (Easy): B2 plus C2.
  3. Passed score 1 (Easy): How many in B2:B11 are 40 or more?
  4. Passed both (Medium): TRUE if B3 and C3 are both at least 40.
  5. Passed either (Medium): TRUE if B4 or C4 is at least 75.
  6. Grade (Medium): Grade for the average of B2:C2: "A" 75+, "B" 60+, "C" 40+, else "F".
  7. Eligible (Medium): "Eligible" if D5 is at least 75 and B5 at least 40, else "Not eligible".
  8. Count passed both (Hard): How many have both scores at least 40?
  9. Pass percentage (Hard): Share passing score 1, rounded to 2 decimals.
  10. Nested IF band (Hard): "High" if C6 ≥ 75, "Mid" if ≥ 50, else "Low", using nested IF.
  11. Top scorer (Hard): Name with the highest score 1.

Worked example — conditional formatting highlight rules and top

Why

Aamir Khan in Pune and Oliver Bennett abroad both need a clear, repeatable way to use conditional formatting highlight rules and top on a HomeNest Supplies sheet without breaking totals.

What

Conditional Formatting Highlight Rules And Top is the Excel idea this page teaches. We will walk one tiny example end to end.

How

  1. Open a blank sheet. In A1 type a short label for conditional formatting highlight rules and top.
  2. Enter a small made-up value for Aamir Khan using £ where money appears.
  3. Add a second value for Oliver Bennett using € so you see mixed currencies stay numeric.
  4. Apply the method from this lesson step by step (menu or formula as shown above).
  5. Check the result still works inside SUM or a simple check cell.

Formula / action

Follow the formula or ribbon steps shown in this lesson (keep values numeric).
Result: The demo cell shows the expected result for HomeNest Supplies's sample row.
Meaning: Once conditional formatting highlight rules and top is correct on one row, copy the same pattern down the column.

Quick revision cards

Three standalone cards. Each one explains the idea with its own example. Scan the QR to open this lesson.

Revision card 1: What is Conditional Formatting Highlight Rules And Top?
Card 1: What is Conditional Formatting Highlight Rules And Top? · Download PNG
Revision card 2: Tiny example — Conditional Formatting Highlight Rules And Top
Card 2: Tiny example — Conditional Formatting Highlight Rules And Top · Download PNG
Revision card 3: Checklist — Conditional Formatting Highlight Rules And Top
Card 3: Checklist — Conditional Formatting Highlight Rules And Top · Download PNG