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

Data Analysis

  • How to count table columns in Excel
  • Subtotal function in Excel
  • How to calculate current stock or inventory in Excel
  • How to calculate average last N values in a table in Excel
  • How to count table rows in Excel

References

  • How to get last column number in range in Excel
  • How to retrieve first match between two ranges in Excel
  • How to get address of first cell in range in Excel
  • Find closest match in Excel
  • Perform case-sensitive Lookup in Excel

Data Validations

  • Excel Data validation exists in list
  • Excel Data validation must contain specific text
  • Excel Data validation must begin with
  • Prevent invalid data entering in specific cells
  • Excel Data validation allow weekday only

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

  • OR function: Description, Usage, Syntax, Examples and Explanation
  • SWITCH function: Description, Usage, Syntax, Examples and Explanation
  • Complete List of Excel Logical Functions, References and Examples
  • FALSE function: Description, Usage, Syntax, Examples and Explanation
  • TRUE function: Description, Usage, Syntax, Examples and Explanation

Date Time

  • Get last day of month in Excel
  • How to calculate nth day of week in month in Excel
  • Get age from birthday in Excel
  • Add days to date in Excel
  • How to join date and text together in Excel

Grouping

  • Running count group by n size in Excel
  • Map text to numbers in Excel
  • Group numbers with VLOOKUP in Excel
  • Categorize text with keywords in Excel
  • Map inputs to arbitrary values in Excel

General

  • Check if multiple cells have same value in Excel
  • Check if range contains a value not in another range in Excel
  • How to calculate decrease by percentage in Excel
  • List sheet names with formula in Excel
  • Flash Fill in Excel
© 2026 xlsoffice . All Right Reserved. | Teal Smiles | Abbreviations And Their Meaning