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 who finished in each place.
INDEX picks the value at a position you give it.
The runners are listed in finishing order. Find who finished in each place 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 | Place | Runner | |||
| 2 | Oscar Patel | 19:46 | 4 | ||||
| 3 | Lena Fischer | 20:07 | 8 | ||||
| 4 | Grace Evans | 21:05 | 10 | ||||
| 5 | Jamal Novak | 21:20 | 7 | ||||
| 6 | Isla Kowalski | 21:47 | 1 | ||||
| 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 |
INDEX do?INDEX is the opposite of MATCH. You give it a range and a position, and it gives back the value at that position.
=INDEX(array,
=INDEX($A$2:$A$11,3) counts 3 cells down from A2 and returns what is in A4.
From the first cell of the range, which is position 1. Start the range at the header and the header becomes position 1, so every answer is one place too early.
Add a third part, the column: =INDEX($A$2:$B$11,3,2) goes 3 rows down and 2 columns across, giving B4.
Here you type it, or it sits in a cell. Usually it comes from MATCH, which finds the position of a value. Put the two together and you have a lookup that can return any column, even one to the 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.