Cellgrids Cellgrids
Home › Practice questions › MATCH › Question 2

Excel MATCH Practice Question: Find the position of the code typed in E2 in the code list and put it in F2.

By Rinkesh Shah, founder of Cellgrids.

The question

Find the position of the code typed in E2 in the code list and put it in F2.

The data

ABCDEF
1CodeItemCodePosition
2T-110LampT-140?
3T-120Fan
4T-130Heater
5T-140Cooler
6T-150Geyser

The yellow cell is where your answer goes.

Show answer

Answer in F2: 4

How it works

Explanation: MATCH returns a position, not the value itself. Positions are counted from the first cell of the range.
Syntax: =MATCH(E2,A2:A6,0)
T-140 is the fourth code in A2:A6, so the position is 4.

Try it yourself in the live sheet

Type your formula in the highlighted cell and get instant feedback. Free, no Excel install needed.

Try this question in the live sheet →

MATCH syntax

=MATCH(lookup_value, lookup_array, [match_type])

Finds the position of a value within a range — usually paired with INDEX. Finding exactly where a value sits in a list, so INDEX can pull the matching row. Full MATCH guide.

More MATCH practice questions

All practice questions · Excel exercises · Interview prep · Cheat sheet