0
0
Excelspreadsheet~20 mins

IF function in Excel - Practice Problems & Coding Challenges

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
IF Function Master
Get all challenges correct to earn this badge!
Test your skills under time pressure!
📊 Formula Result
intermediate
2:00remaining
Output of nested IF formula
What is the output of the formula =IF(A1>10, IF(A1<20, "Medium", "High"), "Low") when cell A1 contains the value 15?
A"Medium"
B15
C"High"
D"Low"
Attempts:
2 left
💡 Hint
Think about the first condition and then the second inside the nested IF.
Function Choice
intermediate
2:00remaining
Choosing the correct IF formula for grading
You want to assign grades based on scores in cell B2: "Pass" if score is 50 or more, otherwise "Fail". Which formula correctly does this?
A=IF(B2&gt;50, "Pass", "Fail")
B=IF(B2&gt;=50, "Pass", "Fail")
C=IF(B2&lt;50, "Fail", "Pass")
D=IF(B2=50, "Pass", "Fail")
Attempts:
2 left
💡 Hint
Remember the condition includes scores equal to 50.
📊 Formula Result
advanced
2:00remaining
Result of IF with AND function
What is the result of =IF(AND(C1>0, C1<=100), "Valid", "Invalid") if C1 contains -5?
AFALSE
B"Valid"
CTRUE
D"Invalid"
Attempts:
2 left
💡 Hint
AND requires all conditions to be true.
🎯 Scenario
advanced
2:00remaining
Using IF to calculate bonus
You want to calculate a bonus in cell D2: if sales in C2 are above 1000, bonus is 10% of sales, otherwise 0. Which formula should you use?
A=IF(C2&gt;1000, 0, C2*0.1)
B=IF(C2&gt;=1000, C2*0.1, 0)
C=IF(C2&gt;1000, C2*0.1, 0)
D=IF(C2&lt;1000, C2*0.1, 0)
Attempts:
2 left
💡 Hint
Bonus applies only if sales are strictly greater than 1000.
data_analysis
expert
3:00remaining
Count how many cells meet IF condition
You have a list of numbers in cells A1:A10. Which formula counts how many numbers are greater than 50 using IF inside SUM?
A=SUM(IF(A1:A10&gt;50, 1, 0))
B=SUM(IF(A1:A10&gt;50))
C=SUM(A1:A10&gt;50)
D=COUNTIF(A1:A10, ">50")
Attempts:
2 left
💡 Hint
IF returns arrays; SUM adds them up.