ExcelReady
CourseFunction guidesBlog
Start freeStart learning for free
ExcelReady

Be Excel-ready before the interview. Hands-on practice in your browser, with instant feedback.

Learn

  • Course
  • Function guides
  • Blog

Product

  • Certificate

Company

  • Editorial policy
  • Contact
  • Terms
  • Privacy

© 2026 ExcelReady. All rights reserved.

  1. Blog
  2. Lookups
  3. VLOOKUP in Excel: Step-by-Step for Beginners

VLOOKUP in Excel: Step-by-Step for Beginners

By ExcelReady Team·Updated October 30, 2026·6 min read

The short answer

VLOOKUP finds a value in the first column of a table and returns a value from the same row in another column. Write =VLOOKUP(what to find, table, column number, FALSE). FALSE means exact match, which is what you want for IDs, codes and names. If nothing matches, VLOOKUP returns #N/A.

Key takeaways

  • VLOOKUP always searches the first column of the table you give it, and returns a value to the right.
  • The third argument is a column number counted from the left edge of the table, not a column letter.
  • Use FALSE as the fourth argument for an exact match; leaving it out means approximate match.
  • Lock the table with dollar signs ($A$2:$D$6) before you copy the formula down.
  • #N/A means no match: check for typos, extra spaces and numbers stored as text.
On this page+
  1. What does VLOOKUP do in Excel?
  2. VLOOKUP syntax: the four arguments
  3. How to use VLOOKUP step by step
  4. Exact match vs approximate match
  5. How to copy a VLOOKUP down a column
  6. Why does VLOOKUP return #N/A?
  7. Common VLOOKUP mistakes
  8. VLOOKUP in job tests
  9. Practise it

VLOOKUP in Excel looks up a value in the first column of a table and brings back a matching value from another column in the same row. You use it to pull a price by product code, a salary by employee ID or an email address by name. This guide is for beginners: you will write your first VLOOKUP, understand each of its four parts, and learn how to fix the errors that trip most people up.

What does VLOOKUP do in Excel?#

VLOOKUP searches down the first column of a range until it finds your value, then moves across that row to the column you ask for. The "V" stands for vertical, because it searches down a column. (Its sister function HLOOKUP searches across a row instead.)

Think of it like finding a name in a phone book. You run your finger down the names, stop at the right one, then read across to the phone number.

VLOOKUP works in every version of Excel, including Excel 2010, 2016, 2019, 2021, Microsoft 365, Excel for Mac and Excel for the web. That is one reason it still appears in so many job tests.

VLOOKUP syntax: the four arguments#

VLOOKUP takes four arguments, and the first three are required.

Excel formula
=VLOOKUP(lookup_value, table_array, col_index_num, [range_lookup])
ArgumentWhat it meansExample
lookup_valueThe value you want to findF2 (a product code)
table_arrayThe table to search. Its first column must hold the lookup valuesA2:D6
col_index_numWhich column of the table to return, counted from the left (1 = first column)4
range_lookupFALSE for an exact match, TRUE (or blank) for an approximate matchFALSE

The column number is the part beginners most often get wrong. It counts columns inside your table, not across the whole sheet. If your table starts in column C, then column C is 1, D is 2, and so on.

How to use VLOOKUP step by step#

The fastest way to learn VLOOKUP is to write one on real data. Here is a small product list:

ABCD
1CodeProductCategoryPrice
2P-101Desk lampLighting24.50
3P-102Office chairFurniture149.00
4P-103Monitor standFurniture39.90
5P-104USB-C hubElectronics32.00
6P-105NotebookStationery4.75

You want the price of the code typed in F2 (P-104) to appear in G2.

Step 1: Click the result cell and start the formula#

Click G2 and type =VLOOKUP(. Excel shows the argument names in a tooltip as you type.

Step 2: Choose what to find#

Click F2, then type a comma. This is the lookup_value.

Step 3: Select the table#

Select A2:D6, then type a comma. The codes are in column A, the first column of this range, so VLOOKUP can search them.

Step 4: Count the column to return#

Price is the 4th column of A2:D6 (Code = 1, Product = 2, Category = 3, Price = 4). Type 4 and a comma.

Step 5: Ask for an exact match and press Enter#

Type FALSE, close the bracket and press Enter:

Excel formula
=VLOOKUP(F2,A2:D6,4,FALSE)

The result is 32, the price of the USB-C hub. Change F2 to P-102 and the result updates to 149.

Exact match vs approximate match#

Use FALSE (exact match) whenever you look up IDs, codes, emails or names. With FALSE, VLOOKUP either finds the exact value or returns #N/A, so you never get a silently wrong answer.

Use TRUE (approximate match) only for bands and tiers, such as tax brackets, commission rates or grade boundaries. Approximate match needs the first column sorted in ascending order, and it returns the row for the largest value that is less than or equal to your lookup value. Our guide to VLOOKUP approximate match for tiers and bands walks through that case.

If you leave the fourth argument out, Excel assumes TRUE. That default causes many wrong results, so always type FALSE unless you mean approximate.

How to copy a VLOOKUP down a column#

Lock the table with dollar signs before you copy the formula, or the range will shift as it moves down.

Excel formula
=VLOOKUP(F2,$A$2:$D$6,4,FALSE)

$A$2:$D$6 is an absolute reference: it stays the same in every row. F2 stays relative, so it becomes F3, F4 and so on. To add the dollar signs quickly, click inside the range in the formula bar and press F4 on Windows or ⌘T on a Mac. Then select the cells and fill down with Ctrl+D (Windows) or ⌘D (Mac).

Why does VLOOKUP return #N/A?#

VLOOKUP returns #N/A when it cannot find the lookup value in the first column of the table. Check these causes in order:

  1. Typos or different spelling. P-104 and P104 are different values.
  2. Extra spaces. "P-104 " with a trailing space will not match. Clean the data with =TRIM(A2).
  3. Numbers stored as text. An ID of 1001 typed as text will not match the number 1001. Look for a small green triangle in the cell.
  4. The value is not in the first column. VLOOKUP never searches columns to the right of the first one.
  5. The table range is too short. If you added rows below the table, extend the range or use whole columns such as A:D.

To show a friendly message instead of #N/A, wrap the formula in IFERROR:

Excel formula
=IFERROR(VLOOKUP(F2,$A$2:$D$6,4,FALSE),"Not found")

Common VLOOKUP mistakes#

These mistakes come up again and again in practice tests:

  • Counting the column from column A of the sheet instead of from the first column of the table.
  • Forgetting FALSE, so the formula quietly uses approximate match on unsorted data.
  • Not locking the table, so copied formulas search the wrong rows.
  • Looking up a value in a column to the right of the return column. VLOOKUP cannot look left. Use INDEX and MATCH or XLOOKUP for that.
  • A column number larger than the table. =VLOOKUP(F2,A2:D6,5,FALSE) returns #REF! because A2:D6 only has 4 columns.

A hidden risk: if someone inserts a new column inside your table, the column number does not update, so VLOOKUP starts returning the wrong column. XLOOKUP avoids this. See VLOOKUP vs XLOOKUP for when the newer function is the better choice.

VLOOKUP in job tests#

VLOOKUP is one of the functions employers test most often, along with SUMIF and pivot tables. A typical task gives you two tables, such as an order list and a price list, and asks you to bring the prices into the orders. Speed matters, so practise until you can write the formula without the tooltip. Our guide on how to pass an Excel test for a job interview covers the other skills these tests check.

For the full argument reference and more examples, see the VLOOKUP function guide.

Practise it#

Reading about VLOOKUP only gets you halfway. Try the live exercise on this page, then practise VLOOKUP exact match in a live spreadsheet with step-by-step feedback. When you're ready to go faster, the VLOOKUP practice lesson gives you job-style tasks to solve on your own.

Try it yourself

This is a live spreadsheet. Type the formula in the green cell and press Enter.

In G2, use VLOOKUP to find the price of the product code in F2. Price is the 4th column of the table.

fx
ABCDEFGH
1
Code
Product
Category
Price
Code
Price
2
P-101
Desk lamp
Lighting
24.5
P-104
3
P-102
Office chair
Furniture
149
4
P-103
Monitor stand
Furniture
39.9
5
P-104
USB-C hub
Electronics
32
6
P-105
Notebook
Stationery
4.75
7
8
9

Tip: Find F2, in the table A2:D6, bring back column 4, and finish with FALSE for an exact match.

Practise this in a lesson

LessonVLOOKUP exact matchPull product names and prices from a catalog with VLOOKUP, and lock the table so the formula fills down cleanly.LessonVLOOKUP practicePractice exact and approximate VLOOKUPs on a real order sheet: item names, prices, discount tiers and a mistyped code.Function guideVLOOKUPLearn VLOOKUP with clear examples, the 4 most common mistakes, and a live practice exercise you can try in your browser.

Frequently asked questions

What does the FALSE mean in VLOOKUP?

+

FALSE tells VLOOKUP to find an exact match only. If you leave it out, VLOOKUP uses approximate match, which expects the first column to be sorted and can return the wrong row without any warning.

Why does VLOOKUP return #N/A?

+

#N/A means VLOOKUP could not find the lookup value in the first column of the table. The usual causes are typos, extra spaces, a number stored as text, or a table range that doesn't include the row you need.

Can VLOOKUP look to the left?

+

No. VLOOKUP can only return values from columns to the right of the column it searches. To look left, use INDEX and MATCH, or XLOOKUP in Excel 2021 and Microsoft 365.

Is VLOOKUP case-sensitive?

+

No. VLOOKUP treats "ana" and "ANA" as the same value and returns the first match it finds.

Should I learn VLOOKUP or XLOOKUP first?

+

Learn VLOOKUP first if you are preparing for a job test, because it works in every version of Excel and many tests still ask for it by name. XLOOKUP is quick to pick up once VLOOKUP makes sense.

Sources

  • VLOOKUP function - Microsoft Support

Written and checked by the ExcelReady Team. First published October 30, 2026. The practice exercise runs in the same formula engine as our lessons. Found a mistake? Read our editorial policy or email hello@excelready.app.

On this page

  1. What does VLOOKUP do in Excel?
  2. VLOOKUP syntax: the four arguments
  3. How to use VLOOKUP step by step
  4. Exact match vs approximate match
  5. How to copy a VLOOKUP down a column
  6. Why does VLOOKUP return #N/A?
  7. Common VLOOKUP mistakes
  8. VLOOKUP in job tests
  9. Practise it

Keep reading

Lookups· 7 min read

VLOOKUP Approximate Match for Tiers and Bands

A VLOOKUP approximate match uses TRUE as the 4th argument, like =VLOOKUP(B2,$F$2:$H$5,3,TRUE). It finds the largest value in the first column that is less than or equal to your number, so 62,000 lands in the band that starts at 50,000. The first column must be sorted from smallest to largest.

Lookups· 7 min read

HLOOKUP in Excel (and When to Use It)

HLOOKUP searches across the top row of a table and returns a value from a row below it: =HLOOKUP(lookup_value, table_array, row_index_num, FALSE). Use it for sideways tables, like a rate card with zones across the top. It is VLOOKUP turned on its side. In Excel 2021 or Microsoft 365, XLOOKUP does the same job more safely.

Lookups· 6 min read

INDEX MATCH in Excel: The Beginner's Guide

INDEX MATCH is a lookup built from two functions. MATCH finds the position of a value in one column, and INDEX returns the item at that position from another column: =INDEX(A2:A9,MATCH(G2,B2:B9,0)). It can look left, it keeps working when columns are inserted, and it runs in every version of Excel.

Don't just read about Excel. Do it.

Practise real formulas in a live spreadsheet with instant feedback. The first lessons are free, with no download.

Start learning for free