How to return multiple matching values based on one or multiple criteria in Excel?
Normally, lookup a specific value and return the matching item is easy for most of us by using the VLOOKUP function. But, have you ever tried to return multiple matching values based on one or more criteria as following screenshot shown? In this article, I will introduce some formulas for solving this complex task in Excel.
For example, I want to extract all names whose age is 28 and come from United States, please apply the following formula:
1. Copy or enter the below formula into a blank cell where you want to locate the result:
Note: In the above formula, B2:B11 is the column that the matching value is returned from; F2, C2:C11 are the first condition and the column data which contains the first condition; G2, D2:D11 are the second condition and the column data which contains this condition, please change them to your need.
2. Then, press Ctrl + Shift + Enter keys to get the first matching result, and then select the first formula cell and drag the fill handle down to the cells until error value is displayed, now, all matching values are returned as below screenshot shown:
Tips: If you just need to return all the matching values based on one condition, please apply the below array formula:
More relative articles:
- Return Multiple Lookup Values In One Comma Separated Cell
- In Excel, we can apply the VLOOKUP function to return the first matched value from a table cells, but, sometimes, we need to extract all matching values and then separated by a specific delimiter, such as comma, dash, etc… into a single cell as following screenshot shown. How could we get and return multiple lookup values in one comma separated cell in Excel?
- Vlookup And Return Multiple Matching Values At Once In Google Sheet
- The normal Vlookup function in Google sheet can help you to find and return the first matching value based on a given data. But, sometimes, you may need to vlookup and return all matching values as following screenshot shown. Do you have any good and easy ways to solve this task in Google sheet?
- Vlookup And Return Multiple Values From Drop Down List
- In Excel, how could you vlookup and return multiple corresponding values from a drop down list, which means when you choose one item from the drop down list, all of its relative values are displayed at once as following screenshot shown. This article, I will introduce the solution step by step.
- Vlookup And Return Multiple Values Vertically In Excel
- Normally, you can use the Vlookup function to get the first corresponding value, but, sometimes, you want to return all matching records based on a specific criterion. This article, I will talk about how to vlookup and return all matching values vertically, horizontally or into one single cell.
- Vlookup And Return Matching Data Between Two Values In Excel
- In Excel, we can apply the normal Vlookup function to get the corresponding value based on a given data. But, sometimes, we want to vlookup and return the matching value between two values as the following screenshot shown, how could you deal with this task in Excel?
You are guest ( Sign Up? )
or post as a guest, but your post won't be published automatically.
- To post as a guest, your comment is unpublished.· 8 days ago
- To post as a guest, your comment is unpublished.· 8 days agoHi I had tried same formula. am getting result but when give CSE it doesn't providing any multiple responses
- To post as a guest, your comment is unpublished.· 1 months agoI tried this exact same formula; copied 100%. The only thing I changed was the data being matched and returned. When I use this formula Excel says "You've entered too many arguments for this function).=INDEX('2020 Volume Report'!$B$3:$B$100,SMALL(IF(COUNTIF($A$1,'2020 Volume Report'!$A$3:$A$100)*COUNTIF($A$3,'2020 Volume Report'!$D$3:$D$100),ROW('2020 Volume Report'!$A$3:$G$100)-MIN(ROW('2020 Volume Report'!$A$3:$G$100))+1,"0"),ROW(A1),COLUMN(A1))
- To post as a guest, your comment is unpublished.· 1 months agoHi,Could you give your data and formula error as a screesnhot here?