Challenge - 5 Problems
AND & OR Master
Get all challenges correct to earn this badge!
Test your skills under time pressure!
📊 Formula Result
intermediate2:00remaining
Output of combined AND and OR functions
What is the output of the formula
=AND(OR(TRUE, FALSE), OR(FALSE, FALSE)) in Google Sheets?Google Sheets
=AND(OR(TRUE, FALSE), OR(FALSE, FALSE))
Attempts:
2 left
💡 Hint
Remember OR returns TRUE if any argument is TRUE; AND returns TRUE only if all arguments are TRUE.
✗ Incorrect
OR(TRUE, FALSE) returns TRUE; OR(FALSE, FALSE) returns FALSE; AND(TRUE, FALSE) returns FALSE.
❓ Function Choice
intermediate2:00remaining
Choose the formula that returns TRUE only if all conditions are TRUE
Which formula returns TRUE only if all three cells A1, B1, and C1 contain values greater than 10?
Attempts:
2 left
💡 Hint
AND requires all conditions to be TRUE; OR requires only one.
✗ Incorrect
Only option B uses AND on all three conditions, so it returns TRUE only if all are greater than 10.
🎯 Scenario
advanced2:30remaining
Detect if a student passes based on multiple criteria
You want to mark a student as 'Pass' if their score in Math (A2) is at least 50, and either their score in English (B2) or Science (C2) is at least 60. Which formula correctly returns TRUE for passing students?
Attempts:
2 left
💡 Hint
Passing requires Math score at least 50 AND (English OR Science score at least 60).
✗ Incorrect
Option A matches the condition exactly: Math >=50 AND (English >=60 OR Science >=60).
📊 Formula Result
advanced2:00remaining
Result of nested AND and OR with FALSE values
What is the result of the formula
=OR(AND(TRUE, FALSE), AND(FALSE, FALSE), TRUE) in Google Sheets?Google Sheets
=OR(AND(TRUE, FALSE), AND(FALSE, FALSE), TRUE)
Attempts:
2 left
💡 Hint
OR returns TRUE if any argument is TRUE; AND returns TRUE only if all arguments are TRUE.
✗ Incorrect
AND(TRUE, FALSE) is FALSE; AND(FALSE, FALSE) is FALSE; OR(FALSE, FALSE, TRUE) is TRUE.
❓ data_analysis
expert3:00remaining
Count rows where multiple conditions are met using AND and OR
You have a table with columns A (Age), B (City), and C (Membership). You want to count how many rows have Age over 30 AND (City is 'New York' OR Membership is 'Gold'). Which formula correctly counts these rows?
Attempts:
2 left
💡 Hint
Use SUMPRODUCT with logical tests and ensure OR condition is handled correctly.
✗ Incorrect
Option D correctly sums rows where Age>30 and either City='New York' or Membership='Gold'. The '>0' inside the parentheses ensures the OR condition is evaluated properly.