Bird
Raised Fist0
Excelspreadsheet~20 mins

Conditional formatting basics in Excel - Practice Problems & Coding Challenges

Choose your learning style10 modes available

Start learning this pattern below

Jump into concepts and practice - no test required

or
Recommended
Test this pattern10 questions across easy, medium, and hard to know if this pattern is strong
Challenge - 5 Problems
🎖️
Conditional Formatting Master
Get all challenges correct to earn this badge!
Test your skills under time pressure!
📊 Formula Result
intermediate
2:00remaining
What color will cell A1 be if its value is 75?

Given the conditional formatting rules below applied to cell A1, what color will A1 display if its value is 75?

  • Rule 1: Format cells with value >= 90 as green
  • Rule 2: Format cells with value >= 70 as yellow
  • Rule 3: Format cells with value < 70 as red

Assume rules are applied in order and stop at the first true condition.

AGreen
BRed
CNo color
DYellow
Attempts:
2 left
💡 Hint

Check which condition matches first when reading rules top to bottom.

Function Choice
intermediate
2:00remaining
Which formula correctly highlights cells in column B if their value is less than the value in column A of the same row?

You want to apply conditional formatting to cells in column B. The formatting should highlight a cell if its value is less than the value in column A on the same row.

Which formula should you use in the conditional formatting rule?

A=B$1 < $A1
B=$B1 < $A1
C=B1 < A1
D=$B$1 < $A$1
Attempts:
2 left
💡 Hint

Remember the formula is evaluated for each cell in column B, so relative references matter.

data_analysis
advanced
2:00remaining
How many cells will be highlighted with this conditional formatting?

In the range C1:C5, the values are: 10, 20, 30, 40, 50.

A conditional formatting rule uses the formula =C1>25 applied to the range C1:C5.

How many cells will be highlighted?

A3
B2
C4
D5
Attempts:
2 left
💡 Hint

Check which values in the range are greater than 25.

🎯 Scenario
advanced
2:00remaining
You want to highlight duplicate values in column D. Which conditional formatting formula should you use?

To highlight duplicate values in column D (D1:D100), you create a new conditional formatting rule with a formula.

Which formula will correctly highlight duplicates?

A=COUNTIF($D$1:$D$100, D1) &gt; 1
B=COUNTIF(D1:D100, D1) &gt; 1
C=COUNTIF($D$1:D$100, $D1) &gt; 1
D=COUNTIF($D1:$D100, D1) &gt; 1
Attempts:
2 left
💡 Hint

Think about fixing the range and using relative reference for the cell being checked.

🧠 Conceptual
expert
2:00remaining
What happens if you apply two conflicting conditional formatting rules to the same cell?

You apply two conditional formatting rules to cell E1:

  • Rule 1: If E1 > 50, fill color red
  • Rule 2: If E1 > 30, fill color green

The rules are applied in the order listed, and both conditions are true for E1 = 60.

What will be the fill color of E1?

AGreen, because the last rule overrides previous ones
BRed, because the first rule that matches applies and stops further rules
CNo fill color, because conflicting rules cancel each other
DBoth red and green fill colors combined
Attempts:
2 left
💡 Hint

Think about rule order and stopping behavior in conditional formatting.

Practice

(1/5)
1. What does conditional formatting do in Excel?
easy
A. Changes the appearance of cells based on rules you set
B. Deletes cells that contain errors
C. Automatically sorts data in a column
D. Creates a backup copy of your spreadsheet

Solution

  1. Step 1: Understand the purpose of conditional formatting

    Conditional formatting is used to change how cells look based on conditions or rules you define.
  2. Step 2: Compare options to the definition

    Only Changes the appearance of cells based on rules you set describes changing cell appearance based on rules, which matches conditional formatting.
  3. Final Answer:

    Changes the appearance of cells based on rules you set -> Option A
  4. Quick Check:

    Conditional formatting changes cell appearance [OK]
Hint: Think: formatting changes when conditions are met [OK]
Common Mistakes:
  • Confusing conditional formatting with sorting
  • Thinking it deletes or moves data
  • Believing it creates backups automatically
2. Which of these is the correct way to start creating a conditional formatting rule in Excel?
easy
A. Select cells, then go to Home > Conditional Formatting > New Rule
B. Right-click a cell and choose Insert > Conditional Formatting
C. Use the formula bar to type =CONDITIONAL()
D. Click File > Save As > Conditional Formatting

Solution

  1. Step 1: Recall how to access conditional formatting

    In Excel, conditional formatting rules are created from the Home tab under Conditional Formatting.
  2. Step 2: Match the correct menu path

    Select cells, then go to Home > Conditional Formatting > New Rule correctly shows selecting cells, then Home > Conditional Formatting > New Rule.
  3. Final Answer:

    Select cells, then go to Home > Conditional Formatting > New Rule -> Option A
  4. Quick Check:

    Home tab > Conditional Formatting > New Rule [OK]
Hint: Look under Home tab for Conditional Formatting options [OK]
Common Mistakes:
  • Trying to insert conditional formatting from right-click menu
  • Typing a formula in the formula bar to start formatting
  • Confusing file saving with formatting
3. You apply a conditional formatting rule to highlight cells greater than 100 in range A1:A5. The values are: 90, 150, 100, 200, 80. Which cells will be highlighted?
medium
A. A1, A3, and A5
B. A2 and A4
C. A3 and A5
D. All cells

Solution

  1. Step 1: Identify which values are greater than 100

    Values: A1=90, A2=150, A3=100, A4=200, A5=80. Only 150 and 200 are greater than 100.
  2. Step 2: Match cells with values greater than 100

    Cells A2 and A4 have values greater than 100, so these will be highlighted.
  3. Final Answer:

    A2 and A4 -> Option B
  4. Quick Check:

    Highlight cells > 100 = A2, A4 [OK]
Hint: Check which numbers are strictly greater than 100 [OK]
Common Mistakes:
  • Including cells equal to 100
  • Highlighting cells less than 100
  • Highlighting all cells regardless of value
4. You want to highlight cells in B1:B5 that contain the word "Complete". You create a rule with formula =$B$1="Complete" but no cells get highlighted. What is the likely problem?
medium
A. The formula should be =EXACT(B1,"Complete") to match case
B. The formula should be =B1=="Complete" with double equals
C. The formula should use relative reference without $ signs
D. The formula should be =B1="complete" with lowercase c

Solution

  1. Step 1: Understand relative references in conditional formatting

    When applying a formula rule to a range, the formula should use relative references (no $) so it adjusts per cell.
  2. Step 2: Identify the problem with the formula

    If the formula uses absolute reference like $B$1, it only checks one cell, so others won't highlight.
  3. Final Answer:

    The formula should use relative reference without $ signs -> Option C
  4. Quick Check:

    Use relative references in conditional formatting formulas [OK]
Hint: Avoid $ in formula references for conditional formatting [OK]
Common Mistakes:
  • Using double equals (==) which is invalid in Excel
  • Ignoring case sensitivity issues
  • Using absolute references ($) incorrectly
5. You want to highlight all rows in A2:D10 where the value in column C is less than 50. Which formula should you use in conditional formatting applied to A2:D10?
hard
A. =$C$2<50
B. =C2<50
C. =C$2<50
D. =$C2<50

Solution

  1. Step 1: Understand how to apply conditional formatting to entire rows

    To highlight entire rows based on a column value, fix the column with $ and keep the row relative.
  2. Step 2: Analyze each formula option

    =$C2<50 uses =$C2<50, which fixes column C but allows row to change per row, correctly checking each row's column C value.
  3. Final Answer:

    =$C2<50 -> Option D
  4. Quick Check:

    Fix column, relative row for row-based conditional formatting [OK]
Hint: Use $ before column letter to fix column in formula [OK]
Common Mistakes:
  • Not fixing the column, so wrong cells checked
  • Fixing both column and row, so only one cell checked
  • Fixing row instead of column, causing wrong behavior