View Single Post
  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Biff
 
Posts: n/a
Default need help on a formula for this problem

Oops!

=IF(A1="","",LOOKUP(A1,{0,"F";50,"C";60,"D";75,"A" }))


Replace the "D" with a "B".

Biff

"Biff" wrote in message
...
Hi!

One way:

A1 = score

=IF(A1="","",LOOKUP(A1,{0,"F";50,"C";60,"D";75,"A" }))

Biff

"whassup" wrote in
message ...

supposing im keying in test scores for a test where the full score is
100.
75 marks and over gets a A grade
60 to 74 marks gets a B grade
50 to 59 marks a C grade
49 and below a F grade

what is the formula that i use so that i can key in any random score
from 0 to 100 in one column and the corresponding grade would appear in
another column?

thanks


--
whassup
------------------------------------------------------------------------
whassup's Profile:
http://www.excelforum.com/member.php...o&userid=21553
View this thread:
http://www.excelforum.com/showthread...hreadid=488435