Discover how simple formulas can save you hours of tedious checking!
Why AND and OR functions in Google Sheets? - Purpose & Use Cases
Imagine you have a list of students and you want to check who passed both Math and English. You try to look at each score one by one and decide if they passed both subjects manually.
Doing this by hand is slow and easy to mess up. You might forget to check one subject or mix up scores. It's hard to keep track when the list grows long.
The AND and OR functions let you check multiple conditions at once. They quickly tell you if all conditions are true (AND) or if at least one is true (OR), saving time and avoiding mistakes.
If Math score >= 50 and English score >= 50 then 'Pass' else 'Fail' (checked by eye)
=IF(AND(A2>=50, B2>=50), "Pass", "Fail")
You can instantly test many conditions together and get clear yes/no answers in your sheet.
At work, you might want to approve a project only if the budget is under limit and the deadline is met. AND and OR help you check these rules automatically.
Manual checking of multiple conditions is slow and error-prone.
AND and OR functions let you test many conditions at once.
This makes your spreadsheets smarter and faster to use.
Practice
AND function do in Google Sheets?Solution
Step 1: Understand the purpose of AND
The AND function checks multiple conditions and returns TRUE only if every condition is TRUE.Step 2: Compare with other options
Returns TRUE if at least one condition is TRUE describes OR, C and D are incorrect because AND does not return FALSE if all are TRUE or sum values.Final Answer:
Returns TRUE only if all conditions are TRUE -> Option AQuick Check:
AND means all TRUE = TRUE [OK]
- Confusing AND with OR
- Thinking AND sums values
- Assuming AND returns TRUE if any condition is TRUE
Solution
Step 1: Recall correct function syntax
Google Sheets uses commas to separate arguments inside parentheses for functions like OR.Step 2: Check each option
=OR(A1>5, B1<10) uses commas and parentheses correctly. Options A, B, and D use wrong separators or brackets.Final Answer:
=OR(A1>5, B1<10) -> Option AQuick Check:
OR uses commas inside parentheses [OK]
- Using semicolons instead of commas
- Using curly or square brackets
- Missing parentheses
=AND(A1>5, OR(B1>5, C1=10))?Solution
Step 1: Evaluate inner OR function
OR(B1>5, C1=10) means OR(3>5, 10=10) -> OR(FALSE, TRUE) -> TRUE.Step 2: Evaluate AND function
AND(A1>5, TRUE) means AND(7>5, TRUE) -> AND(TRUE, TRUE) -> TRUE.Final Answer:
TRUE -> Option DQuick Check:
AND with all TRUE returns TRUE [OK]
- Evaluating AND before OR
- Confusing TRUE and FALSE values
- Assuming numeric values instead of logical
=AND(A1>5 OR B1<10)Solution
Step 1: Analyze formula structure
The formula tries to combine conditions inside AND but misses a comma between A1>5 and OR B1<10.Step 2: Correct syntax for nested functions
AND requires each condition separated by commas. The correct form is =AND(A1>5, OR(B1<10)).Final Answer:
Missing comma between conditions inside AND -> Option CQuick Check:
Separate conditions with commas in AND [OK]
- Omitting commas between arguments
- Thinking OR can't be nested inside AND
- Ignoring parentheses placement
Solution
Step 1: Understand conditions
The student passes if both Math and English scores are at least 50 (AND condition) OR if Science score is above 90.Step 2: Translate to formula
Use AND(Math>=50, English>=50) for both passing, then OR with Science>90 to allow either condition.Final Answer:
=OR(AND(Math>=50, English>=50), Science>90) -> Option BQuick Check:
Use OR for either condition, AND for both subjects [OK]
- Mixing AND and OR order incorrectly
- Using AND for all conditions instead of OR
- Not grouping conditions properly
Ready to prove it?
Pass the test and this pattern moves unknown
