Using the INDEX MATCH Function with Multiple Criteria and a Wildcard in Excel – 2 Easy Steps

 

The Excel file contains information about several sales representatives.

This is an overview.excel index match multiple criteria wildcard


Step 1- Create a Drop Down List to Apply the INDEX MATCH Function with Multiple Criteria and a Wildcard

  • Select E5.

Create a Drop Down List to Apply INDEX MATCH Multiple Criteria with Wildcard

  • In the Data tab, go to

Data → Data Tools → Data Validation → Data Validation

  • In the Data Validation dialog box, select Settings.
  • Select List in Allow.
  • Enter John, David, Oscar in Source.
  • Click OK.

Create a Drop Down List to Apply INDEX MATCH Multiple Criteria with Wildcard

  • Click OK.

A drop-down list is created.

Create a Drop Down List to Apply INDEX MATCH Multiple Criteria with Wildcard


Step 2 – Combine the INDEX and the MATCH Functions for Multiple Criteria using a Wildcard in Excel

  • Select E7.

Combine INDEX and MATCH Functions Having Multiple Criteria with Wildcard in Excel

  • Enter the INDEX MATCH formula in the Formula bar.
=INDEX(D5:D14,MATCH($E$5&"*",B5:B14,0))

Formula Breakdown:

MATCH($E$5&”*”,B5:B14,0)

$E$5&”*” is the lookup value; the asterisk is a wildcard character that represents any number of characters starting with John. B5:B14 is the reference range. 0 is used for the exact match. The formula returns 2.

INDEX(D5:D14,MATCH($E$5&”*”,B5:B14,0))

The INDEX function returns $72,568.00: the 2nd row in D5:D14.

  • Press ENTER.

You will see the Revenue generated by sales representatives whose name starts with John: $72,568.00.

Combine INDEX and MATCH Functions Having Multiple Criteria with Wildcard in Excel

  • Drag down the Fill Handle to see the result in the rest of the cells.

This is the output.

  • Change the name in the drop-down list. Check the Revenue generated by sales representatives whose name starts with David:

Combine INDEX and MATCH Functions Having Multiple Criteria with Wildcard in Excel

 


Download Practice Workbook

Download the practice workbook.


<< Go Back to Multiple Criteria | INDEX MATCH | Formula List | Learn Excel

Get FREE Advanced Excel Exercises with Solutions!
Md. Abdur Rahim Rasel
Md. Abdur Rahim Rasel

MD. ABDUR RAHIM is a marine engineer proficient in Excel and passionate about programming with VBA. He views programming as an efficient means to save time while managing data, handling files, and engaging with the internet. His interests extend to Rhino3D, Maxsurf C++, AutoCAD, Deep Neural Networks, and Machine Learning, reflecting his versatile skill set. He earned a B.Sc in Naval Architecture & Marine Engineering from BUET, and now he has become a content developer, creating technical content... Read Full Bio

1 Comment
  1. Very clear explanation, but how do I autofill the functions to get the revenue off the others who’s name starts with John or David or whatever? What if there are more people who’s name starts the same? What is the formula in cel E8 for instance.

Leave a reply

Advanced Excel Exercises with Solutions PDF

 

 

ExcelDemy
Logo