0
0
Google Sheetsspreadsheet~20 mins

Cross-column conditional rules in Google Sheets - Practice Problems & Coding Challenges

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
Cross-Column Conditional Master
Get all challenges correct to earn this badge!
Test your skills under time pressure!
📊 Formula Result
intermediate
1:30remaining
Conditional Formatting Formula Output
You apply this conditional formatting formula in cell C2:
=AND(A2>10, B2<5)
Given A2=12 and B2=3, what is the formula result in C2?
A12
BTRUE
CFALSE
DError
Attempts:
2 left
💡 Hint
AND returns TRUE only if all conditions are true.
Function Choice
intermediate
1:30remaining
Choose the Correct Formula for Cross-Column Check
You want to mark rows where the value in column A is greater than column B. Which formula should you use in column C?
A=IF(A2&gt;B2, "Yes", "No")
B=IF(AND(A2, B2), "Yes", "No")
C=IF(A2=B2, "Yes", "No")
D=IF(A2&lt;B2, "Yes", "No")
Attempts:
2 left
💡 Hint
You want to check if A2 is greater than B2.
🎯 Scenario
advanced
2:00remaining
Highlight Rows Where Sales Exceed Targets
You have sales data in column A and targets in column B. You want to highlight the entire row if sales exceed targets. Which conditional formatting custom formula should you use starting from row 2?
A=$A$2&gt;$B$2
B=AND($A2&gt;$B2, ROW()&gt;1)
C=A2&gt;B2
D=$A2&gt;$B2
Attempts:
2 left
💡 Hint
Use absolute column references but relative row references.
📊 Formula Result
advanced
1:30remaining
Formula Result with Mixed References
In cell D2, you enter:
=IF($A2>$B$1, "Pass", "Fail")
If A2=15 and B1=10, what is the result in D2?
APass
BFail
C15
DError
Attempts:
2 left
💡 Hint
Check the values and the comparison carefully.
data_analysis
expert
2:30remaining
Count Rows Where One Column is Greater Than Another
You have data in columns A and B from rows 2 to 100. Which formula correctly counts how many rows have A>B?
A=COUNTIFS(A2:A100, ">"&B2:B100)
B=COUNTIF(A2:A100, ">"&B2:B100)
C=SUMPRODUCT(--(A2:A100&gt;B2:B100))
D=SUM(IF(A2:A100&gt;B2:B100, 1, 0))
Attempts:
2 left
💡 Hint
COUNTIF and COUNTIFS do not support array comparisons like this.