In the past we’ve used the combination of INDEX and MATCH to extract the value at the intersection of a row and column of a data range. But there is more that you can do with this function combination, and we’ll look at those options in this tutorial.
You can download the file here and follow along. If you get a preview, look for the download arrow in the upper right hand corner.
Here we have a typical example of the use of the INDEX/MATCH combination. We have a data range along with Data Validation drop down lists for Quarter and Territory:
The formula we use in cell J4 is:
The syntax for this use of the INDEX function is:
But there is another syntax for the INDEX function called the Reference form, and that is:
Here is an example of the use of this syntax. We have four different data arrays:
We also have data validation drop down lists for Quarter, Territory, but also for Region:
Adding that third dimension of region changes the structure of the formula. The one we have in cell J6 is:
The breakdown of this formula based on the syntax is as follows:
Row number: MATCH(J3,A2:A5,0)
Column number: MATCH(J4,B1:G1,0)
Area number: K5
The row number and column number are typical uses of the MATCH functions to indicate those. The keys here are the arguments of Reference and Area number. Note the reference indicates the four different data ranges for each of the North, South, East and West regions. These MUST be on the same worksheet and need to be within a set of parentheses. Then the Area number indicates which region to use for the INDEX function. In cell K5, I have the following formula:
So based on the choice of regions, it will indicate to use the first, second, third, or fourth data range for the INDEX function to choose from.
Watch the video for more details, AND for two more unique ways to use the INDEX/MATCH combination for pulling in ranges of data!
What can you do next?
Share this post with others that can benefit from it!
Leave a comment or reply below – let me know what you think!
Subscribe to this blog for more great tips in the future!
Check out my YouTube channel – click on the YouTube icon below!