How to Use the Index and Match functions instead of a Vlookup in Excel

This blog post will explore the Index and Match functions in Excel as part of the lookup and reference function categories. There is nothing wrong with the Vlookup unless you need to find a reference value that is further left than what you fetched (the lookup value). Vlookup only works if your data table has the lookup value in the leftmost column. In my example the country code  is to the right of the Country field. Check out my blog post on Vlookup and another video post here if you are not familiar with how to write a Vlookup formula. Below is a caption of the data this post will use. At the end of my blog post, you can download the Excel file yourself to practice along on your own. What we are trying to do

Country Lookup

In this example we will have Excel tell us what position down is 500 among the Code field. The Match function returns the relative position of an item in an array that matches a specified value in a specified order. Once we have that number, then we can nest the Match function inside of the Index function. Lookup Value: 500 Lookup Array: B2:B18. Use absolute referencing ($B$2:$B$22) or range names when you need to copy the formula. Match Type: Almost always 0 or false because you are looking up an exact match. This argument is similar to the match type argument of the Vlookup.

Match 5 return

The answer is 5 because it is the 5th position in the range of codes. Knowing 5 will be important because we can use it (Match value return) nested inside the Index function. The Index function returns a value or a reference of the cell at the intersection of a particular row and column, in a given range. The Index function has two types of function arguments. This post will explore the first type which uses only 2 arguments.

Index multiple argument lists Index Arguments: Array: The range of cells where the return value will be found. Row_Num: A number that you want to go down to find. Col_Num: optional – alternative to the row number.

Index with 5 example

Use the Match function in the Row_Num argument. Example Using Index and Match together:

Index with match example Download this practice file here. View my PowerPoint slide deck with other examples of Match and Index here.

If you would like to be notified when I post a new blog entry, you can enter your email in the subscribe box on the right side bar.


About Steve Chase

I'm a proud husband and dad to 4 boys! Microsoft Certified Trainer and Boy Scout Leader are some of things I call myself. The Cincinnati Reds are my favorite team! When not outdoors, I enjoy working with documents in Microsoft Office, QuickBooks, Visio and Photoshop. My wife, Erin, shares her awesome recipes on her blog at
This entry was posted in Excel and tagged . Bookmark the permalink.

5 Responses to How to Use the Index and Match functions instead of a Vlookup in Excel

  1. Pingback: Locate Differences From Within Two Excel Lists Using the Match Function | Steve Chase Docs

  2. Pingback: How to Use the IF Function and the VLOOKUP Function Together In Excel | Steve Chase Docs

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s