How To Use VLOOKUP With Multiple Lookup Criteria

2016-04-16

Get The Complete Workbook

How do you use VLOOKUP with multiple lookup criteria? In its basic form, VLOOKUP can only look up data based on one criteria. To get around this, you could add in another helper column that concatenates the different criteria together and then looks up data based on that.

 

 

You formula might look something like this.

 

=VLOOKUP(H2&H3,B3:E7,4,FALSE)

 

Using array formula plus the CHOOSE function we can avoid this workaround and keep our data tables less cluttered.

 

 

In this example we use =VLOOKUP(G2&G3,CHOOSE({1,2},B3:B7&C3:C7,D3:D7),2,FALSE) and instead of pressing enter, hold down Ctrl and Shift then press Enter. This will enter the formula as an array formula and you will see curly brackets {} around it in the formula editor bar.

 

 

=VLOOKUP(G2&G3,CHOOSE({1,2},B3:B7&C3:C7,D3:D7),2,FALSE)

 

Remember to press Ctrl + Shift then Enter to create an array formula.

About the Author

John MacDougall

John MacDougall

John is a Microsoft MVP and freelance consultant and trainer specializing in Excel, Power BI, Power Automate, Power Apps and SharePoint. You can find other interesting articles from John on his blog or YouTube channel.

Subscribe

Related Articles

Comments

0 Comments

Get The Latest News

Follow Us

Follow us on social media to stay up to date with the latest tips in Excel!

Pin It on Pinterest