Quick Formula: Left-Side Exact Lookup
MATCH finds which row your value sits on, and INDEX pulls the matching cell from any column—even to the left:
=INDEX($B$2:$B$100, MATCH(A2, $D$2:$D$100, 0))
Worked Example: Finding Department to the Left of Employee ID
If your employee table stores Department in Column B and Employee ID in Column D, INDEX-MATCH retrieves the department cleanly without rearranging columns:
| Cell A2 (Lookup ID) | Col B (Department) | Col D (Employee ID) | INDEX-MATCH Output |
|---|---|---|---|
| EMP-208 | Operations | EMP-208 | Operations |
| EMP-315 | Finance | EMP-315 | Finance |
| EMP-409 | Support | EMP-409 | Support |
Two-Way Lookup: Match Both Row and Column Headers
One of the biggest practical advantages of INDEX-MATCH is looking up a rate or score where a row label (H2) meets a column header (I2):
=INDEX($B$2:$E$20, MATCH(H2, $A$2:$A$20, 0), MATCH(I2, $B$1:$E$1, 0))
Common INDEX-MATCH Mistakes & Easy Fixes
- Leaving out
0inMATCH: Always set the match type to0for an exact match; omitting it defaults to approximate match and can return wrong rows on unsorted data. - Starting ranges on different rows: Keep both
return_rangeandlookup_rangealigned on the same start and end rows (for example, both2:100). - Showing
#N/Awhen an ID is missing: Wrap the formula in IFERROR—=IFERROR(INDEX(...), "Not Found")—to display clean fallback text.
Compare Lookup Options: See how
INDEX-MATCH compares with XLOOKUP and VLOOKUP, or test custom ranges in our Formula Finder.