F Original Score | G Rating |
26 | 4 |
18 | 6 |
<colgroup><col style="mso-width-source:userset;mso-width-alt:4022; width:83pt" span="2" width="110"> </colgroup><tbody>
</tbody>
I have created a nested IF statement to average out the original scores to the table below
Original Score | Rating |
0 | 10 |
1-5 | 9 |
6-10 | 8 |
11-15 | 7 |
16-20 | 6 |
21-25 | 5 |
26-30 | 4 |
31-35 | 3 |
36-40 | 2 |
41-50 | 1 |
51+ | 0 |
<colgroup><col><col span="2"></colgroup><tbody>
</tbody>
=IF(F3=0,10,IF(F3="", "",IF(AND(F3>=1,F3<=5),9,IF(AND(F3>=6,F3<=10),8,IF(AND(F3>=11,F3<=15),7,IF(AND(F3>=16,F3<=20),6,IF(AND(F3>=21,F3<=25),5,IF(AND(F3>=26,F3<=30),4,IF(AND(F3>=31,F3<=35),3,IF(AND(F3>=36,F3<=40),2,IF(AND(F3>=41,F3<=50),1,IF(AND(F3>50,F3<=1500),0))))))))))))
It works fine except that if there is a blank cell in F I get a rating of 10. I just want it to give a blank if the original score was blank instead of 10.
Any help would be appreciated.
Regards Mettraya1