You are on page 1of 1

3. Press CTRL+C.

4. In the worksheet, select cell A1, and press CTRL+V.


5. To switch between viewing the results and viewing the formulas that return the
results, press CTRL+` (grave accent), or on the Tools menu, point to Formula
Auditing, and then click Formula Auditing Mode.

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.

If Score is Then return


Greater than 89 A
From 80 to 89 B
From 70 to 79 C
From 60 to 69 D
Less than 60 F
0