Question : vlookup - answer for "dummies"

In sheet 2 I've calculated student grades using the Round and Sum function.

I'm having a really hard time assigning them to a letter grade using the following table:

0-50=F
50-60=D
60-70=C
70-80=B
80-100=A

I'm constantly getting an error.

I've created the legend on Sheet 3 but cannot, for some reason, figure out how to assign those letter grades to the column that I have in Sheet 2 with the computed final grade.

Any suggestions?

I need the answer by tomorrow - I know, a procrastinator.

Thanks,
Kelhaley

Answer : vlookup - answer for "dummies"

Hi kelhaley,
The VLOOKUP function is perfect for your grading.

To use VLOOKUP, make a table on Sheet3 in cells A1:B5 as follows:
0     F
50    D
60    C
70    B
80    A

If the student's grade is in cell C1, then use this formula to return the letter grade:
=VLOOKUP(C1,Sheet3!A1:B5,2)


Cheers!

Brad
Random Solutions  
 
programming4us programming4us