• Education & Careers
  • December 20, 2025

How Do I Use VLOOKUP in Excel: Step-by-Step Practical Guide

Let me be honest – the first time I saw VLOOKUP, I almost closed Excel and never looked back. It was years ago when my manager asked me to match customer IDs with order details. After three hours and a #N/A festival, I finally cracked it. Now? I use it daily. If you're wondering "how do I use VLOOKUP in Excel" without pulling your hair out, you're in the right place. No textbook fluff, just what works.

What Even Is VLOOKUP? (In Normal Words)

Picture this: You've got two lists. List A has employee IDs and names. List B has IDs and salaries. VLOOKUP connects them like a matchmaker. It scans a column vertically (that's the "V"), finds your lookup value (e.g., ID "E102"), then fetches related info from another column ("salary"). Microsoft added it decades ago, and it's still in every Excel version – desktop, Excel 365, even Google Sheets.

Annoying Truth: VLOOKUP only looks RIGHT. If your target data is left of the lookup column? Game over. That limitation wasted my afternoon once. More fixes later.

VLOOKUP Syntax Explained (Without the Dictionary)

Here's the basic formula:
=VLOOKUP(lookup_value, table_array, col_index_num, [range_lookup])

Let's break this down human-style:

PartWhat It MeansMy Dumb Mistake
lookup_valueThe value you're searching for (e.g., "E102")Used "E102 " with extra space – #N/A city
table_arrayThe entire data range including lookup columnSelected columns A:D but needed E? Crash
col_index_numColumn number with your target data (count from LEFT!)Counted from Column A even when table started at C
[range_lookup]FALSE for exact match (use this 95% of the time)Forgot FALSE – got wrong prices for products

Why That Column Number Trips Everyone Up

Col_index_num isn't the worksheet column letter. If your table_array starts at column C, and you want data from column E:
Column C = 1
Column D = 2
Column E = 3

I once built a sales report where col_index_num was off by one. Sent commissions to the wrong reps. Mortifying.

Step-by-Step: How Do I Use VLOOKUP in Excel (For Real Data)

Let’s use actual numbers. Imagine this product table in Sheet1 (A1:C5):

Product IDProduct NamePrice ($)
P100Wireless Mouse24.99
P101Mechanical Keyboard89.50
P102HD Webcam47.30

In Sheet2, we have order IDs and Product IDs. We need prices in Column C.

Hands-on steps:

  1. Click cell C2 in Sheet2 (where price should appear)
  2. Type: =VLOOKUP(
  3. Click B2 (contains Product ID "P101") → That’s your lookup_value
  4. Type comma, then switch to Sheet1. Select ALL columns with data → A1:C5
  5. Type comma. Price is in 3rd column of our table_array → type 3
  6. Type comma then FALSE → =VLOOKUP(B2,Sheet1!$A$1:$C$5,3,FALSE)
  7. Hit Enter. You should see $89.50
Pro Move: Use $ signs to lock the table_array (like $A$1:$C$5). When dragging the formula down, the reference won't shift. Forgot this once and got #REF errors halfway down my report.

When VLOOKUP Betrays You: Fixing #N/A and Other Nightmares

#N/A means "Not Available". Here's why it happens and how I fix it:

ErrorWhy It Happened to MeQuick Fix
#N/ALookup_value doesn't exist in tableCheck spelling or trailing spaces (use TRIM())
#REF!col_index_num > columns in table_arrayRecount columns from the FAR LEFT of table_array
#VALUE!Lookup_value is text, table has numbers (or vice versa)Format cells consistently (Text/Number)
Wrong ValueForgot FALSE → got approximate matchALWAYS use FALSE unless you need ranges (e.g., tax brackets)

Fun story: Last quarter, I got #N/A on 200+ rows. Why? Product IDs in Sheet1 were "P100", in Sheet2 it was "p100". Excel is case-insensitive but extra spaces? Different story. Used =VLOOKUP(TRIM(B2),... to fix it.

Approximate Match Mode: When FALSE Isn't Better

Set range_lookup to TRUE if you need ranges – like finding commission rates:

Sales AmountCommission Rate
$00%
$10,0005%
$20,0007%

Formula for $15,000 sale: =VLOOKUP(15000,$A$1:$B$3,2,TRUE) → Returns 5%

Why? TRUE finds closest match ≤ lookup_value. Data must be sorted ascending or you'll get nonsense. Learned that the hard way.

VLOOKUP's Dirty Secrets (What Pros Won't Tell You)

After years of using VLOOKUP in Excel, here's my unfiltered take:

  • Slower than your Excel rage-quits: On 50k+ rows? It chugs. Use INDEX/MATCH instead.
  • The "Left Lookup" curse: Can't pull data from columns left of lookup column. Major design flaw.
  • Column insertions break things: Add a column inside table_array? col_index_num now points to wrong data.

That last one cost me hours. I inserted a "Discount %" column left of "Price". Suddenly all VLOOKUPs returned discounts instead of prices. Cue panic.

Better Alternatives When VLOOKUP Sucks

For big datasets or left lookups, try these:

ToolHow It Beats VLOOKUPWhen I Use It
INDEX + MATCH
(e.g., =INDEX(C1:C100,MATCH("E102",A1:A100,0)))
Looks left/right, handles column inserts, fasterFinancial models >10k rows
XLOOKUP (Excel 2021+)
=XLOOKUP(lookup_value, lookup_array, return_array)
Simpler syntax, default exact match, searches left/rightNew projects where everyone has updated Excel
Power Query (Data > Get & Transform)No formulas – merge tables visuallyMonthly reports with messy source data

Honestly? I still use VLOOKUP for quick tasks. But for anything critical? INDEX/MATCH is my go-to.

Real-World VLOOKUP Uses (Beyond Tutorials)

Wondering "how do I use VLOOKUP in Excel" for actual work? Here's where I apply it:

  • Pulling prices into invoices from a product master sheet
  • Matching employee IDs to fetch department names from HR lists
  • Consolidating survey responses where IDs link answers across sheets
  • Validating data entry (e.g., is this Product ID in our list? → combine with IFERROR)

Client case: A bakery used VLOOKUP to link ingredient IDs (flour, sugar) across inventory, recipes, and cost sheets. Cut recipe costing time from 3 hours to 15 minutes. Their secret? Absolute references ($ signs) and data validation to prevent typos.

Advanced Tactics for the Brave

Once you master the basics, try these power-ups:

VLOOKUP + Wildcards for Partial Matches

Find products containing "Pro":
=VLOOKUP("*"&"Pro"&"*", A2:B100, 2, FALSE)

Helpful for messy data. * = any characters. Use sparingly – it's slow.

VLOOKUP Across Multiple Sheets

Need data from different tabs? Nest with IFERROR:
=IFERROR(VLOOKUP(B2, Sheet1!$A$1:$C$5,3,FALSE), VLOOKUP(B2,Sheet2!$A$1:$C$5,3,FALSE))

Checks Sheet1 first, falls back to Sheet2 if not found. Lifesaver for regional data splits.

Your Top VLOOKUP Questions Answered (From My Inbox)

Can I use VLOOKUP to return multiple columns?

Yes, but painfully. Copy the formula, change col_index_num for each column. Better: Use XLOOKUP or INDEX/MATCH.

Why does VLOOKUP work sometimes but not others?

Usually formatting mismatches. Try:
1. Select both columns → Data > Text to Columns > Finish
2. Use TRIM() to remove spaces: =VLOOKUP(TRIM(B2), ...)
3. Ensure both sides are text or both numbers

How do I use VLOOKUP in Excel Online or Google Sheets?

Same syntax! Google Sheets even has a formula helper. But performance tanks >20k rows.

Best way to learn VLOOKUP without breaking things?

Practice with my sample data above. Or grab free datasets like Kaggle's "Superstore Sales". Break it → fix it → learn.

Can VLOOKUP reference another workbook?

Yes: =VLOOKUP(B2,'[Prices.xlsx]Sheet1'!$A$1:$C$100,2,FALSE)
But if "Prices.xlsx" is closed? #REF! error. Avoid for shared files.

Final Reality Check

VLOOKUP is like a screwdriver – great for IKEA furniture (small tasks), terrible for building a deck (big/complex projects). I still teach it because it's everywhere, but know its limits. When your data grows or needs evolve, learn XLOOKUP or Power Query.

Want practice? Try this: Download your bank statement. Use VLOOKUP to categorize transactions via a vendor list. You'll hit errors – debug them. That's where real learning happens. Still stuck? Email me at [[email protected]] – I reply to real humans.

Leave A Comment

Recommended Article