Index Match Multiple Criteria

Index Match Multiple Criteria Rows and Columns

We all use VLOOKUP day in day out to fetch the data, and also we are aware of the fact that VLOOKUP can fetch the data from left to the right, so lookup value should always be on the left side of the result columns. However, we have several alternatives that can be used as an alternative to VLOOKUP function in excel. With advanced technology, we can use these INDEX + MATCH formula to match multiple criteria for rows and columns. So this special article will take you through in detail about this technique.

Index-Match-Multiple-Criteria

You are free to use this image on your website, templates etc, Please provide us with an attribution linkHow to Provide Attribution?Article Link to be Hyperlinked
For eg:
Source: Index Match Multiple Criteria (wallstreetmojo.com)

How to Use INDEX + MATCH Formula to Match Multiple Criteria?

Here we explain how to use the index + match formula to match multiple criteria for rows and columns with examples.

You can download this Index Match Multiple Criteria Excel Template here – Index Match Multiple Criteria Excel Template

Example #1 – INDEX + MATCH Formula

Not the majority of the excel users lookup functions beyond VLOOKUP, reasons could be so many. Anyways let’s have a simple introduction to this formula before we go to the advanced level.

For example, look at the below data structure in excel.

INDEX+MATCH Formula 1

We have “Sales Rep” names and their respective sales values. On the other hand, we have a drop-down list of “Sale Rep” in cell D2.

INDEX+MATCH Formula 1-1

Based on the selection we make from the drop-down list sales amount has to appear in cell E2.

The problem is we cannot apply the VLOOKUP formula because the lookup value “Sales Rep” is to the right of the result column “Sales,” so in these cases, we can use combination lookup value formula INDEX + MATCH.

INDEX+MATCH Formula 1-2

INDEX looks for the mentioned row number value in the range A2:A11, and in this range, we need to provide from which row we need the sales value to come from. This row value is based on the “Sales Rep” name selected in the drop-down list in excel, so the MATCH function looks for the “Sales Rep” row number in the range B2:B11 and returns the row number of the matched value.

Example #2 – Multiple Criteria in INDEX + MATCH Formula

Now we have a data structure like the below one.

Multiple Criteria in INDEX+MATCH Formula 1

We have monthly sales values of “Sales Rep.” From this table, we need dynamic results like in cell A15, I have created a “Sales Rep” drop-down list, and in B14 cell I have created a “Month” drop-down list.

Based on the selection made in these two cells, our formula has to fetch the data from the above table.

For example, if I choose “Rep 8” and “Apr” then it has to show the sales value of “Rep 8” for the month of “Apr.”

Multiple Criteria in INDEX+MATCH Formula 1-1

So, in these cases, we need to match both rows and columns. Follow the below steps to apply the formula to match both rows and columns.

  1. Open the INDEX function in cell B15.

    Multiple Criteria in INDEX+MATCH Formula 1-2

  2. The First argument of the INDEX function is “Array,” i.e., from which range of cells we need the result. So, in this case, we need sales values, so choose the range of cells from B2 to G11.

    Multiple Criteria in INDEX+MATCH Formula 1-3

  3. Next argument of INDEX function from which row of the selected range we need the result. In this case, we need to arrive at the “Sales Rep” row number based on the selection made in the cell A15 drop down cell. So to dynamically fetch the row number based on the selection open MATCH function.

    Multiple Criteria in INDEX+MATCH Formula 1-4

  4. LOOKUP VALUE of the MATCH function is “Sales Rep,” so choose A15 cell as the reference.


    Multiple Criteria in INDEX+MATCH Formula 1-5

  5. Lookup Array will be “Sales Rep” names range in the main table. So choose range as A2 to A11.


    Multiple Criteria in INDEX+MATCH Formula 1-6

  6. Match Type of MATCH function will be exact so enter zero as the argument value.


    Multiple Criteria in INDEX+MATCH Formula 1-7

  7. The next argument of the INDEX function is “Column Number,” i.e., from the selected range of cells from which column we need the result. This is dependent on the month we select from the drop-down list of the cell B14. So to get the column number automatically, open another MATCH function.


    Multiple Criteria in INDEX+MATCH Formula 1-8

  8. This time lookup value will be the month name, so select B14 cell as the reference.


    Multiple Criteria in INDEX+MATCH Formula 1-9

  9. Lookup array will be month range of cells in the main table, i.e., from B1 to G1.

    Multiple Criteria in INDEX+MATCH Formula 1-10

  10. The last argument is match type; choose “Exact Match” as the criteria. Close two brackets and hit the enter key to get the result.


    Multiple Criteria in INDEX+MATCH Formula 1-11

As we can see above, we have chosen “Rep 6” and “Apr” as the month, and our formula has returned the sales value for the month of “Apr” for “Rep 6”.

Note: Yellow-colored cell is the reference for you.

Things to Remember

This has been a guide to Index Match Multiple Criteria. Here we learn how to use the index+match formula to match multiple criteria in excel and downloadable excel template. You may learn more about excel from the following articles –

  • 35+ Courses
  • 120+ Hours
  • Full Lifetime Access
  • Certificate of Completion
LEARN MORE >>