FormulaCraft

How to do a reverse (left) lookup in Excel and Google Sheets

Topic:VLOOKUP
Excel & Google Sheets
=INDEX(A2:A5,MATCH(D2,B2:B5,0))

Try it with your data

Edit the grid or formula, then run it through a real spreadsheet engine — no signup.

Sample data — click any cell to edit

Runs server-side · free · no signup

Step by step

  1. 1Identify the column containing the lookup value (e.g. column B) and the column with the result to the left (e.g. column A).
  2. 2Put the value to search for in a cell (e.g. D2).
  3. 3Enter =INDEX(A2:A5,MATCH(D2,B2:B5,0)).
  4. 4MATCH finds the row position of D2 in column B; INDEX returns the value at that row in column A.

Tips

Need it for your exact data?

Describe your columns in plain English and get the precise formula for your sheet, with the right Excel or Sheets syntax.

Frequently asked

Can VLOOKUP do a left lookup at all?

Only with a workaround using CHOOSE to reorder the columns virtually: =VLOOKUP(D2,CHOOSE({1,2},B2:B5,A2:A5),2,0). INDEX MATCH is cleaner.

What if there are duplicate values in the lookup column?

MATCH returns the first match. For the last match, use LOOKUP(2,1/(B2:B5=D2),A2:A5).

More on VLOOKUP

See all →

Formulas used

Written and reviewed by FormulaCraft Team. Each formula on this page is run through our verification engine before publishing.

Last reviewed: