0
0
Google Sheetsspreadsheet~20 mins

Conditional formatting basics in Google Sheets - Practice Problems & Coding Challenges

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
Conditional Formatting Master
Get all challenges correct to earn this badge!
Test your skills under time pressure!
📊 Formula Result
intermediate
1:30remaining
What color will cell A1 be if its value is 75?

You apply this conditional formatting rule to cell A1:

=A1 > 50

The formatting sets the cell background color to green if the condition is true.

If A1 contains the number 75, what will be the background color of A1?

ABlue
BRed
CGreen
DNo color (default)
Attempts:
2 left
💡 Hint

Think about whether 75 is greater than 50.

Function Choice
intermediate
2:00remaining
Which formula highlights cells with text containing 'apple'?

You want to highlight cells in column B that contain the word 'apple' anywhere in the text. Which formula should you use in conditional formatting?

A=SEARCH("apple", B1)
B=ISNUMBER(SEARCH("apple", B1))
C=B1 = "apple"
D=FIND("apple", B1) > 0
Attempts:
2 left
💡 Hint

SEARCH returns a number if found, but the formula needs to be TRUE or FALSE.

🎯 Scenario
advanced
2:30remaining
Highlight rows where sales are above average

You have sales data in column C (cells C2:C20). You want to highlight the entire row (columns A to D) if the sales value in column C is greater than the average sales in that range.

Which conditional formatting formula should you use for the range A2:D20?

A=$C2 > AVERAGE($C$2:$C$20)
B=$C$2 > AVERAGE($C$2:$C$20)
C=C2 > AVERAGE(C2:C20)
D=$C2 > AVERAGE(C2:C20)
Attempts:
2 left
💡 Hint

Remember to fix the column but allow the row to change as the formatting applies to each row.

📊 Formula Result
advanced
1:30remaining
What happens if you use =ISBLANK(A1) in conditional formatting?

You apply the formula =ISBLANK(A1) as a conditional formatting rule to cell A1. What will be the result if A1 contains a formula that returns an empty string ""?

AThe cell will not be highlighted because ISBLANK returns FALSE for empty string.
BThe cell will be highlighted because ISBLANK returns TRUE for empty string.
CThe cell will show an error because ISBLANK cannot be used with formulas.
DThe cell will be highlighted only if the formula returns zero.
Attempts:
2 left
💡 Hint

Think about what ISBLANK considers blank.

data_analysis
expert
2:30remaining
Count how many cells are highlighted by this conditional formatting

You apply this conditional formatting rule to range B2:B10:

=MOD(B2, 2) = 0

This highlights cells with even numbers.

If the values in B2:B10 are: 3, 4, 7, 8, 10, 13, 14, 15, 16, how many cells will be highlighted?

A7
B4
C6
D5
Attempts:
2 left
💡 Hint

Count how many numbers in the list are even.