How to vlookup value with multiple criteria in Excel?
In Excel, we can quickly vlookup the corresponding data in a list based on a specific criterion that you set by using the vlookup function. But, if you need to vlookup the relative value based on multiple criteria as below screenshot shown, how could you deal with it?
Vlookup value with multiple criteria with LOOKUP function
Vlookup value with multiple criteria with INDEXT and MATCH function
Vlookup value with multiple criteria with a useful feature
Supposing I have the following data range which I want to use two criteria to return the relative value, for example, I know the product and color need to return their corresponding saleman in the same row:
Vlookup value with multiple criteria with LOOKUP function
LOOKUP function may help you solve this problem, please type this formula into a specified cell, and press Enter key to get the correct result you would like, see screenshot:
Note: In the above formula:
- A2:A12=G2: which means to search the criteria of G2 in range A2:A12;
- C2:C12=H2: means to search the criteria of H2 in range C2:C12;
- E2:E12: refers to the range which you want to return the corresponding value.
Tips: If you have more than two criteria, you just need to add the criteria into the formula as this: =LOOKUP(2,1/($A$2:$A$12=G2)/($B$2:$B$12=H2)/($C$2:$C$12=I2),($E$2:$E$12)).
Vlookup value with multiple criteria with INDEXT and MATCH function
In Excel, the mixed INDEXT and MATCH function is powerful for us to vlookup values based on one or more criteria, to know this formula, do as follows:
Type the below formula into a blank cell, and press Ctrl + Shift + Enter keys together, then you will get the relative value as you want, see screenshot:
Note: In the above formula:
- A2:A12=G2: which means to search the criteria of G2 in range A2:A12;
- C2:C12=H2: means to search the criteria of H2 in range C2:C12;
- E2:E12: refers to the range which you want to return the corresponding value.
Tips: If you have more than two criteria, you just need to add the criteria into the formula as this: =INDEX($E$2:$E$12,MATCH(1,($A$2:$A$12=G2)*($B$2:$B$12=H2)*($C$2:$C$12=I2),0)).
Vlookup value with multiple criteria with a useful feature
If you have Kutools for Excel, with its Multi-condition Lookup feature, you can quickly return the matching values based on multiple criteria as you need.
After installing Kutools for Excel, please do as this:
1. Click Kutools > Super LOOKUP > Multi-conditiion Lookup, see screenshot:
2. In the Multi-condition Lookup dialog box, please do the following operations:
- (1.) In the Lookup Values section, specify the lookup value range or select the lookup value column one by one by holding the Ctrl key that you want to vlookup values based on;
- (2.) In the Output Range section, select the output range where you want to put the matching results;
- (3.) In the Key column section, please select the corresponding key columns that contain the lookup values one by one by holding the Ctrl key;
- Note: The number of columns selected in the Key column field must be equal to the number of columns selected in the Lookup Values field, and the order of each selected column in the Key column field must correspond one to one with the criteria columns in Lookup Values field.
- (4.) In the Return column section, select the column which contain the returned values you need.
3. Then, click OK or Apply button, all the matched values based on the multiple criteria have been extracted at once, see screenshot:
More relative articles:
- Vlookup Values Across Multiple Worksheets
- In excel, we can easily apply the vlookup function to return the matching values in a single table of a worksheet. But, have you ever considered that how to vlookup value across multiple worksheet? Supposing I have the following three worksheets with range of data, and now, I want to get part of the corresponding values based on the criteria from these three worksheets, how to solve this job in Excel?
- Vlookup To Return Blank Or Specific Value Instead Of 0 Or N/A In Excel
- Normally, when you apply the vlookup function to return the corresponding value, if your matching cell is blank, it will return 0, and if your matching value is not found, you will get an error #N/A value as below screenshot shown. Instead of displaying the 0 or #N/A value, how can you make it show blank cell or other specific text value?
- Vlookup And Return Matching Data Between Two Values
- 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?
- Vlookup And Return Whole / Entire Row Of A Matched Value
- Normally, you can vlookup and return a matching value from a range of data by using the Vlookup function, but, have you ever tried to find and return the whole row of data based on specific criteria as following screenshot shown.
Best Office Productivity Tools
Supercharge Your Excel Skills with Kutools for Excel, and Experience Efficiency Like Never Before. Kutools for Excel Offers Over 300 Advanced Features to Boost Productivity and Save Time. Click Here to Get The Feature You Need The Most...
Office Tab Brings Tabbed interface to Office, and Make Your Work Much Easier
- Enable tabbed editing and reading in Word, Excel, PowerPoint, Publisher, Access, Visio and Project.
- Open and create multiple documents in new tabs of the same window, rather than in new windows.
- Increases your productivity by 50%, and reduces hundreds of mouse clicks for you every day!











