M
mountaindog
I am using excel 2000 (9.0.2720)
The following is from a simple excel file. It just assigns a letter
grade for a given score. The following works just fine.
=IF(J7>95,"A",IF(AND(J7>90,J7<=95),"A-",IF(AND(J7>85,J7<=90),"B",IF(AND(J7>80,J7<=85),"B-",IF(AND(J7>75,J7<=80),"C",IF(AND(J7>70,J7<=75),"C-",IF(AND(J7>65,J7<=70),"D","F")))))))
The same line indented
=IF(J7>95,"A",
IF(AND(J7>90,J7<=95),"A-",
IF(AND(J7>85,J7<=90),"B",
IF(AND(J7>80,J7<=85),"B-",
IF(AND(J7>75,J7<=80),"C",
IF(AND(J7>70,J7<=75),"C-",
IF(AND(J7>65,J7<=70),"D","F")))))))
above works
---------------
below fails
When I add the last case for the D- condition excel barfs with the
following error:
"The formula you typed contains an error."
=IF(J7>95,"A",IF(AND(J7>90,J7<=95),"A-",IF(AND(J7>85,J7<=90),"B",IF(AND(J7>80,J7<=85),"B-",IF(AND(J7>75,J7<=80),"C",IF(AND(J7>70,J7<=75),"C-",IF(AND(J7>65,J7<=70),"D",if(and(j7>60,j7<=65,"D-","F"))))))))
The same line indented
=IF(J7>95,"A",
IF(AND(J7>90,J7<=95),"A-",
IF(AND(J7>85,J7<=90),"B",
IF(AND(J7>80,J7<=85),"B- ",
IF(AND(J7>75,J7<=80),"C",
IF(AND(J7>70,J7<=75),"C-",
IF(AND(J7>65,J7<=70),"D",
IF(AND(j7>60,j7<=65,"D-","F"))))))))
I have typed this in more times then I can count and I just don't see
the problem. I am sure that it is right in front of me and I am just
not seeing the error. It is as if I have reached a limit on the number
of conditions but, that would be to simple.
I need a second opinion. Can anyone see what the
problem is?
Or,,,,,, am I doing this the hard way. If there is an easier method
please show me.
Thanks
----------
The following is from a simple excel file. It just assigns a letter
grade for a given score. The following works just fine.
=IF(J7>95,"A",IF(AND(J7>90,J7<=95),"A-",IF(AND(J7>85,J7<=90),"B",IF(AND(J7>80,J7<=85),"B-",IF(AND(J7>75,J7<=80),"C",IF(AND(J7>70,J7<=75),"C-",IF(AND(J7>65,J7<=70),"D","F")))))))
The same line indented
=IF(J7>95,"A",
IF(AND(J7>90,J7<=95),"A-",
IF(AND(J7>85,J7<=90),"B",
IF(AND(J7>80,J7<=85),"B-",
IF(AND(J7>75,J7<=80),"C",
IF(AND(J7>70,J7<=75),"C-",
IF(AND(J7>65,J7<=70),"D","F")))))))
above works
---------------
below fails
When I add the last case for the D- condition excel barfs with the
following error:
"The formula you typed contains an error."
=IF(J7>95,"A",IF(AND(J7>90,J7<=95),"A-",IF(AND(J7>85,J7<=90),"B",IF(AND(J7>80,J7<=85),"B-",IF(AND(J7>75,J7<=80),"C",IF(AND(J7>70,J7<=75),"C-",IF(AND(J7>65,J7<=70),"D",if(and(j7>60,j7<=65,"D-","F"))))))))
The same line indented
=IF(J7>95,"A",
IF(AND(J7>90,J7<=95),"A-",
IF(AND(J7>85,J7<=90),"B",
IF(AND(J7>80,J7<=85),"B- ",
IF(AND(J7>75,J7<=80),"C",
IF(AND(J7>70,J7<=75),"C-",
IF(AND(J7>65,J7<=70),"D",
IF(AND(j7>60,j7<=65,"D-","F"))))))))
I have typed this in more times then I can count and I just don't see
the problem. I am sure that it is right in front of me and I am just
not seeing the error. It is as if I have reached a limit on the number
of conditions but, that would be to simple.
I need a second opinion. Can anyone see what the
problem is?
Or,,,,,, am I doing this the hard way. If there is an easier method
please show me.
Thanks
----------