How To Use The Excel VLOOKUP Function - Exceljet
How To Use The Excel VLOOKUP Function - Exceljet
Cart Login
Search... Search
https://exceljet.net/excel-functions/excel-vlookup-function 1/25
9/23/2019 How to use the Excel VLOOKUP function | Exceljet
Summary
VLOOKUP is an Excel function to lookup and retrieve data from a speci c column in table.
VLOOKUP supports approximate and exact matching, and wildcards (* ?) for partial
matches. The "V" stands for "vertical". Lookup values must appear in the rst column of
the table, with lookup columns to the right.
Purpose
Lookup a value in a table by matching on the rst column
Return value
The matched value from a table.
Syntax
=VLOOKUP (value, table, col_index, [range_lookup])
Arguments
value - The value to look for in the rst column of a table.
Usage notes
VLOOKUP is designed to retrieve data in a table organized into vertical rows, where each
row represents a new record. The "V" in VLOOKUP stands for vertical:
https://exceljet.net/excel-functions/excel-vlookup-function 2/25
9/23/2019 How to use the Excel VLOOKUP function | Exceljet
VLOOKUP requires a lookup table with lookup values in the left-most column. The data
you want to retrieve (result values) can appear in any column to the right:
When you use VLOOKUP, imagine that every column in the table is numbered, starting
from the left. To get a value from a particular column, simply supply the appropriate
number as the "column index":
https://exceljet.net/excel-functions/excel-vlookup-function 3/25
9/23/2019 How to use the Excel VLOOKUP function | Exceljet
= VLOOKUP(H3,B4:E13,2,FALSE) // first
= VLOOKUP(H3,B4:E13,3,FALSE) // last
= VLOOKUP(H3,B4:E13,4,FALSE) // email
VLOOKUP has two modes of matching: exact and approximate, which are controlled by
the 4th argument, called "range_lookup". Set range_lookup to FALSE to force exact
matching, and TRUE for approximate matching.
In most cases, you'll probably want to use VLOOKUP in exact match mode. This makes
sense when you have a unique key to use as a lookup value, for example, the movie title in
https://exceljet.net/excel-functions/excel-vlookup-function 4/25
9/23/2019 How to use the Excel VLOOKUP function | Exceljet
this data:
The formula in H6 to lookup year based on an exact match of movie title is:
You'll want to use approximate mode in cases when you're looking for the best match, not
an exact match. A classic example is nding the right commission rate based on a
monthly sales number. In this case, you want VLOOKUP to get you the best match for a
given lookup value. In the example below, the formula in D5 performs an approximate
match to retrieve the correct commission.
https://exceljet.net/excel-functions/excel-vlookup-function 5/25
9/23/2019 How to use the Excel VLOOKUP function | Exceljet
Note: your data must be sorted in ascending order by lookup value when you use approximate
match mode with VLOOKUP.
Other notes
Range_lookup controls whether value needs to match exactly or not. The default
is TRUE = allow non-exact match.
Set range_lookup to FALSE to require an exact match and TRUE to allow a non-
exact match.
https://exceljet.net/excel-functions/excel-vlookup-function 6/25
9/23/2019 How to use the Excel VLOOKUP function | Exceljet
If range_lookup is TRUE (the default setting), a non-exact match will cause the
VLOOKUP function to match the nearest value in the table that is still less than
value.
If range_lookup is TRUE (the default setting) make sure that lookup values in the
rst row of the table are sorted in ascending order. Otherwise, VLOOKUP may
return an incorrect or unexpected value.
If range_lookup is FALSE (require exact match), values in the rst column of table
do not need to be sorted.
https://exceljet.net/excel-functions/excel-vlookup-function 7/25
9/23/2019 How to use the Excel VLOOKUP function | Exceljet
Self-contained VLOOKUP
To make a self-contained VLOOKUP formula, you can
convert the table to an array constant inside of
VLOOKUP. In the example shown, the formula in F7 is:
=VLOOKUP(E7,{0,"F";60,"D";70,"C";80...
Related videos
Related functions
Excel HLOOKUP Function
HLOOKUP is an Excel function to lookup and retrieve
data from a speci c row in table. The "H" in HLOOKUP
stands for "horizontal", where lookup values appear in the
rst row of the table, moving horizontally to the right.
HLOOKUP supports...
https://exceljet.net/excel-functions/excel-vlookup-function 11/25
9/23/2019 How to use the Excel VLOOKUP function | Exceljet
See also
23 things you should know about VLOOKUP
Danger: beware VLOOKUP defaults
Good links
Microsoft VLOOKUP function documentation
https://exceljet.net/excel-functions/excel-vlookup-function 12/25
9/23/2019 How to use the Excel VLOOKUP function | Exceljet
Topics
Video training
Formula Basics
Function Guide
Formula Examples
Formula Criteria
Formula Errors
Excel Shortcuts
https://exceljet.net/excel-functions/excel-vlookup-function 13/25
9/23/2019 How to use the Excel VLOOKUP function | Exceljet
Pivot Tables
101 Excel Functions
Excel Tables
INDEX and MATCH
Excel Charts
Conditional Formatting
Custom Number Formats
Data Validation
Nested IF examples
Formula challenges
How-to videos
Excel glossary
Excel people
Excel books
Key functions
IF function
VLOOKUP function
SUMIFS function
COUNTIFS function
INDEX function
MATCH function
SUMPRODUCT function
More...
https://exceljet.net/excel-functions/excel-vlookup-function 14/25
9/23/2019 How to use the Excel VLOOKUP function | Exceljet
NOW
PLAYING
https://exceljet.net/excel-functions/excel-vlookup-function 15/25
9/23/2019 How to use the Excel VLOOKUP function | Exceljet
https://exceljet.net/excel-functions/excel-vlookup-function 16/25
9/23/2019 How to use the Excel VLOOKUP function | Exceljet
https://exceljet.net/excel-functions/excel-vlookup-function 17/25
9/23/2019 How to use the Excel VLOOKUP function | Exceljet
https://exceljet.net/excel-functions/excel-vlookup-function 18/25
9/23/2019 How to use the Excel VLOOKUP function | Exceljet
https://exceljet.net/excel-functions/excel-vlookup-function 19/25
9/23/2019 How to use the Excel VLOOKUP function | Exceljet
https://exceljet.net/excel-functions/excel-vlookup-function 20/25
9/23/2019 How to use the Excel VLOOKUP function | Exceljet
https://exceljet.net/excel-functions/excel-vlookup-function 21/25
9/23/2019 How to use the Excel VLOOKUP function | Exceljet
https://exceljet.net/excel-functions/excel-vlookup-function 22/25
9/23/2019 How to use the Excel VLOOKUP function | Exceljet
https://exceljet.net/excel-functions/excel-vlookup-function 23/25
9/23/2019 How to use the Excel VLOOKUP function | Exceljet
Your site is very well laid out. The consistent formatting and
easy on the eyes fonts make for much less fatigue when
reading. The examples are excellent and help to improve
everyone's understanding of Excel functions...ExcelJet is my
rst reference point when working on a complex Excel sheet.
-Doug
https://exceljet.net/excel-functions/excel-vlookup-function 24/25
9/23/2019 How to use the Excel VLOOKUP function | Exceljet
https://exceljet.net/excel-functions/excel-vlookup-function 25/25