Conditional Formatting-Data Bars, Color Scales and Icon Sets Practice Questions with Solutions

Introduction

Data Bars, Color Scales, and Icon Sets are powerful Conditional Formatting tools in Excel. They help you understand numbers visually without creating separate charts. In this chapter, you will practice comparing sales, marks, performance, ratings, attendance, inventory, and other business data using different visual formatting rules. Each question focuses on a different practical use of these tools. Conditional Formatting-Data Bars, Color Scales and Icon Sets Practice questions with solutions to help you understand the concepts.


Question 1: Create Data Bars for Employee Sales

Problem Statement

Use Data Bars to visually compare employee sales.

Excel Data

EmployeeSales
Rahul45000
Priya82000
Amit65000
Neha105000
Arjun72000
Simran125000

Excel Solution

Select B2:B7.

Go to:

Home → Conditional Formatting → Data Bars

Choose any suitable Solid Fill or Gradient Fill style.

Expected Result

Each cell should display a horizontal bar. Higher sales should have longer bars, while lower sales should have shorter bars.

Concepts Covered

  • Data Bars
  • Visual comparison
  • Sales analysis
  • Solid and Gradient Data Bars

Question 2: Create Data Bars for Student Marks

Problem Statement

Use Data Bars to compare students’ marks.

Excel Data

StudentMarks
Rahul72
Priya91
Amit64
Neha85
Arjun56
Simran96
Karan78

Excel Solution

Select B2:B8.

Go to:

Home → Conditional Formatting → Data Bars

Select a Data Bar style.

Expected Result

The student with 96 marks should have the longest bar, while the student with 56 marks should have the shortest bar.

Concepts Covered

  • Data Bars
  • Marks comparison
  • Relative value visualization

Question 3: Apply a Color Scale to Monthly Sales

Problem Statement

Use a Color Scale to identify low, medium, and high monthly sales.

Excel Data

MonthSales
January45000
February62000
March55000
April78000
May95000
June72000
July105000

Excel Solution

Select B2:B8.

Go to:

Home → Conditional Formatting → Color Scales

Choose a 3-Color Scale.

Expected Result

Excel will automatically apply different colors based on the values:

  • Lower values → one end of the color scale
  • Middle values → middle color
  • Higher values → opposite end of the color scale

The exact colors depend on the Color Scale you select.

Concepts Covered

  • Color Scales
  • Three-color formatting
  • Sales comparison
  • Relative values

Question 4: Apply a Color Scale to Exam Marks

Problem Statement

Use a Color Scale to visually identify students with lower, average, and higher marks.

Excel Data

StudentMarks
Rahul45
Priya82
Amit58
Neha91
Arjun67
Simran96
Karan73
Riya52

Excel Solution

Select B2:B9.

Go to:

Home → Conditional Formatting → Color Scales

Select a 3-Color Scale.

Expected Result

The marks will receive different shades based on their relative position in the selected range.

Concepts Covered

  • Color Scales
  • Exam result analysis
  • Relative comparison
  • Visual data analysis

Question 5: Create Icon Sets for Employee Performance

Problem Statement

Use Icon Sets to visually classify employee performance based on their sales.

Excel Data

EmployeeSales
Rahul42000
Priya68000
Amit55000
Neha95000
Arjun72000
Simran115000
Karan48000

Excel Solution

Select B2:B8.

Go to:

Home → Conditional Formatting → Icon Sets

Choose a suitable icon set, such as:

  • 3 Arrows
  • 3 Traffic Lights
  • 3 Symbols

Expected Result

Excel will assign icons according to the relative values in the selected range.

Higher values will receive the higher-level icon, while lower values will receive the lower-level icon.

Concepts Covered

  • Icon Sets
  • Performance visualization
  • Relative ranking
  • Traffic-light style indicators

Question 6: Use Icon Sets for Product Ratings

Problem Statement

Use Icon Sets to visually compare product ratings.

Excel Data

ProductRating
Laptop4.8
Monitor4.2
Keyboard3.6
Mouse4.5
Printer3.2
Webcam4.0
Headset2.9

Excel Solution

Select B2:B8.

Go to:

Home → Conditional Formatting → Icon Sets

Choose a suitable 3-icon set.

Expected Result

The rating cells should display different icons based on their relative values.

The higher-rated products should receive higher-level icons, while lower-rated products should receive lower-level icons.

Concepts Covered

  • Icon Sets
  • Rating analysis
  • Relative performance
  • Visual indicators

Question 7: Use Data Bars for Inventory Quantity

Problem Statement

Use Data Bars to compare the quantity of products currently available in inventory.

Excel Data

ProductStock
Laptop85
Monitor42
Keyboard125
Mouse180
Printer65
Webcam95
Headset150

Excel Solution

Select B2:B8.

Go to:

Home → Conditional Formatting → Data Bars

Select a suitable Data Bar.

Expected Result

The product with 180 units should have the longest Data Bar, while the product with 42 units should have the shortest.

Concepts Covered

  • Data Bars
  • Inventory analysis
  • Quantity comparison
  • Visual representation

Question 8: Use Color Scales for Attendance Percentage

Problem Statement

Use a Color Scale to visualize student attendance percentages.

Excel Data

StudentAttendance
Rahul78%
Priya95%
Amit68%
Neha88%
Arjun72%
Simran98%
Karan82%
Riya64%

Excel Solution

Select B2:B9.

Go to:

Home → Conditional Formatting → Color Scales

Select a suitable 3-Color Scale.

Expected Result

The attendance percentages will be visually represented according to their relative values.

Concepts Covered

  • Color Scales
  • Percentage data
  • Attendance analysis
  • Visual comparison

Question 9: Combine Data Bars and Icon Sets

Problem Statement

Create a sales-performance report that uses:

  • Data Bars for Sales.
  • Icon Sets for Performance Rating.

Excel Data

EmployeeSalesRating
Rahul450003.2
Priya720004.1
Amit580003.6
Neha950004.5
Arjun680003.9
Simran1200004.8

Excel Solution

Apply Data Bars to Sales

Select B2:B7.

Go to:

Home → Conditional Formatting → Data Bars

Choose a Data Bar style.

Apply Icon Sets to Rating

Select C2:C7.

Go to:

Home → Conditional Formatting → Icon Sets

Choose a suitable 3-icon set.

Expected Result

The Sales column should contain Data Bars, while the Rating column should contain icons.

Concepts Covered

  • Data Bars
  • Icon Sets
  • Multiple Conditional Formatting types
  • Sales dashboard formatting

Question 10: Build a Visual Performance Report Using All Three Tools

Problem Statement

Create a visual employee performance report using:

  • Data Bars for Sales.
  • Color Scale for Customer Satisfaction.
  • Icon Sets for Performance Score.

Excel Data

EmployeeSalesSatisfactionPerformance
Rahul5200072%65
Priya8500088%82
Amit6800076%71
Neha11000094%95
Arjun7500081%78
Simran12500097%98
Karan6000069%62

Excel Solution

Sales: Data Bars

Select B2:B8.

Go to:

Home → Conditional Formatting → Data Bars

Choose a suitable Data Bar.

Satisfaction: Color Scale

Select C2:C8.

Go to:

Home → Conditional Formatting → Color Scales

Choose a suitable 3-color scale.

Performance: Icon Sets

Select D2:D8.

Go to:

Home → Conditional Formatting → Icon Sets

Choose a suitable 3-icon set.

Expected Result

The final table should visually contain:

EmployeeSalesSatisfactionPerformance
RahulData BarColor ScaleIcon
PriyaData BarColor ScaleIcon
AmitData BarColor ScaleIcon
NehaData BarColor ScaleIcon
ArjunData BarColor ScaleIcon
SimranData BarColor ScaleIcon
KaranData BarColor ScaleIcon

This creates a simple visual performance report without creating a separate chart.

Concepts Covered

  • Data Bars
  • Color Scales
  • Icon Sets
  • Multiple Conditional Formatting rules
  • Performance dashboard
  • Visual data analysis

Key Takeaways

  • Data Bars show the relative size of numbers directly inside cells.
  • Color Scales use different colors to show low, medium, and high values.
  • Icon Sets use symbols to visually classify values.
  • Data Bars are useful for comparing quantities such as sales, marks, stock, and revenue.
  • Color Scales are useful when you want to see the overall distribution of values.
  • Icon Sets are useful for creating simple visual performance indicators.
  • Different Conditional Formatting tools can be applied to different columns of the same dataset.
  • These features can make Excel reports easier to scan without creating separate charts.
  • Conditional Formatting does not change the actual cell values.
  • Data Bars, Color Scales, and Icon Sets are especially useful for dashboards and management reports.

FAQs

1. What are Data Bars in Excel?

Data Bars are Conditional Formatting indicators that display horizontal bars inside cells. The length of the bar represents the relative size of the cell’s value.

2. What are Color Scales in Excel?

Color Scales apply different colors to cells according to their values. A common 3-color scale represents lower, middle, and higher values using different shades.

3. What are Icon Sets in Excel?

Icon Sets display symbols such as arrows, traffic lights, flags, stars, or other icons based on the values in a selected range.

4. Do Data Bars change the cell values?

No. Data Bars only change the visual appearance of the cells. The original numbers remain unchanged.

5. Can I use Data Bars for percentages?

Yes. Data Bars can be used for percentages, marks, attendance, completion rates, and other numeric values.

6. Can I use Color Scales for negative and positive numbers?

Yes. Color Scales can be applied to ranges containing both negative and positive values.

7. Can I change the Icon Set used by Excel?

Yes. You can select a different Icon Set from:

Home → Conditional Formatting → Icon Sets

Excel provides several predefined icon styles.

8. Can I use Data Bars, Color Scales, and Icon Sets in the same worksheet?

Yes. You can apply different Conditional Formatting types to different ranges or columns in the same worksheet.

9. What is the difference between Data Bars and Color Scales in Excel?

Data Bars mainly show the relative size of values through bar length, while Color Scales use color intensity or color categories to show relative values.

10. Are Data Bars, Color Scales, and Icon Sets useful for Excel dashboards?

Yes. They can make dashboards and reports easier to scan by providing visual information directly alongside the numbers.

Written by Shubhranshu Shekhar, who has trained 20000+ students in coding.

Scroll to Top