0
0
Google Sheetsspreadsheet~20 mins

Managing rule priority in Google Sheets - Practice Problems & Coding Challenges

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
Rule Priority Master
Get all challenges correct to earn this badge!
Test your skills under time pressure!
📊 Formula Result
intermediate
2:00remaining
What is the result of this conditional formatting formula?
You apply this formula in conditional formatting to cell A1:

=AND(A1>10, A1<20)

If A1 contains 15, what will be the formatting result?
AThe formatting is not applied because AND always returns FALSE.
BThe formatting is not applied because 15 is not greater than 20.
CThe formatting is applied only if A1 equals 10 or 20.
DThe formatting is applied because 15 is between 10 and 20.
Attempts:
2 left
💡 Hint
AND returns TRUE only if all conditions are TRUE.
Function Choice
intermediate
2:00remaining
Which function correctly prioritizes rules to highlight the highest value?
You want to highlight the cell with the highest value in range B1:B10 using conditional formatting. Which formula should you use?
A=B1>AVERAGE($B$1:$B$10)
B=B1=MIN($B$1:$B$10)
C=B1=MAX($B$1:$B$10)
D=B1=MEDIAN($B$1:$B$10)
Attempts:
2 left
💡 Hint
MAX finds the largest number in a range.
🎯 Scenario
advanced
2:30remaining
How does rule priority affect overlapping conditional formatting?
You have two conditional formatting rules on the same cells:
1) Cells greater than 50 are colored green.
2) Cells greater than 70 are colored red.

If a cell contains 75, what color will it be and why?
AGreen, because the first rule always applies regardless of priority.
BRed, because the rule for >70 has higher priority and overrides the >50 rule.
CNo color, because the rules conflict and cancel each other out.
DBoth colors, layered on top making a mixed color.
Attempts:
2 left
💡 Hint
Higher priority rules override lower ones when conditions overlap.
📊 Formula Result
advanced
2:00remaining
What is the output of this formula in conditional formatting?
Given the formula:

=OR(A1>100, AND(A1>50, A1<80))

What is the result if A1 contains 75?
ATRUE, because 75 is between 50 and 80.
BFALSE, because 75 is not greater than 100.
CTRUE, because 75 is greater than 100.
DFALSE, because AND always returns FALSE here.
Attempts:
2 left
💡 Hint
OR returns TRUE if any condition is TRUE.
data_analysis
expert
3:00remaining
How many cells will be formatted with these overlapping rules?
You apply two conditional formatting rules to range C1:C5:
Rule 1 (higher priority): Format cells if value > 30
Rule 2 (lower priority): Format cells if value > 50

Values in C1:C5 are: 25, 35, 45, 55, 65

How many cells will be formatted and which rule applies to each?
A4 cells formatted: 35, 45 by Rule 1; 55, 65 by Rule 1 (Rule 2 overridden).
B5 cells formatted: all values except 25 by Rule 1 only.
C3 cells formatted: 35, 45, 55 by Rule 1; 65 by Rule 2.
D4 cells formatted: 35, 45 by Rule 1; 55, 65 by Rule 2 (higher priority overrides).
Attempts:
2 left
💡 Hint
Higher priority rules override lower ones when conditions overlap.