View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
hilarys hilarys is offline
external usenet poster
 
Posts: 1
Default Best grade using MAX ...BETTER WAY?

I have a spreadsheet with pupils marks and grades for many exams. I need to
find their best grade A*- U over 8 exams. The grade records are in in every
4th column going across the spreadsheet.
At present I am using VLOOKUP to assign each grade a number and then using
the MAX function to find the highest grade 'number' , which is then converted
back to a grade'letter' using VLOOKUP.

=VLOOKUP(MAX(VLOOKUP(A4,Data!$J$23:$K$33,2),VLOOKU P(D4,Data!$J$23:$K$33,2),VLOOKUP(H4,Data!$J$23:$K$ 33,2),VLOOKUP(L4,Data!$J$23:$K$33,2),VLOOKUP(P4,Da ta!$J$23:$K$33,2),VLOOKUP(T4,Data!$J$23:$K$33,2),V LOOKUP(X4,Data!$J$23:$K$33,2),VLOOKUP(BA4,Data!$J$ 23:$K$33,2)),Data!$M$23:$N$33,2)

Can anyone suggest a better way of doing this seems very long winded!

Many thanks