VLOOKUP Versus INDEX and MATCH Versus DGET
VLOOKUP Versus INDEX and MATCH Versus DGET
exceldemy.com
Optimised just now
View original
Your email address
Submit
https://googleads.g.doubleclick.net/pagead/ads?client=ca-pub-
07498555&format=300x250&output=html&ad_type=image&url=https%3A%2F%2Fwww.exceldemy.com%2Fvlookup-index-and-mat
78978&correlator=1015094244166&ref=https%3A%2F%2Fgoogleweblight.com%2F%3Flite_url%3Dhttps%3A%2F%2Fwww.excelde
index-and-match-and-dget%2F%26ei%3DXTSKQhQD%26lc%3Den-
D695%26host%3Dwww.google.co.id%26ts%3D1498199104%26sig%3DALNZjWnDmXqomcvBr96ECeN5BvaYWolglw&ifi=1
it may have moved permanently to a new web address.
where lookup_value is the value you want the function to use in order to find the matching
output value, table_array is the range that contains all the columns of interest, the col_index_num
specifies the number of the column containing the output value that we want to lookup,
[range_lookup] is a true or false value – where TRUE denotes an approximate match and FALSE is
an EXACT match.
The syntax for the INDEX and MATCH combined formula for lookups is the following:
where range is the destination range that contains the value one wants to lookup, and the
subsequent match function in this combination formula tells the index function the position of
that value in order to retrieve it.
where database is the entire data set and the first row contains the labels or column headings,
field indicates the column that is used in the function, and criteria is the group of cells that
contains the conditions that one wants to specify.
Each lookup function has its advantages and associated disadvantages. So, let’s get started with a
simple example to illustrate those advantages and disadvantages.
Table of Contents [hide]
1 Introduction
2 VLOOKUP
2.1 INDEX and MATCH
3 DGET function
4 Conclusion
5 Download working file
6 Useful links:
Introduction
The United States Tennis Association has a rankings system, called the National Tennis Ratings
Program (NTRP) which designates NTRP ratings based on the tennis player’s skill level. For the
Adult NTRP Ratings, skill level is designated by looking at the results of the player at hand, in
USTA League and/or USTA NTRP adult tournaments. The scale starts at 2 and increases in
increments of 0.5 all the way up to 7.
A hypothetical tennis coach is interested in retrieving the USTA rankings of certain players at his
clinics, in order to pitch equally ranked players against each other in future matches. The source
data is shown below:
VLOOKUP
1) For our example, we want to enter a player’s name and then find their NTRP rating, using the
VLOOKUP Function.
2) In Cell I6, we enter the value Ian Roberts, which is the name of the player whose NTRP rating
we want to find.
3) In Cell I7, we enter the following formula:
4) Upon pressing CTRL-ENTER, VLOOKUP retrieves the value of 4.0 which is the player Ian
Roberts’s NTRP rating.
The main advantage of the VLOOKUP Function is that it is easy to learn, additionally many Excel
users are familiar with the function. Thus, when sharing sheets or when collaborating with co-
workers, everybody is on the same page when it comes to understanding and using the formulas
in the workbook.
The disadvantage of VLOOKUP is that it can only do lookups from left to right. In other words,
one looks up a value in column, and the match must be in column to a right of that value or else
VLOOKUP returns an error message.
Additionally, VLOOKUP can be prone to error in larger spreadsheets. So, in these cases its best to
try other lookup functions such as the INDEX and MATCH formula combined and the DGET
Function.
2) In Cell I6, again we enter the value Ian Roberts, which is the name of the player whose NTRP
rating we want to find, as in the example above.
4) Upon pressing CTRL-ENTER, the INDEX and MATCH formula retrieves the value of 4.0 which is
the player Ian Roberts’s NTRP rating.
The main advantage of using the INDEX and MATCH formula is that it is more versatile than
VLOOKUP, and can do left to right and right to left lookups. It is also faster than VLOOKUP in
spreadsheets that contain large amounts of data. The main disadvantage is that it is not as
straight forward to learn as VLOOKUP and slightly less popular.
Now let’s see how to do the same with the database DGET Function.
DGET function
1) For the DGET example, we still want to enter a player’s name and then find their rating,
however when using the DGET function we have to setup our worksheet a little bit differently. We
can use the DGET function to retrieve a single value based on input criteria. So, in this case our
input criteria is going to be Ian Roberts, and our field we want to retrieve the matching NTRP
Rating from, is NTRP rating.
2) We setup our criteria range in A2:E3 as shown, the field names in the criteria must match the
column names of the database range. We enter the value Ian Roberts in Cell B3 as shown below.
3) Now that we have setup our criteria range, in Cell I7 we type the following formula:
Conclusion
Excel has many useful lookup functions, that can assist with retrieving values under specified
conditions.
Please feel free to comment and tell us which lookup function you use most often in your
spreadsheets.
Useful links:
The NTRP Tennis Ranking System explained
18
SHARES
Read More...
Taryn N
Taryn is a Microsoft Certified Professional, who has used Office Applications such as Excel and
Access extensively, in her interdisciplinary academic career and work experience. She has a
background in biochemistry, Geographical Information Systems (GIS) and biofuels. She enjoys
showcasing the functionality of Excel in various disciplines.
In her spare time when she’s not exploring Excel or Access, she is into graphic design, amateur
photography and caring for her two pets, Pretzel and Snoopy.
Shop Related Products
$149.00 $217.23
$53.95 (30)
$51.77 $59.95
(1)
$2.99
(2)
$30.59 $49.99
(12)
$35.08 $54.99
(50)
$33.98 $34.00
(8)
$3.24 $3.60
(217)
Ads by Amazon
NEXT STORY
PREVIOUS STORY
Comments 4 Pingbacks 0
Reply
You are very welcome. Thank you for reading and doing Excel with us
Reply
Reply
You are most welcome. I’m glad you found the tutorial useful and yes the database functions are v ery helpful when it comes to
Reply
LEAVE A REPLY
Comment
Name *
Email *
Website
Solve the Math *
Post Comment
FOLLOW:
LOGIN
Username
Password
Remember Me
Login →
Register
Lost Password
RECENT POSTS
ADVANCED EXCEL
[8 Tips] How to Make Excel Tables Look Good!
POPULAR POSTS
ActiveX Controls Excel [Check box, Combo box, List box, Text
CATEGORIES
ARCHIVES
Submit
ExcelDemy.com © 2017. All Rights Reserved.