FormulaCraft

INDEX / MATCH

INDEX returns a value at a position; MATCH finds that position. Combined, they look up in any direction and outperform VLOOKUP on large sheets.

Topic:INDEX / MATCH
Excel
=INDEX(B:B, MATCH(D2, A:A, 0))
Google Sheets
=INDEX(B:B, MATCH(D2, A:A, 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

How it works

  1. 1MATCH(D2, A:A, 0) finds the row where A equals D2.
  2. 2INDEX(B:B, …) returns the value from B in that row.
  3. 30 in MATCH means exact match.

Need a version for your data?

Try: “Return the value in column B for the ID in D2 using index match

More on INDEX / MATCH

See all →

Related

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

Last reviewed: