Lookup Functions
Advanced

INDEX/MATCH with an approximate MATCH

MATCH type 1 finds the band; INDEX returns its label from any column.

Task:

Exam marks map to grades by the band table in E2:F6, where each row gives a band's lowest mark. In C2:C7 return each student's grade, using INDEX and MATCH.

Hints

+5 XPno-hints bonus

Solve it on your own to keep the bonus. Each hint gets one step closer to the formula.

The data in this exercise

This is the grid you start with. Cell references in the task — B6, C2 — point at the row numbers and column letters below.

7 rows × 6 columns6 cells you fill in
ABCDEF
1StudentMarkGradeFrom markGrade
2Ola740Fail
3Priyanka5050Pass
4Quentin4960Merit
5Rosa8870Distinction
6Sami6185Distinction*
7Tomas85
What this exercise teachesMay contain the answer

This is VLOOKUP's approximate match rebuilt from parts, and it is more flexible: the label column can be anywhere, and the band column does not have to be the first. 49 falls short of 50 and fails; 85 sits exactly on a boundary and takes the higher band.