Look up data by using the VLOOKUP() function
=VLOOKUP(F2, $A$2:$D$6, 4, FALSE)Find F2 in the first column of A2:D6, return the 4th column of that row, and match exactly. Lock the table before you fill it down: the exam checks every cell in the range.
What the MO-211 task asks
MO-211 is performance-based: you build the answer in a live workbook. In our MO-211 practice exams a VLOOKUP-shaped task describes the result — turn each code into a name from the register, say — and adds the conditions that decide the arguments: “the code must match exactly” is FALSE in the fourth argument, and “the table reference must be locked so the formula fills down” means dollar signs on the table.
The other wording to recognise is the banded table, where the first column “holds the lower bound of each band and is sorted ascending” and each row should take “the nearest band at or below”. That is the one case where you want VLOOKUP's approximate match, TRUE.
Our grader checks the value in every cell of the target range, and some tasks also check that the table reference is absolute. It reads the values, not the function, so any lookup that produces them earns the points — but one wrong cell fails the whole range.
Worked examples
Type these into a blank sheet to follow along. Every result below is what Excel showed.
| A | B | C | D | |
|---|---|---|---|---|
| 1 | Code | Name | Team | Rate |
| 2 | S-01 | Ana Ruiz | Ops | 32 |
| 3 | S-02 | Ben Cole | Sales | 28 |
| 4 | S-03 | Cara Diaz | Ops | 35 |
| 5 | S-04 | Dev Shah | IT | 41 |
| 6 | S-05 | Eli Moss | Sales | 30 |
| F | G | |
|---|---|---|
| 1 | Shift code | Rate |
| 2 | S-03 | 35 |
| 3 | S-05 | 30 |
| 4 | S-07 | #N/A |
| 5 | S-01 | 32 |
| I | J | |
|---|---|---|
| 1 | Min km | Fee |
| 2 | 0 | 4 |
| 3 | 5 | 7 |
| 4 | 20 | 12 |
| 5 | 50 | 20 |
=VLOOKUP("S-04", A2:D6, 4, FALSE)Find S-04 down column A and return the 4th column of the table, Rate. FALSE asks for an exact match.
=VLOOKUP("Dev Shah", B2:D6, 3, FALSE)This table starts in column B, so Rate is its 3rd column, not the 4th. Ask for column 4 and the same lookup returns #REF!.
=VLOOKUP("S-07", A2:D6, 4, FALSE)There is no S-07, and #N/A says so. Leave out FALSE and the same lookup returns 30 — S-05's rate — with no warning.
=VLOOKUP(12, I2:J5, 2, TRUE)12 km is not a band boundary, so an exact match returns #N/A. TRUE takes the largest Min km that does not exceed 12 — 5 — so the fee is 7. This only works because column I is sorted ascending.
=VLOOKUP(F2, $A$2:$D$6, 4, FALSE)The shape of most VLOOKUP tasks: one formula in the first cell, filled down, with the table locked so every row searches the same rows. 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
VLOOKUP's default is approximate match. =VLOOKUP("S-07", A2:D6, 4) returns 30, S-05's rate, for a code that is not in the register. Write FALSE unless the task describes bands.
The number counts from the table's own left edge. With the table in B2:D6, Rate is column 3; =VLOOKUP("Dev Shah", B2:D6, 4, FALSE) returns #REF!.
Unlocked, =VLOOKUP(F2, A2:D6, 4, FALSE) filled to G5 becomes =VLOOKUP(F5, A5:D9, 4, FALSE). The table has slid past S-01, so G5 shows #N/A instead of 32 while the first rows still look right.
VLOOKUP only returns columns to the right of the one it searches. If the task wants a code from a name and the codes sit to the left, use XLOOKUP or INDEX with MATCH instead.
FAQ
Is VLOOKUP case-sensitive?
No. =VLOOKUP("s-02", A2:D6, 2, FALSE) returns Ben Cole, the same as "S-02".
When is TRUE the right fourth argument?
When the first column holds the lower bound of each band, sorted ascending, and you want the band a value falls into. On the delivery bands, 4.9 km returns 4, 5 km returns 7 and 75 km returns 20.
Can VLOOKUP use wildcards?
Yes, with FALSE. =VLOOKUP("S-0*", A2:D6, 2, FALSE) returns Ana Ruiz, the first code that fits the pattern.
Should I use VLOOKUP or XLOOKUP on the exam?
Either, when the task only describes the result: our grader checks the values in the cells, not the function. The outline names both, so learn both.
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 VLOOKUP function, explained — dfwexcel.comTry 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.
