INDEX MATCH in Excel: how it works, with multiple criteria
How INDEX MATCH works in Excel, step by step: look up to the left, match on two or more criteria, two-way lookups, and fixes for #N/A and wrong rows.
Find the place each runner finished in.
MATCH gives the position of a value in a list: 1 for the first, 2 for the second...
The runners are listed in finishing order. Find each runner's place for the names in E2:E6. Put the formulas in F2:F6.
Typing formulas is easiest on a computer with a keyboard.
| A | B | C | D | E | F | G | |
|---|---|---|---|---|---|---|---|
| 1 | Runner | Time | Runner | Place | |||
| 2 | Oscar Patel | 19:46 | Jamal Novak | ||||
| 3 | Lena Fischer | 20:07 | Daniel Okafor | ||||
| 4 | Grace Evans | 21:05 | Elif Patel | ||||
| 5 | Jamal Novak | 21:20 | Tariq Dubois | ||||
| 6 | Isla Kowalski | 21:47 | Oscar Patel | ||||
| 7 | Kofi Patel | 22:20 | |||||
| 8 | Tariq Dubois | 22:41 | |||||
| 9 | Daniel Okafor | 22:55 | |||||
| 10 | Zoe Jensen | 23:51 | |||||
| 11 | Elif Patel | 24:36 | |||||
| 12 | |||||||
| 13 | |||||||
| 14 | |||||||
| 15 |
MATCH do?MATCH answers "where is it?". It searches a row or column and returns the position of what it finds, not the value itself.
=MATCH(lookup_value,
From the start of the range you give, not from the top of the sheet. In $A$2:$A$11, A2 is position 1 and A11 is position 10. That's why the range starts under the header: start it at A1 and every answer is one too big.
0 means exact match. Leave it out and MATCH assumes the list is sorted smallest to largest and guesses, which gives wrong positions on a list of names.
A position on its own is useful when the order means something, like places in a race. But MATCH is mostly a building block: INDEX turns the position back into a value, which together make a lookup that can look left.
How INDEX MATCH works in Excel, step by step: look up to the left, match on two or more criteria, two-way lookups, and fixes for #N/A and wrong rows.
Know someone fighting with a spreadsheet? Send them this page.