Download workbook from Leila

Get the INDEX MATCH Workbook

Practice the three multiple-criteria lookups from the video: helper row, array formula and nested INDEX.

Example: Look Up a Value with Three Criteria

Imagine you have a table with monthly sales data for different products across various regions.

Sales table with actual and budget revenue and profit by division and app

You need to create a report that shows the amount based on three user-selected criteria:

  • Actual or Budget
  • Revenue or Profit
  • App Name

Method 1: INDEX MATCH with a Helper Row

Step 1: Identify the Data Range

First, identify the data range that contains the values you need. In this example, we use the range C22:F31.

Data range C22:F31 highlighted as the INDEX array

Step 2: Find the Row with MATCH

Use the MATCH function to find the row. For example, to match the app name in H22 with the list of apps in B22:B31:

=MATCH(H22, B22:B31, 0)
MATCH formula finding the row of the selected app in B22:B31

Step 3: Combine the Column Criteria in a Helper Row

Combine your criteria (Actual/Budget and Revenue/Profit) using the ampersand (&) symbol. Use a helper cell (C19) to combine the criteria:

= C20 & C21
Helper row combining the header criteria with =C20&C21

Drag this formula across until cell F19 to combine all criteria.

Step 4: Combine INDEX with Two MATCH Functions

Now, use the INDEX and MATCH functions together. This step requires two MATCH formulas because you need to match both the row and the column (two-way lookup):

  • The first MATCH function finds the row number based on the app name.
  • The second MATCH function finds the column number based on the combined criteria.
=INDEX(C22:F31, MATCH(H22, B22:B31, 0), MATCH(I20&I21, C19:F19, 0))
INDEX with two MATCH functions returning the value for the app and KPI

Method 2: Array Formula without Helper Cells

Handle arrays directly in the MATCH function without helper cells using an array formula. In Excel 2019 and older, this method requires Ctrl + Shift + Enter (CSE). In Microsoft 365 and Excel 2021, a normal Enter works.

  • Change the MATCH formula to handle the array by combining criteria directly in the function.
=INDEX(C22:F31, MATCH(H22, B22:B31, 0), MATCH(I20&I21, C20:F20&C21:F21, 0))
  • Instead of pressing ENTER, press Ctrl + Shift + Enter to enter the formula as an array formula. This tells Excel to treat the formula as an array, allowing it to handle multiple criteria.
Array formula version of INDEX MATCH entered with Ctrl+Shift+Enter

In older versions, Excel displays the formula in curly braces {}.

💡 Typing the curly braces {} yourself in the formula will not work. You must press Ctrl + Shift + Enter to create the array formula correctly.

Method 3: Nested INDEX without Ctrl+Shift+Enter

Avoid using helper cells or array formulas (Ctrl + Shift + Enter) by nesting INDEX functions to handle the array internally.

This is mainly useful in Excel 2019 and older, where it saves you from Ctrl + Shift + Enter.

  • Use an INDEX function to create the combined criteria array within the formula.
  • Nest this INDEX function within your MATCH function to handle the combined criteria.
=INDEX(C22:F31, MATCH(H22, B22:B31, 0), MATCH(I20&I21, INDEX(C20:F20 & C21:F21, 0), 0))
Nested INDEX version of INDEX MATCH that works without Ctrl+Shift+Enter

Here’s the introduction to INDEX & MATCH.

Download the Workbook

Download the INDEX MATCH Workbook

All three methods in one file, ready to practice.

Frequently Asked Questions

How do I use INDEX MATCH with multiple criteria?

Join your criteria with the & sign and match them against the joined ranges, for example =INDEX(C2:C100, MATCH(F1&F2, A2:A100&B2:B100, 0)). In Excel 2019 and older, confirm the formula with Ctrl+Shift+Enter.

Do I need Ctrl+Shift+Enter for INDEX MATCH with multiple criteria?

Only in Excel 2019 and older. Microsoft 365 and Excel 2021 handle arrays with a normal Enter. In older versions, you can avoid Ctrl+Shift+Enter with a helper row or with a nested INDEX inside MATCH.

Why does my INDEX MATCH with multiple criteria return #N/A?

Excel cannot find the combined value. Check for extra spaces and numbers stored as text, and make sure the match type is 0. Also join the criteria in the same order as the ranges, for example Actual then Revenue in both places.

How do I do a two-way lookup with INDEX MATCH?

Use one MATCH for the row and one for the column: =INDEX(data, MATCH(row value, row headers, 0), MATCH(column value, column headers, 0)). INDEX then returns the value where the row and column meet.

Can XLOOKUP replace INDEX MATCH with multiple criteria?

Yes, in Microsoft 365 and Excel 2021 or later. For row criteria, use =XLOOKUP(F1&F2, A2:A100&B2:B100, C2:C100). INDEX MATCH still works in every version, which is why it is useful for files shared with older Excel.

What does INDEX(range, 0) do inside MATCH?

It returns the whole array. Wrapping the joined ranges in INDEX makes Excel 2019 and older evaluate them as an array, so the formula works with a normal Enter instead of Ctrl+Shift+Enter.

Leila Gharani

Founder of XelPlus and ten-time Microsoft MVP. Leila helps over 500,000 professionals master Excel, Power BI, and data automation through practical, real-world training.