Excel Conditional Formatting Exercise 2026

In Excel, conditional formatting is where raw numbers begin to speak.
A dull sheet turns into a signal board—warnings in red, victories in green, patterns glowing quietly in the grid. Practice builds that instinct. Below are 100 practical exercises with datasets and solutions designed the way real office data appears.

To avoid repetition, several exercises share the same dataset. You can paste the dataset once and apply multiple rules.


Dataset 1 – Student Marks

Paste into Excel.

IDNameMathScienceEnglish
S001Rahul786572
S002Ankit455560
S003Neha928891
S004Priya334038
S005Aman677370
S006Riya817984
S007Mohit293540
S008Kavita909288
S009Arjun566158
S010Simran748076

Exercises 1–10 (Basic Highlight Rules)

  1. Highlight marks greater than 85
    • Solution: Highlight Cells → Greater Than → 85
  2. Highlight marks less than 40
    • Solution: Less Than → 40
  3. Highlight marks between 70 and 90
    • Solution: Between → 70–90
  4. Highlight top 3 marks in Math
    • Solution: Top/Bottom Rules → Top 3 Items
  5. Highlight bottom 2 Science marks
    • Solution: Bottom Rules → Bottom 2
  6. Highlight duplicate scores
    • Solution: Duplicate Values
  7. Highlight students scoring exactly 90
    • Rule: Equal To → 90
  8. Highlight cells containing value 40
    • Rule: Equal To → 40
  9. Highlight marks above average
    • Rule: Above Average
  10. Highlight marks below average
  • Rule: Below Average

Exercises 11–20 (Color Scales)

Select marks columns.

  1. Apply Green-Yellow-Red color scale
  2. Apply Red-Yellow-Green color scale
  3. Apply Blue data gradient
  4. Apply color scale only to Math column
  5. Apply color scale to all subjects
  6. Highlight highest marks using darkest color
  7. Highlight lowest marks using light color
  8. Compare Science scores using color scale
  9. Compare English scores visually
  10. Apply 3-color scale using:
  • Minimum = Red
  • Midpoint = Yellow
  • Maximum = Green

Dataset 2 – Employee Attendance

EmpIDNameDepartmentAttendance
E001AmitSales96
E002RiyaSales82
E003MohanHR91
E004PoojaMarketing75
E005AnilSales89
E006NehaHR93
E007RahulMarketing70
E008KavitaSales97
E009ArjunIT88
E010MeenaSales84

Exercises 21–30 (Attendance Rules)

  1. Highlight attendance below 75
  • Rule: Less Than 75
  1. Highlight above 95
  2. Highlight Sales department
  3. Highlight HR department
  4. Highlight attendance between 80–90
  5. Highlight top 2 attendance
  6. Highlight bottom 2 attendance
  7. Apply data bars
  8. Highlight attendance above average
  9. Highlight attendance below average

Dataset 3 – Sales Data

ProductRegionSales
LaptopNorth85000
MobileSouth42000
TabletEast30000
LaptopWest95000
MobileNorth50000
TabletSouth27000
LaptopEast78000
MobileWest61000
TabletNorth35000
LaptopSouth88000

Exercises 31–40 (Sales Rules)

  1. Highlight sales above 80,000
  2. Highlight below 30,000
  3. Highlight top 5 sales
  4. Apply green data bars
  5. Apply icon sets
  6. Highlight Laptop product rows
  7. Highlight North region
  8. Highlight duplicate products
  9. Apply 3 color scale
  10. Highlight highest sales value

Dataset 4 – Task Deadlines

TaskAssignedDeadlineStatus
WebsiteRahul10-MarPending
ReportNeha05-MarCompleted
AnalysisAmit08-MarPending
MeetingPooja04-MarOverdue
DatabaseArjun12-MarPending

Exercises 41–50 (Date Rules)

  1. Highlight overdue tasks

Formula:

=TODAY()>C2
  1. Highlight tasks due today
=C2=TODAY()
  1. Highlight tasks within next 3 days
=C2<=TODAY()+3
  1. Highlight Completed tasks
  2. Highlight Pending tasks
  3. Highlight Overdue tasks in red
  4. Highlight future deadlines
  5. Highlight tasks assigned to Rahul
  6. Highlight tasks due this week
  7. Highlight earliest deadline

Dataset 5 – Inventory Stock

ItemCategoryStock
MouseElectronics150
KeyboardElectronics80
MonitorElectronics40
ChairFurniture25
TableFurniture60
LaptopElectronics20
PrinterElectronics35
FanElectrical75
LightElectrical120
ACElectrical10

Exercises 51–60 (Stock Alerts)

  1. Highlight stock below 30
  2. Highlight stock above 100
  3. Highlight Electronics category
  4. Highlight Furniture items
  5. Apply data bars to stock
  6. Apply icon sets
  7. Highlight lowest stock
  8. Highlight highest stock
  9. Highlight top 3 items
  10. Highlight bottom 3 items

Advanced Formula Exercises

Exercises 61–70

  1. Highlight rows where sales > 80000
=$C2>80000
  1. Highlight rows where attendance <80
=$D2<80
  1. Highlight students scoring above 90 in any subject
  2. Highlight rows where status = Pending
=$D2="Pending"
  1. Highlight duplicate employee IDs
  2. Highlight rows where stock < average
  3. Highlight sales greater than average
  4. Highlight maximum value
  5. Highlight minimum value
  6. Highlight values divisible by 5

Pattern Recognition Exercises

Exercises 71–80

  1. Highlight even numbers
=MOD(A1,2)=0
  1. Highlight odd numbers
  2. Highlight values divisible by 10
  3. Highlight numbers greater than median
  4. Highlight numbers between average ±10
  5. Highlight top 10% values
  6. Highlight bottom 10%
  7. Highlight values repeated more than twice
  8. Highlight largest value in each column
  9. Highlight smallest value in each row

Real Office Scenario Exercises

Exercises 81–100

  1. Highlight employees with perfect attendance
  2. Highlight students scoring distinction (>85)
  3. Highlight failed students (<40)
  4. Highlight high sales regions
  5. Highlight inventory shortage
  6. Highlight tasks overdue
  7. Highlight duplicate product entries
  8. Highlight rows containing “Laptop”
  9. Highlight weekend dates
  10. Highlight monthly highest sales
  11. Highlight rows where stock < 20
  12. Highlight top performing employee
  13. Highlight lowest performing employee
  14. Highlight sales target achieved
  15. Highlight sales target missed
  16. Highlight department HR
  17. Highlight records updated today
  18. Highlight values above 2nd highest
  19. Highlight rows containing text “Pending”
  20. Highlight entire row where sales > 90,000

Formula:

=$C2>90000

Apply rule to entire table.


If you want more exercise, then Comment Topic:


Leave a Reply

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