Conditional Formatting

Automatically highlight patterns, trends, and performance using Conditional Formatting rules, color scales, data bars, and icon sets.

Video

Watch the lesson video, then complete the reading and challenge.

Lesson Notes

Read through the key concepts before you try the challenge.

Why Conditional Formatting Matters

When working with large datasets, it can be difficult to identify trends and performance issues just by reading numbers. Conditional Formatting automatically applies visual styling based on cell values so patterns become instantly visible.

Example of conditional formatting applied to sales data

Step 1: Select the Desired Cells

Before applying Conditional Formatting, select the range of cells you want to evaluate.

Selecting cells before applying conditional formatting

Highlight Cells Greater Than a Value

To highlight values greater than a specific number, use the Highlight Cells Rules option.

Highlight Cells Rules Greater Than option

Enter the comparison value (e.g., 4000) and choose a preset style such as Green Fill with Dark Green Text.

Greater Than dialog box with 4000 entered
Cells highlighted with green formatting

Values above the threshold are automatically highlighted.

Using Color Scales

Color Scales apply a gradient based on cell values. Highest values receive one color, lowest receive another, and middle values are blended between them.

Color scale preset applied to dataset

Using Data Bars

Data Bars visually represent values inside each cell using horizontal bars, similar to a mini bar chart.

Data bars applied to dataset

Using Icon Sets

Icon Sets add symbols such as arrows, circles, or indicators based on value ranges. These are useful for performance dashboards.

Icon Sets menu
Icon set applied to dataset

Managing and Editing Rules

Use Manage Rules to edit, delete, or prioritize formatting rules applied to a worksheet.

Conditional Formatting Rules Manager

Clearing Conditional Formatting

To remove formatting, click Conditional Formatting → Clear Rules, then choose whether to clear from selected cells or the entire sheet.

Clear Rules menu
Worksheet after conditional formatting removed

Knowledge Check

Which Conditional Formatting option fills cells with a color gradient based on their value?

Practice File

Download this file and follow along with the lesson.

Challenge

Apply what you've learned in this lesson.

Download and open the practice workbook. Then complete the following:

  1. Click the Challenge worksheet tab.
  2. Select cells B3:J17.
  3. Apply Conditional Formatting to highlight values Less Than 70 using a light red fill.
  4. Apply the Icon Set called 3 Symbols (Circled).
  5. Use Manage Rules to remove the light red fill rule but keep the icon set.
  6. Your worksheet should match the example shown below.
Final conditional formatting challenge result