and MIN returns the smaller value.

Elegant alternative to IF

The MIN function can be a compact and elegant replacement for the IF function. For example, the formula above can be written with IF like so: However, the MIN version is 6 characters shorter (11 vs. 17), and contains no redundant references, so it is less prone to errors.

Dave Bruns

Hi - I’m Dave Bruns, and I run Exceljet with my wife, Lisa. Our goal is to help you work faster in Excel. We create short videos, and clear examples of formulas, functions, pivot tables, conditional formatting, and charts.