A
Score
45
90
1 78
2 Formula Description (Result)
3 =IF(A2>89,"A",IF(A2>79,"B", Assigns a letter grade to the
IF(A2>69,"C",IF(A2>59,"D","F")))) first score (F)
4
=IF(A3>89,"A",IF(A3>79,"B", Assigns a letter grade to the
IF(A3>69,"C",IF(A3>59,"D","F")))) second score (A)
=IF(A4>89,"A",IF(A4>79,"B", Assigns a letter grade to the
IF(A4>69,"C",IF(A4>59,"D","F")))) third score (C)
In the preceding example, the second IF statement is also the value_if_false argument to
the first IF statement. Similarly, the third IF statement is the value_if_false argument to
the second IF statement. For example, if the first logical_test (Average>89) is TRUE, "A"
is returned. If the first logical_test is FALSE, the second IF statement is evaluated, and so
on.
The letter grades are assigned to numbers using the following key.