IF Function

T

tw

Is there any way to nest more than functions in an IF
statment.

Example: 90-100 = A etc. can be written as =IF
(A2>89,"A",IF(A2>79,"B", IF(A2>69,"C",IF
(A2>59,"D","F")))). I would like to break the grades down
farther to A+, A, A-, but this requires more than seven IF
statements.
 
R

Ron Rosenfeld

Is there any way to nest more than functions in an IF
statment.

Example: 90-100 = A etc. can be written as =IF
(A2>89,"A",IF(A2>79,"B", IF(A2>69,"C",IF
(A2>59,"D","F")))). I would like to break the grades down
farther to A+, A, A-, but this requires more than seven IF
statements.

There is no way to next more than 7 functions. However, there are other
methods to do your grading.

For example, set up a table in I1:J12 showing the average grade and
corresponding Letter grades:

0 E
60 D-
65 D
70 C-
73 C
77 C+
80 B-
83 B
87 B+
90 A-
93 A
97 A+

Then use this formula (assuming the numeric grade is in A1):

=VLOOKUP(A1,I1:J12,2)


--ron
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top