Originally Posted by
pafranklin
Many thanks for the replies which are VERY helpful.
Both suggested functions worked perfectly.
=IF(F2>39,10,IF(F2>29,8,IF(F2>19,5,IF(F2>12,3,0)))) and =LOOKUP(F2,{0,13,20,30,40},{0,3,5,8,10})
However my next "slight" problem is the fact that F2 (which is the result of a VLOOKUP function) can return the result #N/A sometimes and if possible I would like to have these display a different cell D2 if the value is #N/A.
I tried with something like =IF(ISNA(F2),D2,H2) which did return the contents of D2 if F2 shows #N/A but I do not know how to incorporate both functions together?
Is this possible?
Thank you all again very much.
Paul
Bookmarks