VLOOKUP Tutorial

Everything a first-time user needs to write a working VLOOKUP formula

This tutorial is written for someone who has never written a VLOOKUP formula before. Rather than jumping straight into syntax, it starts with what VLOOKUP is actually doing behind the scenes, then builds up to a complete worked formula using a small product table.

By the end, you'll be able to write your own VLOOKUP from scratch, recognize the most common errors before they happen, and know when it makes more sense to use Turbo Excel VLookup instead of a formula.

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
What VLOOKUP Actually Does

VLOOKUP stands for "vertical lookup." It scans down the first column of a range you choose, looks for a value you specify, and then, once it finds a matching row, returns a value from a column you choose within that same row.

The "V" matters: it only searches vertically down a single column, which is why the lookup column always has to sit at the left edge of your selected range.

The Syntax, Piece by Piece
=VLOOKUP(lookup_value, table_array, col_index_num, [range_lookup])

lookup_value is what you're searching for. table_array is the full range containing your data, including the lookup column and every column you might want to return from. col_index_num is a plain count of columns starting at 1 for the first column in table_array. range_lookup is TRUE for an approximate match or FALSE for an exact match - almost always you want FALSE.

Building the Formula With a Real Table

Here's a small product table to practice with. The goal is to look up the Price for SKU-2202:

SKUProduct NameCategoryPrice
SKU-2201Wireless MouseElectronics699
SKU-2202Desk LampHome899
SKU-2203Notebook PackStationery150
=VLOOKUP("SKU-2202", A2:D4, 4, FALSE) // returns 899

Column A holds the SKU, and Price is the fourth column counting from A, which is why col_index_num is 4.

Errors You'll Run Into

#N/A appears when there's no exact match - check for extra spaces, mismatched text/number formatting, or a simple typo in the lookup value.

#REF! appears when col_index_num points past the last column in table_array, usually after columns are deleted or the range is resized without adjusting the number.

Skipping the Formula With Turbo Excel VLookup

Once you understand VLOOKUP, you'll notice how much of the process is repetitive setup: selecting ranges, counting columns, copying formulas down. Turbo Excel VLookup automates that setup - you choose the matching columns from dropdowns and tick which columns to return, and it applies the match across every row in one action.

Checking Data Types Before Troubleshooting

A surprising number of VLOOKUP problems turn out to be a data type mismatch rather than a logic error - a value stored as text in one column and as a number in the other will never match, even if they look identical on screen.

Before assuming the formula itself is wrong, select the lookup value's cell and check the small green triangle or the number alignment; numbers align right by default, and text aligns left, which is a fast way to spot the mismatch.

Documenting What a Formula Is Doing

In a shared workbook, a bare VLOOKUP formula gives the next person no indication of what it's supposed to be matching or why. Adding a cell comment, or a short label in an adjacent column, explaining the source and purpose of the lookup saves significant time when the workbook is revisited months later or handed to a colleague.

This becomes even more important once a workbook has several lookups feeding into each other, since untangling a chain of undocumented formulas is far harder than reading a documented one.

Frequently Asked Questions

What does VLOOKUP stand for?

Vertical Lookup - it searches down the first column of a chosen range for a matching value.

Why must the lookup column be on the left?

VLOOKUP only ever searches the first column of the range you give it, so the value you're searching for must be in that leftmost column.

What's the difference between TRUE and FALSE in VLOOKUP?

FALSE requires an exact match and returns an error if none is found; TRUE allows an approximate match against sorted data.

Why do I see #REF! instead of a value?

col_index_num is pointing to a column number that doesn't exist within the selected table_array, often after the range was resized.

Can col_index_num be typed as a cell reference instead of a fixed number?

Yes, using COLUMN() or a cell containing the column number makes the formula easier to copy across multiple columns.

Is VLOOKUP still relevant with XLOOKUP available?

Yes, VLOOKUP remains widely used and understood, and works in older Excel versions that don't support XLOOKUP.

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 →