Bird
Raised Fist0
Excelspreadsheet~10 mins

Managing multiple rules in Excel - Interactive Code Practice

Choose your learning style10 modes available
Practice - 5 Tasks
Answer the questions below
1fill in blank
easy

Complete the formula to apply a conditional formatting rule that highlights cells greater than 100.

Excel
=IF(A1 [1] 100, TRUE, FALSE)
Drag options to blanks, or click blank then click option'
A<
B<=
C=
D>
Attempts:
3 left
💡 Hint
Common Mistakes
Using '<' instead of '>' will highlight cells less than 100.
Using '=' will only highlight cells exactly equal to 100.
2fill in blank
medium

Complete the formula to highlight cells that are between 50 and 150 inclusive.

Excel
=AND(A1 [1] 50, A1 [2] 150)
Drag options to blanks, or click blank then click option'
A>=
B<=
C>
D<
Attempts:
3 left
💡 Hint
Common Mistakes
Using '>' or '<' alone excludes boundary values.
Mixing up the operators will highlight wrong cells.
3fill in blank
hard

Fix the error in the formula to highlight cells that are either less than 20 or greater than 80.

Excel
=OR(A1 [1] 20, A1 [2] 80)
Drag options to blanks, or click blank then click option'
A<
B>
C<=
D>=
Attempts:
3 left
💡 Hint
Common Mistakes
Using '<=' or '>=' changes the range and may highlight unwanted cells.
Using AND instead of OR will not work for this condition.
4fill in blank
hard

Fill both blanks to create a formula that highlights cells with values divisible by 5 and greater than 10.

Excel
=AND(MOD(A1, [1]) = 0, A1 [2] 10)
Drag options to blanks, or click blank then click option'
A5
B>
C<
D3
Attempts:
3 left
💡 Hint
Common Mistakes
Using 3 in MOD checks divisibility by 3, not 5.
Using '<' instead of '>' changes the condition.
5fill in blank
hard

Fill all three blanks to create a formula that highlights cells with text length greater than 4 and containing the letter 'a'.

Excel
=AND(LEN(A1) [1] 4, ISNUMBER(SEARCH([2], A1)), A1 [3] "")
Drag options to blanks, or click blank then click option'
A>
B"a"
C<>
D<
Attempts:
3 left
💡 Hint
Common Mistakes
Using '<' instead of '>' for length check.
Not quoting the letter 'a' in SEARCH.
Using '=' instead of '<>' to check for non-empty cells.

Practice

(1/5)
1. What happens when you apply multiple conditional formatting rules to the same cell in Excel?
easy
A. All rules apply their formats simultaneously, layering colors and styles.
B. The rule listed first in the Rules Manager takes priority if rules conflict.
C. Only the last rule you created will apply, ignoring others.
D. Excel randomly chooses one rule to apply each time the sheet recalculates.

Solution

  1. Step 1: Understand rule priority in Excel

    Excel applies conditional formatting rules in the order they appear in the Rules Manager.
  2. Step 2: Effect of rule order on overlapping formats

    If multiple rules apply to the same cell and conflict, the first rule listed takes priority and its format is shown.
  3. Final Answer:

    The rule listed first in the Rules Manager takes priority if rules conflict. -> Option B
  4. Quick Check:

    Rule order controls format priority [OK]
Hint: Check rule order in Rules Manager to know which format shows [OK]
Common Mistakes:
  • Assuming all formats stack visually
  • Thinking last rule always wins
  • Believing Excel picks rules randomly
2. Which of the following is the correct way to add a new conditional formatting rule in Excel?
easy
A. Go to Home tab > Conditional Formatting > Manage Rules > New Rule
B. Right-click cell > Insert > Conditional Formatting
C. File > Options > Conditional Formatting > Add Rule
D. Data tab > Sort & Filter > Conditional Formatting

Solution

  1. Step 1: Locate Conditional Formatting options

    Conditional Formatting is found under the Home tab in Excel's ribbon.
  2. Step 2: Add a new rule via Rules Manager

    Click Conditional Formatting, then Manage Rules, then New Rule to add a new formatting condition.
  3. Final Answer:

    Go to Home tab > Conditional Formatting > Manage Rules > New Rule -> Option A
  4. Quick Check:

    New rules added via Home > Conditional Formatting [OK]
Hint: Use Home tab > Conditional Formatting to manage rules [OK]
Common Mistakes:
  • Looking for conditional formatting in wrong tabs
  • Trying to add rules via right-click menus
  • Confusing Conditional Formatting with sorting/filtering
3. Given these two conditional formatting rules on cell A1:
Rule 1: Format cell red if A1 > 10
Rule 2: Format cell green if A1 > 5
If A1 contains 12, what color will the cell be?
medium
A. Green
B. No color
C. Red
D. Yellow

Solution

  1. Step 1: Check which rules apply to A1=12

    Since 12 > 10, Rule 1 applies; also 12 > 5, so Rule 2 applies too.
  2. Step 2: Determine rule priority

    Rule 1 is listed first, so its red format takes priority over Rule 2's green.
  3. Final Answer:

    Red -> Option C
  4. Quick Check:

    First matching rule color shows [OK]
Hint: First true rule in order sets the cell color [OK]
Common Mistakes:
  • Assuming green overrides red because 5 < 10
  • Thinking colors combine to make yellow
  • Ignoring rule order priority
4. You created two conditional formatting rules for cell B2:
1) Format blue if B2 < 50
2) Format yellow if B2 < 100
But when B2 is 40, the cell shows yellow instead of blue. What is the likely problem?
medium
A. The yellow rule is listed above the blue rule in the Rules Manager.
B. The formula for the blue rule is incorrect.
C. Excel cannot apply blue color formatting.
D. The cell B2 is formatted as text, so rules don't apply.

Solution

  1. Step 1: Understand rule order effect

    If the yellow rule is above the blue rule, it applies first and stops further rules from applying.
  2. Step 2: Check why blue doesn't show

    Since 40 < 100 is true, yellow applies first, so blue is ignored despite 40 < 50 also being true.
  3. Final Answer:

    The yellow rule is listed above the blue rule in the Rules Manager. -> Option A
  4. Quick Check:

    Rule order controls which format shows [OK]
Hint: Put more specific rules above general ones [OK]
Common Mistakes:
  • Assuming formula error without checking rule order
  • Thinking Excel can't show blue color
  • Ignoring cell data type effects
5. You want to highlight sales figures in column C with these rules:
1) Red fill if sales < 1000
2) Orange fill if sales >= 1000
3) Green fill if sales > 5000

How should you order these rules in the Rules Manager to ensure correct formatting?
hard
A. Red first, then Orange, then Green
B. Orange first, then Red, then Green
C. Order does not matter for these rules
D. Green first, then Orange, then Red

Solution

  1. Step 1: Analyze rule specificity

    Green applies to sales > 5000 (most specific highest values), Orange to mid-range, Red to lowest.
  2. Step 2: Order rules from highest to lowest

    Place Green first so it applies before others, then Orange, then Red last for lowest values.
  3. Final Answer:

    Green first, then Orange, then Red -> Option D
  4. Quick Check:

    Order rules from highest to lowest value [OK]
Hint: Order rules from highest to lowest value for clarity [OK]
Common Mistakes:
  • Putting red rule first causing it to override others
  • Assuming order doesn't affect formatting
  • Mixing up value ranges in rules
Recommended

Ready to prove it?

Pass the test and this pattern moves unknown strong while earning +1 Grip toward your certificate.

10 questions~5 mineasy hard