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

Data Analysis

  • How to create running total in an Excel Table
  • How To Insert and Customize Sparklines in Excel
  • Error Bars in Excel
  • How to calculate average last N values in a table in Excel
  • How to Create One and Two Variable Data Tables in Excel

References

  • How to get relative row numbers in a range in Excel
  • Extract all partial matches in Excel
  • Offset in Excel
  • How to retrieve first match between two ranges in Excel
  • How to use Excel MATCH Function

Data Validations

  • Excel Data validation require unique number
  • Excel Data validation no punctuation
  • Excel Data validation allow uppercase only
  • Excel Data validation number multiple 100
  • Excel Data validation must contain specific text

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.

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.

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

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:

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

  • Return blank if in Excel
  • Excel If, Nested If, And/Or Criteria Examples
  • How to use Excel XOR Function
  • Nested IF function example in Excel
  • How to use Excel FALSE Function

Date Time

  • How to get number of days, weeks, months or years between two dates in Excel
  • How to calculate months between dates in Excel
  • Display Date is workday in Excel
  • Roll back weekday to Friday base on a particular date in Excel
  • Calculate time difference in hours as decimal value in Excel

Grouping

  • Group arbitrary text values in Excel
  • If cell contains one of many things in Excel
  • How to randomly assign data to groups in Excel
  • Running count group by n size in Excel
  • Group times into 3 hour buckets in Excel

General

  • How to password protect excel sheet?
  • How to create dynamic named range with INDEX in Excel
  • Sum by group in Excel
  • How to generate random number weighted probability in Excel
  • Create dynamic workbook reference to another workbook in Excel
© 2026 xlsoffice . All Right Reserved. | Teal Smiles | Abbreviations And Their Meaning