ExcelUnpackUnpack Excel, one formula at a time.
Log inSign up

Lesson 42 · Lookups

MATCH in Excel

MATCH tells you where something is in a list: 1st, 2nd, 3rd and so on. On its own it gives a position. With INDEX it becomes a powerful lookup.

Practice this lesson →Pro lesson. The first 4 lessons are free.

What you will learn

  • Find the position of a value with MATCH

How it works

=MATCH(D2,A2:A7,0) finds the value in D2 in the list A2:A7 and shows its position.

Formulas at a glance

=MATCH(what, list, 0)position

Example

Write the formula to find the position of the fruit in D1.

ABCD
1FruitFruit to findKiwi
2ApplePosition
3Banana
4KiwiFruit to findPlum
5MangoPosition
6Plum
7Grape

Click D2 and type =MATCH(D1,A2:A7,0), then press Enter.

The answer is 3.

When to use it

  • Finding which row a name is on
  • Finding which column a month is in
  • Building INDEX and MATCH lookups

Common mistakes

  • Leaving out the 0Use 0 at the end for an exact match.
  • Expecting the value backMATCH gives a position, like 3. Use INDEX to get the value.
  • Searching a whole tableMATCH searches one row or one column.

Practice it on a real sheet

Reading is a start. Doing it is how it sticks. This lesson walks you through every click on a live spreadsheet and checks each answer.

MATCH in Excel: how it works, with examples · ExcelUnpack