How would you use IF to check if a number in cell B2 is greater than 100 and return "High" or "Low"?
Use: IF(B2>100, "High", "Low") This means if B2 is more than 100, show "High", otherwise show "Low".
Click to reveal answer
intermediate
Can the IF function be nested inside another IF function? What is this used for?
Yes, nesting IFs means putting one IF inside another. It helps check multiple conditions step by step.
Click to reveal answer
beginner
What happens if you leave the value_if_false part empty in an IF function?
If value_if_false is empty, the IF function returns FALSE when the condition is not met.
Click to reveal answer
What will the formula =IF(A1=5, "Yes", "No") return if A1 contains 5?
AFALSE
B"No"
C5
D"Yes"
✗ Incorrect
Since A1 equals 5, the condition is true, so the formula returns "Yes".
Which part of the IF function is checked first?
Avalue_if_true
Bvalue_if_false
Ccondition
DNone
✗ Incorrect
The condition is checked first to decide which value to return.
What does this formula return if B2 is 50? =IF(B2>100, "High", "Low")
A"Low"
B"High"
C50
DTRUE
✗ Incorrect
Since 50 is not greater than 100, the formula returns "Low".
How do you write an IF function that returns TRUE if C3 is empty?
AIF(C3="", TRUE, FALSE)
BIF(C3, TRUE, FALSE)
CIF(C3=TRUE, "", FALSE)
DIF(C3=FALSE, TRUE, FALSE)
✗ Incorrect
Checking if C3 equals an empty string "" tests if the cell is empty.
What will =IF(10>5) return in Google Sheets?
ATRUE
BError
CFALSE
D10>5
✗ Incorrect
IF requires at least two arguments: condition and value_if_true. Omitting value_if_false is allowed and returns FALSE if condition is false. However, missing value_if_true causes an error.
Explain how the IF function works and give a simple example.
Think about checking a question and choosing between two answers.
You got /4 concepts.
Describe how you can use nested IF functions to check multiple conditions.
Imagine asking several yes/no questions one after another.
You got /4 concepts.
Practice
(1/5)
1. What does the IF function do in Google Sheets?
easy
A. It sorts data alphabetically.
B. It checks a condition and returns one value if true, another if false.
C. It adds two numbers together.
D. It counts the number of cells with numbers.
Solution
Step 1: Understand the purpose of IF function
The IF function tests a condition and chooses between two results based on that test.
Step 2: Match the description to the options
It checks a condition and returns one value if true, another if false. correctly describes this behavior, while others describe different functions.
Final Answer:
It checks a condition and returns one value if true, another if false. -> Option B
Quick Check:
IF function = condition check [OK]
Hint: IF chooses between two results based on a condition [OK]
Common Mistakes:
Thinking IF adds or counts values
Confusing IF with sorting functions
Ignoring the true/false result structure
2. Which of these is the correct syntax for the IF function in Google Sheets?
easy
A. =IF(value_if_true, condition, value_if_false)
B. =IF(condition; value_if_false; value_if_true)
C. =IF(condition, value_if_true, value_if_false)
D. =IF(condition value_if_true value_if_false)
Solution
Step 1: Recall the IF function syntax
The correct order is: condition, value if true, value if false, separated by commas.
Step 2: Compare options to syntax
=IF(condition, value_if_true, value_if_false) matches the correct syntax exactly. Others have wrong order, separators, or missing commas.
Final Answer:
=IF(condition, value_if_true, value_if_false) -> Option C
3. Given cell A1 contains 75, what is the result of =IF(A1>50, "Pass", "Fail")?
medium
A. "Pass"
B. "Fail"
C. 75
D. TRUE
Solution
Step 1: Evaluate the condition A1>50
Since A1 is 75, which is greater than 50, the condition is TRUE.
Step 2: Determine the IF function output
Because the condition is TRUE, the function returns the value_if_true, which is "Pass".
Final Answer:
"Pass" -> Option A
Quick Check:
75 > 50 = Pass [OK]
Hint: Check condition first, then pick true or false result [OK]
Common Mistakes:
Returning the cell value instead of the IF result
Confusing true and false outputs
Ignoring the comparison operator
4. The formula =IF(A2=100, "Yes", "No" is entered in a cell. What is wrong with it?
medium
A. Missing closing parenthesis at the end.
B. Wrong comparison operator used.
C. The true and false results are reversed.
D. The formula uses quotes incorrectly.
Solution
Step 1: Check the formula syntax
The formula is missing a closing parenthesis at the end, which is required to close the IF function.
Step 2: Verify other parts of the formula
The comparison operator (=) and the true/false results are correct, and quotes are properly used around text.
Final Answer:
Missing closing parenthesis at the end. -> Option A
Quick Check:
Syntax error = missing parenthesis [OK]
Hint: Count your parentheses to avoid syntax errors [OK]
Common Mistakes:
Forgetting to close parentheses
Mixing up = and == operators
Misplacing quotes around text
5. You want to mark students as "Passed" if their score in cell B2 is 60 or more, and "Failed" otherwise. Which formula correctly does this?
hard
A. =IF(B2=60, "Passed", "Failed")
B. =IF(B2>60, "Passed", "Failed")
C. =IF(B2<60, "Passed", "Failed")
D. =IF(B2>=60, "Passed", "Failed")
Solution
Step 1: Understand the passing condition
Students pass if their score is 60 or more, so the condition should be B2 >= 60.
Step 2: Check each option's condition
=IF(B2>=60, "Passed", "Failed") uses >= 60, which matches the requirement. =IF(B2>60, "Passed", "Failed") excludes 60, the one with <60 reverses pass/fail logic, and the one with =60 only passes exactly 60.
Final Answer:
=IF(B2>=60, "Passed", "Failed") -> Option D
Quick Check:
Score >= 60 = Passed [OK]
Hint: Use >= for '60 or more' condition [OK]
Common Mistakes:
Using > instead of >= to include 60
Reversing pass and fail results
Checking only for equality (=60)
Recommended
Ready to prove it?
Pass the test and this pattern moves unknownstrongwhile earning +1 Grip toward your certificate.