Lessons / Reliable lookups · Lesson 3 of 4
INDEX and MATCH
Combine MATCH and INDEX for a dynamic exact lookup.
- 1See itThe worked example.
- 2Try itIn a real sheet. Hints if you need them.
- 3Do it on your ownWithout hints, to make the skill strong.
D2=INDEX(B2:B5,MATCH(C2,A2:A5,0))
| Row | A | B | C | D |
|---|---|---|---|---|
| 1 | Part | Bin | Find | Bin |
| 2 | R-2 | 14A | R-7 | 22B |
| 3 | R-5 | 03C | ||
| 4 | R-7 | 22B | ||
| 5 | R-9 | 08A |
MATCH finds which row it is. INDEX returns what is in that row.
Find the dearest product
Your first exercise in this lesson. Hints are there if you need them.
Start practiceAbout 9 min
Practise it
6 exercisesNext lesson · Reliable lookups
Open the lessonMissing lookups
Return a stable fallback when an ID is absent.