Pass or fail
BeginnerSkip →
Exercise 1 of 11IF
Did Emma pass Math? The pass mark is 50. Return "Pass" or "Fail".
Write your formula in the green cell, H2.
class-results.xlsx
H2
fx
Click a cell to add it to your formula, drag to select a range, or click a column letter for the whole column.
About logic in Excel
IF is the formula that makes decisions: pass or fail, over or under budget, yes or no. Practice IF on its own, then combine it with AND and OR, and finish with IFS for grading-style rules with several outcomes.
GuideHow to Use the IF Function in Excel→Functions you can use here
IF(logical_test, value_if_true, [value_if_false])AND(logical1, [logical2], …)OR(logical1, [logical2], …)IFS(logical_test1, value_if_true1, …)
More logic exercises
- 1.Pass or fail
- 2.Needs a retake
- 3.Attendance warningPremium
- 4.Strong in every subjectPremium
- 5.IF that returns a numberPremium
- 6.Flag students for supportPremium
- 7.Average inside IFPremium
- 8.Nested IFPremium
- 9.Letter gradesPremium
- 10.Add up TRUEsPremium
- 11.AND with an averagePremium