I wish to calculate the difference between two test scores and then assign a letter value based on the difference in the scores. The formula I have tried to use is:
=IF(OR($P4="", $Q4="", $R4=""),"",IF(R4>=4,"W",IF(R4>=0,"X",IF(R4<0,"Y",IF(R4<=-5,"Z",)))))
P is 1st test result. Q is 2nd test result. R is the difference in test scores (the result is sometimes negative).
'W', 'X' and 'Y' all display when appropriate, but I can't get the formula to display 'Z' for any test result. It should do so when the result is negative 5 or 'less'. Can excel recognise negative numbers in a formula of this type? If not, what functions can I use to display the letters appropriately?
Thanks for your help.
Bookmarks