Minimum if multiple criteria

How To Get Minimum Value If Multiple Criteria In Excel

If you have data you want to get the minimum value if multiple criteria use an array of formula based on the MIN and IF functions. Here is how the formula looks:

Generic Formula:


…..where the “range1 and range2” are the sizes of the criteria and “values” is the quantity figure you are looking for.

Example Problem and Solution

Assume that you are operating a boutique dealing with a vast range of clothes and apparels. If you want to get the minimum value or minimum price for each item in the stock, using multiple criteria, this is how you can apply the formula. Check out this example:

Figure 1. Example 1 of MIN/IF Function


From this example, here is the formula in H7:


……where B5:B16 is the item range, C5:C16 is is color range and D5:D16 is the price range.

The solution to this problem as follows;

  • With a hue of “Blue”, the item of “T-shirt”, the answer is $1.3. That is the minimum price. However, for this formula to work, enter it manually using Ctrl+Shift+entered

How the MIN/IF Formula Works

If you look at the formula, you will notice that there are two IF functions inside MIN. The reason for these two functions is to return minimum prices using the two criteria. For the first IF function, C5:C16=G7, check color against what’s in G7, “Blue”. The resulting array looks like this:


For the 2nd IF statement, B5:B16=F7, items are checked against what value is in cell F7, “T-shirt”, and the resulting array looks like this:


The “value” for the second IF function also takes into account the price range (D5:D16), which give an array of price from D5… D16. Here is the array:


Each item’s price in the range is returned but only if the result of the two IF is TRUE for values or in the case the items that correspond in positions. In that cases, the final array netted in the MIN function will look like this:


….The MIN function will then return the lowest price for “Red T-shirts” and ignore FALSE values. Therefore the solution is $1.3.

That’s how you get the minimum value using multiple criteria. It is a straightforward formula in the application.

Our customers love us!
“The expert was absolutely amazing and stuck with me the whole way through. They were polite, patient, seemed to want to genuinely help me and provided a solution that I would never have managed otherwise. I could not be more thankful for their support and solution. Thank you!” - - Chris T, in California

Leave a Comment