An approximate VLOOKUP gives a result even when the exact value is not in the table. A score of 15.5 is not in the grading scale, but it must get the right grade. VLOOKUP with TRUE finds the closest lower value. There is one strict condition: the scale must be sorted in ascending order, or the result is wrong without any error message. XLOOKUP does not have this limit: it works without sorting and in both directions (see the XLOOKUP tutorial).
The following exercise shows you how to assign grades with a scale, then what happens when the scale is not sorted.
What you will practice in this exercise
You work on student scores and a grading scale. You answer 4 questions, one formula per question:
- Grade of Dupont with a sorted scale (approximate VLOOKUP with $)
- Copy the formula down for all students (fill down)
- The same formula with an unsorted scale (wrong result)
- Copy it down and compare the results (fill down)
Practice with exercises
VLOOKUP approximate — Grades
Assign grades with a scale and discover why sorting is required.
Related articles
All the exercises in this series are based on real cases found on Excel forums. Each one answers a question that Excel users really ask.