Formulyo

Excel + Google Sheets · INDEX + MATCH

The lookup that works in every Excel

MATCH finds the row, INDEX returns the value. Works in any Excel version.

The formula

=INDEX(B2:B4, MATCH(D2, A2:A4, 0))

What each part means

Example

Before
ABCDE
1IDClientFindResult
2C-07LauraC-12
3C-12João
4C-03Priya
After
ABCDE
1IDClientFindResult
2C-07LauraC-12João
3C-12João
4C-03Priya

Step by step

  1. Click cell E2.
  2. Type the formula: =INDEX(B2:B4, MATCH(D2, A2:A4, 0))
  3. Press Enter.
  4. Drag the small square in the bottom-right corner of the cell down to copy it to the other rows.

Where it works

The same formula in other languages

Get 1 formula a day, free

Plus a free weekly planner template for Excel and Google Sheets. Unsubscribe in 1 click.

✓ Done! Check your inbox to confirm.

Want ready-made templates? See the Formulyo pack →

Keep learning