Free exercise · Excel formula basics
Pass or fail with IF
Practice Excel IF by marking each score Pass or Fail at a 70 cutoff, with instant formula checking.
A score of 70 or higher passes. Anything lower fails.
In column B, write an IF formula that returns the text Pass or Fail. Fill it down. Match the capitalization.
Dataset
Starter sheet. Cells marked formula are where the formula goes.
| Row | A | B |
|---|---|---|
| 1 | Score | Result |
| 2 | 72 | Formula goes in B2. formula |
| 3 | 64 | Formula goes in B3. formula |
| 4 | 70 | Formula goes in B4. formula |
| 5 | 91 | Formula goes in B5. formula |
| 6 | 69 | Formula goes in B6. formula |
Hint
IF has three parts: a test, what to return when the test is true, and what to return when it is false.
Explanation
This exercise practices IF in Excel. The formula goes in B2, B3, B4, B5, B6.
IF returns Pass when the score is 70 or higher, and Fail otherwise. A score of exactly 70 passes. Match the capital letters.
One formula that works: B2: =IF(A2>=70,"Pass","Fail"). B3: =IF(A3>=70,"Pass","Fail"). B4: =IF(A4>=70,"Pass","Fail"). B5: =IF(A5>=70,"Pass","Fail"). B6: =IF(A6>=70,"Pass","Fail"). Other formulas that return the same result are accepted.