6 min read

How to Use VLOOKUP

The classic lookup function, demystified — with the gotchas that trip up most people.

What Is VLOOKUP?

VLOOKUP stands for Vertical Lookup.

The function searches for a value in the first column of a table and returns information from another column in the same row.

For example, imagine a table containing employee information:

Employee ID Name Department
1001 Sarah Sales
1002 David Finance
1003 Emma Marketing

If you know the employee ID, VLOOKUP can retrieve the employee's name or department automatically.

Why VLOOKUP Is Useful

Without lookup functions, users often need to search manually through large tables.

This becomes difficult when datasets contain hundreds or thousands of records.

VLOOKUP helps automate tasks such as: finding customer information, retrieving employee records, matching product details, looking up prices, and generating reports.

It saves time and reduces the likelihood of manual errors.

The Basic VLOOKUP Structure

A typical VLOOKUP formula looks like this:

=VLOOKUP(lookup_value, table_array, column_index, range_lookup)

The four arguments tell Excel:

  1. What value to search for
  2. Where to search
  3. Which column to return
  4. Whether the match must be exact

Although the structure may appear intimidating initially, each part serves a straightforward purpose.

Understanding the Arguments

Lookup Value

This is the value Excel should search for.

Example:

1002

Excel will attempt to locate this value within the first column of the table.

Table Array

This is the range containing the data.

Example:

A2:C10

Excel searches within this area.

Column Index

This tells Excel which column's value should be returned.

Example:

2

returns data from the second column of the selected table.

Range Lookup

This argument controls matching behavior.

Common values include:

FALSE

for exact matches and

TRUE

for approximate matches.

Most business applications use FALSE.

A Practical Example

Consider the following table:

Product ID Product Price
P100 Keyboard 40
P200 Mouse 25
P300 Monitor 220

The formula:

=VLOOKUP("P200",A2:C4,3,FALSE)

returns:

25

because the price is stored in the third column.

Why Exact Matches Matter

Many beginners accidentally use approximate matching.

This can produce unexpected results.

For most reporting and business tasks, exact matching is preferred:

FALSE

This ensures Excel returns only a precise match.

Using exact matching generally improves accuracy and reduces confusion.

Common VLOOKUP Errors

#N/A

The most common error.

Example causes include: missing records, spelling differences, extra spaces, and incorrect lookup values.

Wrong Column Returned

This occurs when the column index number is incorrect.

For example:

2

returns a different column than:

3

Carefully verifying column positions helps prevent mistakes.

Broken References

Changes to table structures can affect formulas.

Adding or removing columns sometimes produces unexpected results.

This is one reason newer lookup methods have become popular.

Limitations of VLOOKUP

Although useful, VLOOKUP has several limitations.

It: searches only from left to right, relies on column numbers, can break when columns change, and becomes harder to maintain in complex spreadsheets.

These limitations encouraged Microsoft to introduce newer lookup functions.

When VLOOKUP Still Makes Sense

Despite its limitations, VLOOKUP remains valuable because: many organizations still use it, legacy spreadsheets depend on it, existing templates often include it, and business users frequently encounter it.

Anyone working with Excel professionally is likely to encounter VLOOKUP sooner or later.

VLOOKUP and Modern Excel

Today, many users prefer XLOOKUP because it is more flexible and easier to maintain.

However, understanding VLOOKUP remains important.

Knowing how older spreadsheets work makes it easier to troubleshoot reports, maintain business documents, and collaborate with colleagues who use existing templates.

A Function That Defined Spreadsheet Lookups

For years, VLOOKUP was the standard method for retrieving information from Excel tables.

While newer alternatives have emerged, VLOOKUP continues to play an important role in countless organizations.

Learning how it works helps users automate repetitive tasks, improve reporting accuracy, and better understand the spreadsheets they encounter every day.

Even in the age of XLOOKUP, VLOOKUP remains one of the most useful functions every Excel user should know.

Spreadsheet hub

Excel Tools

Free Excel and spreadsheet tools — formula helpers, converters, and data cleaners.

Open Excel Tools

Frequently asked questions

VLOOKUP searches for a value in a table and returns related information from another column.
Back to Excel Tools