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.
| ID | Name | Math | Science | English |
|---|---|---|---|---|
| S001 | Rahul | 78 | 65 | 72 |
| S002 | Ankit | 45 | 55 | 60 |
| S003 | Neha | 92 | 88 | 91 |
| S004 | Priya | 33 | 40 | 38 |
| S005 | Aman | 67 | 73 | 70 |
| S006 | Riya | 81 | 79 | 84 |
| S007 | Mohit | 29 | 35 | 40 |
| S008 | Kavita | 90 | 92 | 88 |
| S009 | Arjun | 56 | 61 | 58 |
| S010 | Simran | 74 | 80 | 76 |
Exercises 1–10 (Basic Highlight Rules)
- Highlight marks greater than 85
- Solution: Highlight Cells → Greater Than → 85
- Highlight marks less than 40
- Solution: Less Than → 40
- Highlight marks between 70 and 90
- Solution: Between → 70–90
- Highlight top 3 marks in Math
- Solution: Top/Bottom Rules → Top 3 Items
- Highlight bottom 2 Science marks
- Solution: Bottom Rules → Bottom 2
- Highlight duplicate scores
- Solution: Duplicate Values
- Highlight students scoring exactly 90
- Rule: Equal To → 90
- Highlight cells containing value 40
- Rule: Equal To → 40
- Highlight marks above average
- Rule: Above Average
- Highlight marks below average
- Rule: Below Average
Exercises 11–20 (Color Scales)
Select marks columns.
- Apply Green-Yellow-Red color scale
- Apply Red-Yellow-Green color scale
- Apply Blue data gradient
- Apply color scale only to Math column
- Apply color scale to all subjects
- Highlight highest marks using darkest color
- Highlight lowest marks using light color
- Compare Science scores using color scale
- Compare English scores visually
- Apply 3-color scale using:
- Minimum = Red
- Midpoint = Yellow
- Maximum = Green
Dataset 2 – Employee Attendance
| EmpID | Name | Department | Attendance |
|---|---|---|---|
| E001 | Amit | Sales | 96 |
| E002 | Riya | Sales | 82 |
| E003 | Mohan | HR | 91 |
| E004 | Pooja | Marketing | 75 |
| E005 | Anil | Sales | 89 |
| E006 | Neha | HR | 93 |
| E007 | Rahul | Marketing | 70 |
| E008 | Kavita | Sales | 97 |
| E009 | Arjun | IT | 88 |
| E010 | Meena | Sales | 84 |
Exercises 21–30 (Attendance Rules)
- Highlight attendance below 75
- Rule: Less Than 75
- Highlight above 95
- Highlight Sales department
- Highlight HR department
- Highlight attendance between 80–90
- Highlight top 2 attendance
- Highlight bottom 2 attendance
- Apply data bars
- Highlight attendance above average
- Highlight attendance below average
Dataset 3 – Sales Data
| Product | Region | Sales |
|---|---|---|
| Laptop | North | 85000 |
| Mobile | South | 42000 |
| Tablet | East | 30000 |
| Laptop | West | 95000 |
| Mobile | North | 50000 |
| Tablet | South | 27000 |
| Laptop | East | 78000 |
| Mobile | West | 61000 |
| Tablet | North | 35000 |
| Laptop | South | 88000 |
Exercises 31–40 (Sales Rules)
- Highlight sales above 80,000
- Highlight below 30,000
- Highlight top 5 sales
- Apply green data bars
- Apply icon sets
- Highlight Laptop product rows
- Highlight North region
- Highlight duplicate products
- Apply 3 color scale
- Highlight highest sales value
Dataset 4 – Task Deadlines
| Task | Assigned | Deadline | Status |
|---|---|---|---|
| Website | Rahul | 10-Mar | Pending |
| Report | Neha | 05-Mar | Completed |
| Analysis | Amit | 08-Mar | Pending |
| Meeting | Pooja | 04-Mar | Overdue |
| Database | Arjun | 12-Mar | Pending |
Exercises 41–50 (Date Rules)
- Highlight overdue tasks
Formula:
=TODAY()>C2- Highlight tasks due today
=C2=TODAY()- Highlight tasks within next 3 days
=C2<=TODAY()+3- Highlight Completed tasks
- Highlight Pending tasks
- Highlight Overdue tasks in red
- Highlight future deadlines
- Highlight tasks assigned to Rahul
- Highlight tasks due this week
- Highlight earliest deadline
Dataset 5 – Inventory Stock
| Item | Category | Stock |
|---|---|---|
| Mouse | Electronics | 150 |
| Keyboard | Electronics | 80 |
| Monitor | Electronics | 40 |
| Chair | Furniture | 25 |
| Table | Furniture | 60 |
| Laptop | Electronics | 20 |
| Printer | Electronics | 35 |
| Fan | Electrical | 75 |
| Light | Electrical | 120 |
| AC | Electrical | 10 |
Exercises 51–60 (Stock Alerts)
- Highlight stock below 30
- Highlight stock above 100
- Highlight Electronics category
- Highlight Furniture items
- Apply data bars to stock
- Apply icon sets
- Highlight lowest stock
- Highlight highest stock
- Highlight top 3 items
- Highlight bottom 3 items
Advanced Formula Exercises
Exercises 61–70
- Highlight rows where sales > 80000
=$C2>80000
- Highlight rows where attendance <80
=$D2<80
- Highlight students scoring above 90 in any subject
- Highlight rows where status = Pending
=$D2="Pending"
- Highlight duplicate employee IDs
- Highlight rows where stock < average
- Highlight sales greater than average
- Highlight maximum value
- Highlight minimum value
- Highlight values divisible by 5
Pattern Recognition Exercises
Exercises 71–80
- Highlight even numbers
=MOD(A1,2)=0
- Highlight odd numbers
- Highlight values divisible by 10
- Highlight numbers greater than median
- Highlight numbers between average ±10
- Highlight top 10% values
- Highlight bottom 10%
- Highlight values repeated more than twice
- Highlight largest value in each column
- Highlight smallest value in each row
Real Office Scenario Exercises
Exercises 81–100
- Highlight employees with perfect attendance
- Highlight students scoring distinction (>85)
- Highlight failed students (<40)
- Highlight high sales regions
- Highlight inventory shortage
- Highlight tasks overdue
- Highlight duplicate product entries
- Highlight rows containing “Laptop”
- Highlight weekend dates
- Highlight monthly highest sales
- Highlight rows where stock < 20
- Highlight top performing employee
- Highlight lowest performing employee
- Highlight sales target achieved
- Highlight sales target missed
- Highlight department HR
- Highlight records updated today
- Highlight values above 2nd highest
- Highlight rows containing text “Pending”
- 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