Get instant live expert help with Excel or Google Sheets
“My Excelchat expert helped me in less than 20 minutes, saving me what would have been 5 hours of work!”

Post your problem and you’ll get expert help in seconds.

Your message must be at least 40 characters
Our professional experts are available now. Your privacy is guaranteed.

Learn How to Use INDEX and MATCH with Multiple Criteria

We can use an array formula that is based on the INDEX and MATCH functions to lookup a value based on multiple criteria. The steps below will walk through the process.

Figure 1- How to Use INDEX and MATCH with Multiple Criteria

General Formula




Setting up the Data

We will use the INDEX and MATCH functions to get the Cost of the A grade item that is of medium size and short height in figure 2.

Figure 2 – Setting up the Data

Lookup Cost with INDEX and MATCH with Multiple Criteria

  • We will click on Cell H6
  • We will insert the formula below into Cell H6
  • Because this is an array formula, we will press CTRL+SHIFT+ENTER

Figure 3- Result for Lookup of Cost with INDEX and MATCH functions with Multiple Criteria


In this formula, the MATCH function looks through a one-column range and provides a match based on a specified criteria. Values must be concatenated in a helper column as seen in Column G and Column H. Without this, we can’t supply more than one criteria.

An array of 1 and 0 is used to show the rows that match all three criteria (A, MEDIUM, SHORT). The MATCH FUNCTION is then used to match the first criteria that is found.

From this section of the formula below, we can get the temporary array of 1’s and 0’s:


First, a comparison is made between Cell H3 against all grades, Cell H4 against all Sizes, and Cell H5 against all Height.

An array of TRUE and FALSE is produced. The multiplication operator transforms this into 1s and 0s like this:


The final result is returned to MATCH and MATCH returns 3.


INDEX returns the result as 25.

Instant Connection to an Expert through our Excelchat Service

Most of the time, the problem you will need to solve will be more complex than a simple application of a formula or function. If you want to save hours of research and frustration, try our live Excelchat service! Our Excel Experts are available 24/7 to answer any Excel question you may have. We guarantee a connection within 30 seconds and a customized solution within 20 minutes.

Solution examples
I need a formula to compare the data in two columns and then export the mismatched data in the 3rd column
Solved by S. Q. in 20 mins
index and match with duplicates. I need to use another column as a reference, so my return value has two match the value of two things for it to return
Solved by E. H. in 60 mins
Use the Vlookup Function to complete the "employee" column of table 2. Use "job Id" from table 2 as your lookup_value(s) and table 1 as your reference.
Solved by C. H. in 16 mins
If a cell in another sheet is populated I need a vlookup done. If the cell is not populated I need the cell to return blank.
Solved by T. D. in 60 mins
I am trying to make a chart that turns a week range red if nothing is entered in the range. If something is entered then I would like it to turn green. Please Help
Solved by E. U. in 43 mins

Leave a Comment


Subscribe to

Get updates on helpful Excel topics

Subscribe to
Trusted by people who work at, Inc
Facebook, Inc
Accenture PLC
Siemens AG
The Allstate Corporation
United Parcel Service
Dell Inc