VLOOKUP can only look rightward. To return a value from a column to the left of the match, use INDEX/MATCH (or XLOOKUP), which don’t care about column order.
The example
Find the name (col A) by ID (col C).
| A | B | C | |
|---|---|---|---|
| 1 | Name | Dept | ID |
| 2 | Ann | Sales | 102 |
The formula
INDEX returns any column; MATCH finds the row:
How it works
Decouple “where to look” from “what to return”:
MATCH(key, C:C, 0)returns the row number where the key sits (exact match).INDEX(A:A, thatRow)returns the value from column A at that row — which can be left of, right of, or anywhere relative to the key.- Because INDEX and MATCH reference columns independently, there’s no “leftward” restriction.
- In 365/2021,
XLOOKUP(E2, C:C, A:A)does the same — the return array can be any column.
INDEX/MATCH is the classic workhorse. It does left lookups, is faster than VLOOKUP on wide tables (it only reads two columns), and doesn’t break when columns are inserted. XLOOKUP is the modern equivalent where available.
Try it: interactive demo
Find the name by ID (name is left of ID).
Variations
XLOOKUP version
365/2021:
Two-way INDEX/MATCH
Row and column:
Return whole row
Omit the column:
Pitfalls & errors
MATCH needs exact mode. Use 0 as MATCH’s third argument for an exact match; omitting it assumes sorted data and can return wrong rows.
Align INDEX and MATCH ranges. The INDEX column and the MATCH column should cover the same rows, or the row number won’t line up.
Whole-column refs are fine but heavier. A:A works; restrict to the data range on huge sheets for speed.
Practice workbook
Frequently asked questions
How do I look up a value to the left in Excel?
Why can't VLOOKUP look left?
Is INDEX/MATCH better than VLOOKUP?
Stop fighting formulas. Learn them in a day.
This recipe is one of hundreds of real-world formulas we teach. Our Excel Formulas & Functions class covers lookups, logic, text, and dynamic arrays hands-on — live in Dallas–Fort Worth, Houston, Austin, Oklahoma City, Denver, or online.
See the Formulas & Functions Class