FormulaCraft

VLOOKUP

VLOOKUP searches for a key in the leftmost column of a table and returns a value from a column you specify. It is the classic lookup function — best when your lookup column sits to the left of the data you want back.

Topic:VLOOKUP
Excel
=VLOOKUP(D2, A:B, 2, FALSE)
Google Sheets
=VLOOKUP(D2, A:B, 2, FALSE)

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

How it works

  1. 1D2 is the value you are searching for.
  2. 2A:B is the table; the lookup happens in column A.
  3. 32 returns the value from the 2nd column (B).
  4. 4FALSE forces an exact match.

Need a version for your data?

Try: “Look up the price in column B for the product name in D2

More on VLOOKUP

See all →

Related

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

Last reviewed: