What is the main purpose of logical functions in Google Sheets?
Logical functions help check if certain conditions are true or false, so you can make decisions in your spreadsheet.
Click to reveal answer
beginner
Name a common logical function used to test conditions in Google Sheets.
The IF function is commonly used to test a condition and return one value if true and another if false.
Click to reveal answer
intermediate
How does the AND function work in handling conditions?
AND checks if all given conditions are true. It returns TRUE only if every condition is true, otherwise FALSE.
Click to reveal answer
beginner
Why would you use logical functions instead of manual checks in a spreadsheet?
Logical functions automate decision-making by checking conditions automatically, saving time and reducing errors.
Click to reveal answer
intermediate
What does the NOT function do when handling conditions?
NOT reverses the result of a condition: if the condition is TRUE, NOT makes it FALSE, and vice versa.
Click to reveal answer
Which function would you use to check if a number is greater than 10 and less than 20?
AOR
BAND
CNOT
DSUM
✗ Incorrect
AND checks if all conditions are true, so it can test if a number is both greater than 10 and less than 20.
What does the IF function return if the condition is false?
AIt returns the value for false condition
BIt returns an error
CIt returns TRUE
DIt returns the value for true condition
✗ Incorrect
IF returns the value you specify for the false condition when the tested condition is false.
Which logical function reverses the result of a condition?
AAND
BOR
CNOT
DIF
✗ Incorrect
NOT changes TRUE to FALSE and FALSE to TRUE, reversing the condition's result.
Why are logical functions useful in spreadsheets?
AThey format cells automatically
BThey perform calculations faster
CThey sort data alphabetically
DThey help make decisions based on conditions
✗ Incorrect
Logical functions help spreadsheets decide what to do based on whether conditions are true or false.
Which function returns TRUE if at least one condition is true?
AOR
BAND
CNOT
DIF
✗ Incorrect
OR returns TRUE if any one of the conditions is true.
Explain how logical functions help handle conditions in Google Sheets.
Think about how you decide what to do based on yes/no questions.
You got /3 concepts.
Describe a real-life example where you might use the IF function in a spreadsheet.
Imagine grading students or calculating discounts.
You got /3 concepts.
Practice
(1/5)
1. What does the IF function do in Google Sheets?
easy
A. It checks a condition and returns one value if true, another if false.
B. It adds numbers in a range.
C. It sorts data alphabetically.
D. It counts the number of cells with numbers.
Solution
Step 1: Understand the purpose of IF
The IF function tests a condition and chooses between two results based on true or false.
Step 2: Compare options with IF's behavior
Only It checks a condition and returns one value if true, another if false. describes this behavior correctly; others describe different functions.
Final Answer:
It checks a condition and returns one value if true, another if false. -> Option A
Quick Check:
IF function = condition check [OK]
Hint: IF means choose between two results based on true or false [OK]
Common Mistakes:
Confusing IF with SUM or COUNT functions
Thinking IF sorts data
Assuming IF counts cells
2. Which of these is the correct syntax for the IF function in Google Sheets?
easy
A. =IF{condition, value_if_true, value_if_false}
B. =IF(condition, value_if_true, value_if_false)
C. =IF(condition; value_if_true; value_if_false)
D. =IF[condition, value_if_true, value_if_false]
Solution
Step 1: Recall Google Sheets formula syntax
Google Sheets uses commas to separate arguments in functions.
Step 2: Identify correct IF syntax
=IF(condition, value_if_true, value_if_false) uses commas and parentheses correctly; others use wrong separators or brackets.
Final Answer:
=IF(condition, value_if_true, value_if_false) -> Option B
Quick Check:
Correct IF syntax uses commas and parentheses [OK]
Hint: Use commas inside parentheses for IF arguments [OK]
Common Mistakes:
Using semicolons instead of commas
Using curly braces or square brackets
Missing parentheses
3. Given the formula =IF(A1>10, "High", "Low") and cell A1 contains 8, what will the formula return?
medium
A. TRUE
B. "High"
C. 8
D. "Low"
Solution
Step 1: Evaluate the condition A1>10
Since A1 is 8, 8>10 is FALSE.
Step 2: Determine IF result based on condition
Because condition is FALSE, IF returns the value_if_false, which is "Low".
Final Answer:
"Low" -> Option D
Quick Check:
8>10 is false, so result = "Low" [OK]
Hint: Check condition first, then pick true or false result [OK]
Common Mistakes:
Assuming condition is true without checking
Returning the cell value instead of IF result
Confusing TRUE/FALSE with text results
4. The formula =IF(A1=5, "Yes", "No" is entered in a cell. What is wrong with this formula?
medium
A. Text values should not be in quotes.
B. Using = instead of == for comparison.
C. Missing closing parenthesis at the end.
D. IF function cannot compare numbers.
Solution
Step 1: Check formula syntax
The formula has an opening parenthesis after IF but no closing parenthesis at the end.
Step 2: Verify other parts
Using = for comparison is correct in Sheets, text in quotes is correct, and IF can compare numbers.
Final Answer:
Missing closing parenthesis at the end. -> Option C
Quick Check:
All functions need matching parentheses [OK]
Hint: Count parentheses to avoid missing one [OK]
Common Mistakes:
Using double equals (==) like in programming
Not putting text in quotes
Thinking IF can't compare numbers
5. You want to create a formula that returns "Pass" if a student's score in cell B2 is 50 or more, and "Fail" otherwise. Which formula correctly uses logical functions to handle this condition?
hard
A. =IF(B2>=50, "Pass", "Fail")
B. =IF(B2>50, "Pass", "Fail")
C. =IF(B2=50, "Pass", "Fail")
D. =IF(B2<50, "Pass", "Fail")
Solution
Step 1: Understand the condition for passing
Passing means score is 50 or more, so condition is B2 >= 50.