For example, for a Blue Medium T-shirt, VLOOKUP should return $16.00.

TheVLOOKUP functiondoes not handle multiple criteria natively.

There is no built-in way to supply multiple criteria.

Multiple criteria boolean array visualization

Note: This example shows an advanced technique to handle multiple criteria with VLOOKUP.

If you have more basic needs,this formulatakes a simple approach with a helper column.

Other more flexible options includeINDEX and MATCHandXLOOKUP.

Multiple criteria boolean array visualization

Background study

This article assumes you are familiar with the VLOOKUP function and Excel Tables.

The “Result” array shows that the 7th row in the table meets all three conditions.

The problem is that this array is not actually part of the table VLOOKUP needs as thetable_arrayargument.

Multiple criteria boolean array visualization

We can do this with the CHOOSE function.

Normally, theCHOOSE functionis used to select a value by numeric position.

However, if we place the array in an Excel worksheet, the structure becomes clear.

Multiple criteria boolean array visualization

Now we need to configure the VLOOKUP function.

The values provided to CHOOSE can include references.

How to use VLOOKUP

Multiple criteria boolean array visualization

Table created by CHOOSE in memory

Excel formula: VLOOKUP with multiple criteria

Excel formula: INDEX and MATCH with multiple criteria

Excel formula: XLOOKUP with multiple criteria

Excel formula: VLOOKUP with 2 lookup tables

Excel VLOOKUP function

Excel CHOOSE function

Article image