Maintenance Notification: We are upgrading our servers today so you may experience intermediate outages. Thank you for your patience.
Look up data by using functions
MO-211

Look up data by using the MATCH() function

=MATCH(D2, $A$2:$A$6, 0)

Return where D2 sits in A2:A6 — 1 for the first item, 2 for the second — matching exactly. MATCH gives a position, never the value next to it.

What the MO-211 task asks

MATCH answers “which row?”, not “what value?”. In our MO-211 practice exams its task says so outright: it wants “the position within the list, not the value”. If the wording asks for a position, rank or row number within a list, it is MATCH.

The position counts from the first cell of the range you give it, not from row 1 of the sheet — so the range must start where the list starts. The third argument decides the match: 0 for exact, which is almost always what a task wants.

Our grader checks the value in the target cell or range. One wrong cell fails the whole range, and an off-by-one position is a wrong value.

Worked examples

Type these into a blank sheet to follow along. Every result below is what Excel showed.

Leaderboard
AB
1NamePoints
2Kim92
3Lee88
4Ray85
5Sam79
6Tia74
Positions (the video fills E2:E5)
DE
1PlayerPosition
2Ray3
3Tia5
4Kim1
5Lee2
A position in a column
=MATCH("Sam", A2:A6, 0)
Returns 4

Sam is the 4th name in A2:A6. Start the range at A1, on the header, and the same lookup returns 5.

A position across a row
=MATCH("Points", A1:B1, 0)
Returns 2

MATCH works along a row the same way: Points is the 2nd header.

The first value at or above, in a descending list
=MATCH(80, B2:B6, -1)
Returns 3

The points are sorted high to low. Match type -1 returns the position of the smallest value that is at least 80 — 85, Ray's, in 3rd place.

A wildcard
=MATCH("T*", A2:A6, 0)
Returns 5

With match type 0, * stands for any characters: Tia is the first name starting with T.

Filled down a column
=MATCH(D2, $A$2:$A$6, 0)
Returns 3, 5, 1, 2 in E2:E5

The list is locked, so every player is found in the same five names. This is what the video below builds.

Watch it done in Excel

The last example above, recorded in real Excel on the same grid.

Exam traps

Leaving out the third argument

MATCH's default is 1, approximate. =MATCH("Max", A2:A6) returns 2 — Lee's position — for a name that is not on the list; with 0 it returns #N/A.

Including the header in the range

Positions count from the first cell of the range. =MATCH("Sam", A1:A6, 0) returns 5, not 4, because A1 is the header. The grader reads 5 as a wrong answer.

Filling down without locking the list

Unlocked, =MATCH(D2, A2:A6, 0) filled down shifts the list one row each time: the second row returns 4 instead of 5, and the last two return #N/A.

Expecting a value

MATCH returns where something is, not what is next to it. To get Sam's points, feed the position to INDEX: =INDEX(B2:B6, MATCH("Sam", A2:A6, 0)).

FAQ

Is MATCH case-sensitive?

No. =MATCH("sam", A2:A6, 0) returns 4, the same as "Sam".

What does match type 1 need?

A list sorted ascending; it returns the position of the largest value at or below what you asked for. On the descending points, =MATCH(80, B2:B6) returns #N/A. For a descending list, -1 is the type that works.

Why use MATCH on its own?

When the task wants the position itself — a row number or a place in a ranking. More often MATCH feeds INDEX, which turns the position into a value.

New to this function?

This page covers what the exam asks. For the full how-to — every argument, more examples and a practice workbook — read our guide on dfwexcel.com.

The MATCH function, explained — dfwexcel.com

Try it under exam conditions

Take a full, timed MO-211 practice exam, upload the workbook you built, and get a score out of 1000 with a per-task breakdown of where the points went. Your first one is free.

No credit card needed.