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
fx
1StudentMathEnglishScienceAttendance
2Emma82917796%Emma, Math
3Liam45625881%
4Olivia93889599%
5Noah67497288%
6Ava58746192%
7Ethan39554770%
8Mia76816994%
9Lucas88599085%
10
11

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, …)