Turn a numeric score into a letter grade with an approximate-match LOOKUP against a grade scale — cleaner and easier to maintain than a stack of nested IFs.
The example
An 87 lands in the B band.
| A | B | |
|---|---|---|
| 1 | Score | Grade |
| 2 | 87 | B |
| 3 | 92 | A |
The formula
The formula:
How it works
How it works:
- Build a grade scale: ascending breakpoints (0, 60, 70, 80, 90) and matching letters.
LOOKUP(orVLOOKUPwith TRUE) finds the highest breakpoint ≤ the score.- It returns the letter for that band — 87 falls in the 80 band → B.
- Keep breakpoints sorted ascending; a real lookup table beats hard-coded arrays for editing.
A table beats nested IFs. Put breakpoints and letters in two columns and use =VLOOKUP(score, scale, 2, TRUE). Adding plus/minus grades or changing a cutoff becomes a quick table edit — no formula surgery — and the same scale can drive an entire gradebook.
Try it: interactive demo
Enter a score (0–100).
Variations
VLOOKUP table
From two columns:
With plus/minus
Finer bands:
IFS version
Explicit bands:
Pitfalls & errors
Sort ascending. Approximate-match LOOKUP/VLOOKUP needs breakpoints in ascending order.
Cover the bottom. Start the scale at 0 so low scores still match.
TRUE for VLOOKUP. Omitting the 4th argument forces exact match and breaks bands.
Practice workbook
Frequently asked questions
How do I convert a score to a letter grade in Excel?
How do I add plus/minus grades?
Why does my grade lookup return the wrong letter?
Stop fighting formulas. Learn them in a day.
This recipe is one of hundreds of real-world formulas we teach. Our Excel Formulas & Functions class covers lookups, logic, text, and dynamic arrays hands-on — live in Dallas–Fort Worth, Houston, Austin, Oklahoma City, Denver, or online.
See the Formulas & Functions Class