Cellgrids Cellgridsby LearnWithRinkesh
Home › Excel tutorials › MATCH Function in Excel (Find the Position of a Value)

How to Use the MATCH Function in Excel to Find the Position of a Value

By Rinkesh Shah · Business Analyst, 8 years in data · Updated 2026-10-31

▶ Video coming soon

MATCH tells you where something is in a list. It does not return the value, only its position, for example that Priya is the 14th name. On its own this looks small, but it is the engine behind INDEX MATCH and many dynamic formulas.

Syntax

=MATCH(lookup_value, lookup_array, [match_type])

Simple example

Names in A2:A100. To find where Priya is:

=MATCH("Priya", A2:A100, 0)

If she is in A15, the answer is 14, because the range starts at A2.

With INDEX to return a value

=INDEX(C2:C100, MATCH(F1, A2:A100, 0))

MATCH finds the row, and INDEX returns the value from that row of column C.

Pick the column by header name

Instead of a fixed column number, match the header: =INDEX(A2:F100, MATCH(F1,A2:A100,0), MATCH(G1,A1:F1,0)). Now the report keeps working if someone inserts a column.

Check whether a value exists

=ISNUMBER(MATCH(A2, Other!A:A, 0)) returns TRUE if A2 is in the other list. This is a quick way to compare two lists.

Common mistakes

Worked example

Names are in A2:A6: Asha, Bina, Chetan, Dev, Esha. =MATCH("Dev",A2:A6,0) returns 4, because Dev is the fourth item. Use it with INDEX to fetch a value from the same position in another column.

Common mistakes

Frequently asked questions

What does MATCH return?

The position of the value in the range, counted from 1.

What do 0, 1 and -1 mean?

0 is exact match, 1 finds the largest value not above the lookup (sorted ascending), -1 finds the smallest value not below (sorted descending).

Does MATCH work with wildcards?

Yes, with match type 0 and text, for example "A*".

Practice this online, free

Reading is only half of learning Excel. Cellgrids is a free place for online Excel practice: solve Excel formula exercises in a live spreadsheet, prepare for Excel interview questions, and work through business case studies built for data analytics and business analytics roles.

Practice these formulas: MATCH, INDEX, XLOOKUP.

Start Excel practice → Case studies