Skip to content
Free Excel Tutorials
  • Home
  • Excel For Beginners
  • Excel Intermediate
  • Advanced Excel For Experts

Data Analysis

  • How to Create Gantt Chart in Excel
  • How to Use Solver Tool in Excel
  • Randomize/ Shuffle List in Excel
  • How to calculate current stock or inventory in Excel
  • How To Insert and Customize Sparklines in Excel

References

  • Get nth match with INDEX / MATCH in Excel
  • How to use Excel OFFSET function
  • How to use Excel MMULT Function
  • How to use Excel COLUMN Function
  • INDEX function: Description, Usage, Syntax, Examples and Explanation

Data Validations

  • Excel Data validation require unique number
  • Excel Data validation specific characters only
  • Excel Data validation date in next 30 days
  • Prevent invalid data entering in specific cells
  • Excel Data validation exists in list

Minimum if multiple criteria in Excel

by

This tutorial shows how to calculate Minimum if multiple criteria in Excel using the example below;

To get the minimum value in a data set using multiple criteria (i.e. to get MIN IF), you can use and array formula based on the MIN and IF functions.

Formula

{=MIN(IF(range1=criteria1,IF(range2=criteria2,values)))}

Explanation

In the example shown the formula in I6 is:

{=MIN(IF(color=G6,IF(item=H6,price)))}

With a color of “red” and item of “hat” the result is $8.00

Note: This is an array formula and must be entered using Ctrl + Shift + entered

How this formula works

This example uses the following named ranges: “color” = B6:B14, “item” = C6:C14, and “price” = E6:E14. In the example, we have pricing on items in various regions. The goal is to find the minimum price for a given color and item.

This formula uses two nested IF functions, wrapped inside MIN to return the minimum price using two criteria. Starting with logical test of the first IF statement, color = G6, the values in the named range color (B6:B14) are checked against the value in cell G6, “red”. The result is an array like this:

{TRUE;TRUE;TRUE;FALSE;FALSE;FALSE;FALSE;FALSE;FALSE}

In the logical test for the second IF statement, item = H6, the values in the named range item (C6:C14) are checked against the value in cell H6, “hat”. The result is an array like this:

{TRUE;TRUE;TRUE;TRUE;TRUE;TRUE;FALSE;FALSE;FALSE}

The “value if true” for the 2nd IF statement the named range “prices” (E6:E14), which is an array like this:

{11;8;9;12;9;10;9;8;7}

A price is returned for each item in this range only when the result of the first two arrays above is TRUE for items in corresponding positions. In the example shown the final array inside of MIN looks like this:

{11;8;9;FALSE;FALSE;FALSE;FALSE;FALSE;FALSE}

Note the only prices that “survive” are those in a position where the color is “red” and the item is “hat”.

The MIN function then returns the lowest price, automatically ignoring FALSE values.

Alternative syntax using boolean logic

You can also use the following array formula, which uses only one IF function together with boolean logic:

{=MIN(IF((color=G6)*(item=H6),price))}

The advantage of this syntax is that it is arguably easier to add additional criteria without adding additional nested IF functions.

With MINIFS function

The MINIFS function, introduced in Excel 2016 via Office 365, is designed to return minimums based on one or more criteria, without the need for an array formula. With MINIFS, the formula in I6 becomes:

=MINIFS(price,color,G6,item,H6)

Post navigation

Previous Post:

How to use Excel CHOOSE Function

Next Post:

Customize Ribbon In Excel

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Learn Basic Excel

Ribbon
Workbook
Worksheets
Format Cells
Find & Select
Sort & Filter
Templates
Print
Share
Protect
Keyboard Shortcuts

Categories

  • Charts
  • Data Analysis
  • Data Validation
  • Excel Functions
    • Cube Functions
    • Database Functions
    • Date and Time Functions
    • Engineering Functions
    • Financial Functions
    • Information Functions
    • Logical Functions
    • Lookup and Reference Functions
    • Math and Trig Functions
    • Statistical Functions
    • Text Functions
    • Web Functions
  • Excel VBA
  • Excel Video Tutorials
  • Formatting
  • Grouping
  • Others

Logical Functions

  • How to use Excel FALSE Function
  • OR function Examples in Excel
  • How to return blank in place of #DIV/0! error in Excel
  • IFNA function: Description, Usage, Syntax, Examples and Explanation
  • IF, AND, OR and NOT Functions Examples in Excel

Date Time

  • WORKDAY function: Description, Usage, Syntax, Examples and Explanation
  • Count birthdays by month in Excel
  • How to determine year is a leap year in Excel
  • Pad week numbers with zeros in Excel
  • Get last working day in month in Excel

Grouping

  • Categorize text with keywords in Excel
  • Group numbers with VLOOKUP in Excel
  • Group times into 3 hour buckets in Excel
  • Group numbers at uneven intervals in Excel
  • How to randomly assign people to groups in Excel

General

  • How to set or clear a print area in Excel Worksheet
  • 3D SUMIF for multiple worksheets in Excel
  • Mark Workbook as Final in Excel
  • Check if multiple cells have same value with case sensitive in Excel
  • Sum by group in Excel
© 2025 xlsoffice . All Right Reserved. | Teal Smiles | Abbreviations And Their Meaning