IF that returns a number

Exercise 5 of 11 Premium

Add 5 bonus points to Liam's Science score if his attendance is 80% or more. Otherwise keep his score as it is.

Checking your plan…

class-results.xlsx

ABCDE
1StudentMathEnglishScienceAttendance
2
3
4
5
6
7
8

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