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

One way with the score in A1

=VLOOKUP(A1,{0,"F";50,"C";60,"B";75,"A"},2)

--
Regards,

Peo Sjoblom

(No private emails please)


"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