Question posted 2010 · +2 upvotes
I’d think there’d be something to do this in Excel, because it seems so basic… BUT:
I have two cells and I need to compare them and return the lower of the two. This is very easily done with the following:
=IF(A1 > A2, A2, A1)
But in a complex formula, this seems insanely unnecessary.
It’s also possible to do with:
=SMALL(A1:A2)
But of course my cells are not adjecent and don’t make a range.
Thoughts?
Accepted answer +11 upvotes
You want to use the MIN() function.
Top excel Q&A (6)
- Shortcut to Apply a Formula to an Entire Column in Excel +335 (2011)
- How should I escape commas and speech marks in CSV files so they work in Excel? +136 (2012)
- Convert xlsx to csv in linux command line +96 (2012)
- How to create a link inside a cell using EPPlus +50 (2011)
- IF statement: how to leave cell blank if condition is false ("" does not work) +44 (2013)
- T-SQL: Export to new Excel file +44 (2012)
excel solutions on this site
.