Why it works
- What it does
- Use one MATCH to find the row and another to find the column by its header name, then INDEX picks the cell where they cross. Because the column is found by name, inserted or reordered columns do not break it.
- The shape of the formula
- =INDEX(whole table, MATCH(key, key column, 0), MATCH("header", header row, 0))
- How to remember it
- Two MATCHes give the coordinates; INDEX goes there.
- The usual mistake
- A fixed column number in VLOOKUP. When someone inserts a column, every price comes from the wrong one.
Keep practicing
- INDEX and MATCH: look up to the leftHow do I find the account manager when the name column is on the left?Open
- HLOOKUP: look up across a rowHow do I look up a rate when the months run across the top?Open
- XLOOKUP: the simpler lookupHow do I look up a price with XLOOKUP?Open
- Lesson: Look up in any direction with INDEX and MATCHA short lesson in your workspace: the idea, small steps on a sheet, one task with new dataOpen
Updated