Get The Completed Workbook Show
Looking up a value based on one criteria Now, if we want to get Allison’s sales, we could use a VLOOKUP formula using this formula.
Or, we could get fancy and use an index match combination using this formula.
Looking up a value with a row criteria and a column criteriaNow suppose we have a similar table and the employees sales are split out between sales in the East and sales in the West. Now let’s say we need to lookup Guy’s sales for the West.
Looking up a value with two or more row criteriaOk, what happens now if we have the same data but it’s not laid out in a two dimensional range like above (ie one lookup value going down the rows and one lookup value going across the columns)? Let’s say we have a column with the region and we’re still tasked with finding Guy’s sales for the West.
In this case we can concatenate our lookup values and lookup ranges to use an array formula.
When you enter this formula, instead of pressing enter in the usual way, you will need to press Ctrl + Shift + Enter. If you’ve done this correctly, then you should see a set of { } curly parenthesis around the formula in the formula bar. If we have 3rd, 4th etc… criteria in additional columns, we can use this same array function approach to lookup values. About the AuthorJohn is a Microsoft MVP and qualified actuary with over 15 years of experience. He has worked in a variety of industries, including insurance, ad tech, and most recently Power Platform consulting. He is a keen problem solver and has a passion for using technology to make businesses more efficient. Excel datasets are used to keep records of information. Searching for information from large datasets can be time-consuming. Excel has some useful formulas to search and match queries to get accurate results. INDEX and MATCH are some of the most used ones that not only work for single criteria but also for multiple criteria. The article will explain 4 formulas to INDEX and MATCH with multiple criteria with suitable examples and proper explanations. Download Practice WorkbookDownload the practice workbook and practice yourself. Introduction to INDEX and MATCH FunctionsThe INDEX Function Objective: It returns a value or reference of the cell at the intersection of a particular row and column in a given range. Generic Formula:
Arguments Description: array= the range of the data. row_num= the row number of the value to return. column_num=the column number of the value to return. The MATCH Function Objective: It returns the relative position of an item in an array that matches a specified value in a specified order. Generic Formula:
Argument Description: lookup_value = the searched value. lookup_array = the range of data where the searched value exists. match_type= -0, -1,1. 0 stands for an exact match, -1 for a value greater than the exact match, and 1 for the value less than the exact match. 3 Excel Formulas Using INDEX and MATCH Functions with Multiple CriteriaWe will use the following dataset to explain 4 formulas to Excel Index and Match them with multiple criteria. The dataset contains 5 columns with Product ID, Color, Size, and Price list of the products of a company. Now if you have multiple criteria and you want to match multiple criteria to get a value related to the matched value. The following sections of the article will show 3 different formulas with the INDEX and MATCH functions with multiple criteria. So, let us move forward. 1. Nested Excel Formula Using INDEX and MATCH Functions with Multiple CriteriaLet us assume that we have to find out the price of a product from the dataset by matching the product ID, color and size. You can use the following formula using Excel INDEX and MATCH function to get the result:
Here you can see the formula matches the multiple criteria from the dataset and then show the exact result. 🔎 Formula Breakdown:
Read More: INDEX MATCH with 3 Criteria in Excel (4 Examples) 2. Nested Excel Formula with Two INDEX Functions and a MATCH Function with Multiple CriteriaFurthermore, there is another formula that includes two INDEX functions along with a MATCH function with multiple criteria to get a value from a given range of data. The formula is:
The result matches the 3 criteria with the given data ranges and gives the result of matched criteria value in the range specified for the output. 🔎 Formula Breakdown:
Read More: INDEX MATCH with Multiple Criteria in a Different Sheet (2 Ways) Similar Readings
3. Formula Using INDEX with Two MATCH Functions with Multiple Criteria in ExcelHowever, the opposite of the above method is that the formula with 2 MATCH functions nested with an INDEX function can also do the work. Now, let us say we have a modified version of the given dataset including information about the Hoodie and T-shirt and arranged in the following way. The formula:
In this case, we have used two MATCH functions to match values from the dataset. One match for the row and the other for the column. Both the MATCH formula is nested inside an INDEX function which works perfectly. 🔎 Formula Breakdown:
Read More: Index Match Multiple Criteria in Rows and Columns in Excel Alternative to the INDEX-MATCH: Use of FILTER FunctionMoreover, if you are using Microsoft 365 which has dynamic arrays then you can use the FILTER function with multiple criteria as an alternative to the INDEX-MATCH formulas. Follow the steps to know how to apply the FILTER function for this purpose:
Your table will look like below. Now suppose you have the 3 criteria(shown in the picture) using which you have to find the price of that particular product.
The result will be shown in the cell. Note: Select the range accordingly and it will show as the table name (Table2 in this case) including the header of the range (Price, Product ID, Color, and Size for ranges accordingly) in the formula since the dataset is converted into the Excel table. 🔎 Formula Breakdown:
Read More: Excel INDEX MATCH to Return Multiple Values in One Cell Things to Remember1. You can press CTRL+SHIFT+ENTER from the keyboard by keeping the cursor at the end of the formulas which include arrays. Though it works fine by simply pressing Enter, but to be safe you can use this technique while working with arrays. 2. The FILTER function is only available for Microsoft 365 with a dynamic array feature. If you do not have this version and use an older version go for the other 3 formulas. ConclusionThe article contains a brief description of INDEX and MATCH functions. Afterward, it used a dataset to apply 4 different formulas using INDEX, MATCH, and FILTER functions with multiple criteria in Excel. I hope the article was helpful to you. If you want to explore more, you can check out the related articles below. If you have any query you can write in the comment section. Related Articles
How do you use INDEX match with multiple criteria in Excel?This is the kind of magic you can do with INDEX MATCH with multiple criteria.. Step 1: Insert a normal INDEX MATCH formula. INDEX MATCH with multiple criteria is an 'array formula' created from the INDEX and MATCH functions. ... . Step 2: Change the lookup value to 1. ... . Step 3: Write the criteria.. Can you INDEX match with 3 criteria?To extract data with different criteria or conditions in Microsoft Excel, the combination of INDEX and MATCH functions is best suited so far. In this article, you'll get to learn how you can use these INDEX and MATCH functions together with 3 different criteria in Excel with proper illustrations.
How do I match multiple values in Excel?Pull rows with multiple matches to the main table. Select your main table or click any cell within it, and then click the Merge Two Tables button on the ribbon:. The add-in is smart enough to identify and pick the entire table, so you just click Next: ... . Select the lookup table, and click Next.. How do I create a nested INDEX and match function in Excel?Combine the INDEX and MATCH Functions. Click the cell where you want to add the nested functions.. Click the Formulas tab.. Click the Lookup & Reference button in the Function Library group. ... . Select INDEX.. Select the array argument option in the Select Arguments dialog box and click OK.. |