Skip to content
xlsoffice. All Rights Reserved
  • Home
  • Excel For Beginners
  • Excel Intermediate
  • Advanced Excel For Experts

Lookup and Reference Examples

  • How to use Excel INDIRECT Function
  • How to use Excel FORMULATEXT function
  • Find Closest Match in Excel Using INDEX, MATCH, ABS and MIN functions
  • To count total rows in a range in Excel
  • Offset in Excel

Data Analysis Examples

  • How to calculate average last N values in a table in Excel
  • How to Create Column Chart in Excel
  • Create Scatter Chart in Excel
  • How to Sort by Color in Excel
  • Conditional Formatting Icon Sets Examples in Excel

Data Validation Examples

  • How To Create Drop-down List in Excel
  • Data validation must not exist in list
  • Excel Data validation unique values only
  • Excel Data validation specific characters only
  • Excel Data validation don’t exceed total

Minimum value if in Excel

by

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

Formula

{=MIN(IF(range=criteria,values))}

Explanation

To get a minimum value based on criteria, you can use the MIN function together with the IF function. In the example shown, the formula in cell G6 is:

{=MIN(IF(names=F6,times))}

Where “names” is the named range B6:B17, and times is the named range D6:D17.

Worked Example:   MIN function: Description, Usage, Syntax, Examples and Explanation

This is an array formula and must be entered with Control + Shift + Enter.

How this formula works

The IF function is evaluated first with the following logical test:

names=F6

This generates an array of TRUE / FALSE values, where TRUE corresponds to rows where the name matches the value in F6. The “value if true” for IF is the named range “times”, which returns the full set of times. The result is that the array from the logical test effectively “filters” the time values. When a result is TRUE, the time is passed into array returned by IF. When a result is FALSE, the time value is replaced by the boolean FALSE.

Worked Example:   Calculate max or min change in a set of data in Excel

The MIN function then returns the minimum value in this array. FALSE values are automatically ignored.

Worked Example:   Calculate date overlap in days in Excel

With MINIFS

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

=MINIFS(times,names,F6)

Post navigation

Previous Post:

nth largest value in Excel

Next Post:

nth largest value with criteria 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
  • How to pad text to match equal length in Excel
  • Replace one character with another in Excel
  • Remove text by position in a cell in Excel
  • How to count total words in a cell in Excel
  • How to add a line break with a formula while joining text strings in Excel
  • EOMONTH function: Description, Usage, Syntax, Examples and Explanation
  • Get age from birthday in Excel
  • Convert decimal seconds to Excel time
  • TODAY function: Description, Usage, Syntax, Examples and Explanation
  • Sum through n months in Excel
  • How to set check register balance in Excel
  • COUPDAYS function: Description, Usage, Syntax, Examples and Explanation
  • PMT function: Description, Usage, Syntax, Examples and Explanation
  • Compound Annual Growth Rate CAGR formula examples in Excel
  • MIRR function: Description, Usage, Syntax, Examples and Explanation
© 2022 xlsoffice . All Right Reserved. | Teal Smiles