VLOOKUP in Excel - Simple Example

A minimal worked example using a real order list

This page is built around a single simple example rather than a full explanation of every VLOOKUP feature. The idea is to see one complete, working formula from start to finish, using a small order list, so the pattern is clear enough to repeat on other data.

A brief explanation follows the example for anyone who wants to understand why each part of the formula is written the way it is.

Turbo Excel VLookup

Turbo Excel VLookup
App Screenshots
Lookup and Merge tab - VLOOKUP XLOOKUP replacement
Match mode and return option selection
Lookup statistics and match percentage report
Join tab - Left Right Inner Full Outer Anti Semi Cross join
Duplicates tab - duplicate record finder
Data Cleaning tab - trim normalize and clean columns
Formula Generator tab - VLOOKUP XLOOKUP INDEX MATCH formula builder
Reports tab - session log of lookups joins and exports
Export options - XLSX CSV TSV output settings
Key Column Pairs - multi-key composite matching setup
License activation screen - Gumroad key entry
Help tab - built-in usage guide and tips
Enlarged application screenshot
The Order List
Order IDCustomer NameCityStatus
ORD-501Rohan GuptaChennaiShipped
ORD-502Meera PillaiBengaluruPending
ORD-503Arjun NairHyderabadDelivered
The Working Formula

To find which City ORD-503 was shipped to:

=VLOOKUP("ORD-503", A2:D4, 3, FALSE) // returns "Hyderabad"
Why Each Argument Is Written This Way

"ORD-503" is searched for in column A, since Order ID needs to be the leftmost column of the selected range. A2:D4 covers the full table so any of its columns can be returned. City is the third column counting from A, so col_index_num is 3, and FALSE is used because order IDs must match exactly.

Returning a Different Column From the Same Table

The same table can answer a different question just by changing col_index_num - here's Status instead of City for the same order:

=VLOOKUP("ORD-503", A2:D4, 4, FALSE) // returns "Delivered"
Reusing This Example on Your Own Data

Swap in your own column headers and data, keep the ID column leftmost, count to the column you want returned, and keep FALSE for exact matches - that's the entire pattern. For matching a full order list at once rather than one ID at a time, Turbo Excel VLookup runs this same logic across every row automatically.

Speeding Up VLOOKUP in a Large Workbook

A worksheet with thousands of VLOOKUP formulas recalculating against a large table_array can slow Excel down noticeably, especially if the range isn't locked and Excel has to re-evaluate a shifting reference on every keystroke.

Converting the source range into an Excel Table (Insert > Table) before referencing it in VLOOKUP tends to help, since Table references automatically resize with the data and stay consistent without needing manual $ locking.

Building the Habit of Testing With One Row First

Before applying a new VLOOKUP formula to an entire column, it's worth testing it on a single row and manually verifying the result against the source data, since a mistake caught in one cell takes seconds to fix, while the same mistake copied down five hundred rows takes much longer to untangle.

This is especially worth doing whenever the source table_array has changed shape recently, since a resized or reordered table is the single most common reason a previously reliable formula starts returning unexpected results.

Frequently Asked Questions

Why does Order ID need to be in column A?

VLOOKUP only searches the leftmost column of the selected range, so the ID being searched for must sit there.

How was col_index_num of 3 determined in this example?

By counting columns starting at 1 from the left edge of the selected range, up to the City column.

Can this same formula return Status instead of City?

Yes, only col_index_num needs to change, from 3 to 4, since Status is the fourth column in the same range.

Why is FALSE used instead of TRUE in this example?

Because Order IDs are unique identifiers and need an exact match rather than an approximate one.

Does this example work if I add more rows to the order list?

Yes, as long as the table_array range is expanded or locked to cover the new rows.

Is there a way to look up every order at once?

Turbo Excel VLookup matches an entire order list in a single action instead of one formula per Order ID.

Does locking a range with F4 change how the formula calculates?

No, it only fixes the range so it doesn't shift when the formula is copied - the calculation itself works the same either way.

What's a fast way to check what a formula is actually returning?

Selecting part of the formula in the formula bar and pressing F9 shows its calculated value directly, without changing the formula.

Can trailing spaces in a cell cause a lookup to fail?

Yes, an extra space at the end of a value is invisible but prevents an exact match; TRIM() around the lookup value often fixes this.

Does the order of rows in the source data matter for an exact match?

No, an exact match search works regardless of row order; only an approximate match requires sorted data.

Ready to stop fighting #N/A errors and match your spreadsheets visually?

Related guides and tools

This guide is part of TurboSoft’s Excel lookup and matching resources. Turbo Excel Lookup handles all of these tasks offline on Windows.

Get Turbo Excel Lookup →