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.
| A | B | C | D | |
|---|---|---|---|---|
| 1 | Fruit | Fruit to find | Kiwi | |
| 2 | Apple | Position | ||
| 3 | Banana | |||
| 4 | Kiwi | Fruit to find | Plum | |
| 5 | Mango | Position | ||
| 6 | Plum | |||
| 7 | Grape |
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.