There's probably some "better" solutions doable with VLOOKUP or INDEX/MATCH. But, for a fairly small list like a grading scale, a simple series of nested IFs should do the job just fine.
Here, I started on the outside with "F" and worked my way in to "A". The formula simply works its way up through the grading tiers to see if the student's grade is less than the maximum for each tier. Once it finds the right one, it stops. With this formula, the minimums and the specification of range for "A" are technically unnecessary. It will also automatically adjust the students' letter grades when the maximums are changed (though there may be some erroneous results if you've accidentally left some overlap).
=IF(A2<$F$6,$D$6,IF(A2<$F$5,$D$5,IF(A2<$F$4,$D$4,IF(A2<$F$3,$D$3,$D$2))))
Keep in mind that every reference to the grade being checked should be relative (e.g.: A2
) while all references to the grading chart need to be absolute (e.g.: $D$2
). This way, the formula will automatically adjust to whichever grade is on the row it's in while always pointing to the right cells it needs to look up the letter value.
If the grading chart is on a separate sheet, the formula is pretty much the same but it looks a bit messier. For each reference out to the grading chart, you'll need to include the sheet name, like this: 'Grading Chart'!$A$2
. See the formula below.
=IF(A2<'Grading Chart'!$C$6,'Grading Chart'!$A$6,IF(A2<'Grading Chart'!$C$5,'Grading Chart'!$A$5,IF(A2<'Grading Chart'!$C$4,'Grading Chart'!$A$4,IF(A2<'Grading Chart'!$C$3,'Grading Chart'!$A$3,'Grading Chart'!$A$2))))
An easy way to have Excel help you construct this is if you can start with the grading chart on the same sheet as the grades list. Then, after you've written the formula and got it working, Cut & Paste the grading chart onto the other sheet. Excel will automatically adjust the formula to point to the chart in its new location. This even works if you move the chart to a different file, so long as the one containing the grades list is open when you do so.