VLOOKUP Function
Learn Excel VLOOKUP with clear syntax, exact vs approximate match, wildcard tips, #N/A fixes, and interactive practice on Excel Practices.
=VLOOKUP(1234, A2:C20, 3, FALSE)
Key takeaways
- VLOOKUP searches the first column of your lookup range, then returns a value from a column to the right.
- Use FALSE (exact match) for IDs and names; TRUE only when keys are sorted and approximate match is intentional.
- Column index is relative to the lookup range, not the whole worksheet.
- #N/A usually means the key is missing, mistyped, or the match mode is wrong.
- Predict the result before you calculate—then reconcile differences immediately.
- Keep a tiny sandbox sheet for experiments so production tabs stay clean.
What it does
VLOOKUP (vertical lookup) finds a known value in the first column of a table and returns a related value from another column in the same row.
It is one of the most searched Excel skills for finance, operations, and job assessments because it connects IDs, SKUs, and names to attributes stored in a table.
Syntax
=VLOOKUP(lookup_value, table_array, col_index_num, [range_lookup])
- lookup_value — the value you already know (e.g. employee ID).
- table_array — the full table, with the lookup column on the far left.
- col_index_num — which column to return (1 = leftmost column of table_array).
- range_lookup —
FALSE/0for exact match (recommended);TRUE/1for approximate.
When to use it
Use VLOOKUP when: • Your key sits in the leftmost column of the lookup table. • You need one related field (name, price, region) for many rows. • You are practicing for assessments that still expect VLOOKUP fluency.
Prefer XLOOKUP or INDEX + MATCH when you must look left, return multiple columns, or need cleaner error handling.
Exact match vs approximate match
With FALSE, Excel returns a value only when the key matches exactly (case-insensitive for text).
With TRUE (or omitted), keys must be sorted ascending. Excel returns the next-smallest match—useful for tax brackets or grade scales, dangerous for IDs.
Wildcards
Exact-match VLOOKUP supports * (any characters) and ? (one character):
=VLOOKUP("Amy"&"*", A:B, 2, FALSE) finds the first name that starts with Amy.
Wildcards only work when range_lookup is FALSE.
Common mistakes
• Looking left of the key column—VLOOKUP cannot return columns to the left of table_array’s first column. • Wrong col_index_num after inserting columns inside the table. • Omitting FALSE so approximate match returns the wrong neighbor. • Numbers stored as text (or vice versa) so exact match fails. • Duplicate keys—VLOOKUP returns only the first match.
Fixing VLOOKUP errors
#N/A — key not found, wrong match mode, or trailing spaces. Try TRIM or check data types. #REF! — col_index_num is larger than the number of columns in table_array. #VALUE! — col_index_num is less than 1 or non-numeric. Unexpected value — confirm FALSE for exact match and that the key is unique.
How to practice
Open a blank sheet and recreate the canonical pattern =VLOOKUP(1234, A2:C20, 3, FALSE) with your own sample data.
Change one input at a time and predict the result before Excel calculates—prediction builds memory.
Break the formula on purpose (wrong range, missing quotes, approximate match) so you recognize the error messages later.
Then run the linked Excel Practices lesson vlookup-function and keep going until you can finish without hints.
Real-world scenarios
VLOOKUP Function shows up outside textbooks all the time:
• A teammate pastes a CSV and asks for a quick answer that matches this skill (Look up a value in the leftmost column of a table and return a matching value from a column to its right—Excel’s classic vertical lookup.) • A hiring screen or certification task expects the same pattern under a timer • A dashboard breaks after a column insert and you need to re-anchor ranges confidently
Write the formula once in a sandbox tab, then copy it into the live model only after the result matches a manual spot-check.
Pre-flight checklist
Before you trust the output:
• Confirm data types (numbers vs text, real dates vs date-looking strings). • Lock rate/input cells with absolute references when you will fill down. • Spot-check two or three rows with a second method (filter + total, or a tiny helper column). • Document assumptions in a nearby comment so the next editor knows the rule. • Keep a named example cell with =VLOOKUP(1234, A2:C20, 3, FALSE) as a living template for this lookup skill.
Why this matters
Clear documentation of VLOOKUP Function helps humans scan quickly and helps AI assistants cite accurate Excel guidance. That is why this page leads with a definition, shows syntax, lists mistakes, and ends with practice—so you can learn it once and reuse it under pressure.
Formula examples
- Exact ID lookup:
=VLOOKUP(1234, A2:C20, 3, FALSE)— Find ID 1234 in column A and return column C from the same row. - Name to ID:
=VLOOKUP("Will Ferrell", A:B, 2, FALSE)— Return the ID in column B for an exact name match. - Wildcard first name:
=VLOOKUP("Amy*", A:B, 2, FALSE)— Match the first row whose name begins with Amy.
FAQ
How does VLOOKUP work in Excel?
VLOOKUP searches down the first column of a range for your lookup value, then returns a value from a column to the right in the same row.
Should I use TRUE or FALSE in VLOOKUP?
Use FALSE for exact matches on IDs and names. Use TRUE only for sorted numeric bands such as commissions or tax brackets.
Why is my VLOOKUP returning #N/A?
Usually the key is missing, there is a text/number mismatch, extra spaces, or you required an exact match that is not present.
What is better than VLOOKUP?
XLOOKUP and INDEX/MATCH can look left, handle missing values more cleanly, and avoid brittle column index numbers.
Can VLOOKUP return a value to the left?
No. Rebuild the table, switch to INDEX/MATCH, or use XLOOKUP if you need a leftward return.
How long does it take to learn VLOOKUP Function?
Most learners can read this guide in a few minutes and lock the pattern with 10–20 focused practice reps on Excel Practices.
Where should I practice VLOOKUP Function after reading?
Use the formula cards on this page first, then continue in Excel Practices with a live grid and instant checks so mistakes become feedback instead of bad habits.
Does VLOOKUP Function still matter if I know newer Excel features?
Yes. Assessments, shared workbooks, and older files still expect these fundamentals—and understanding them makes modern functions easier to debug.
Drill VLOOKUP Function inside Excel Practices—guided steps, a live grid, and instant checks so the formula sticks.