How to find and return larger or smaller of two values in Excel?
Sometimes, you may need to compare two cell values and return the larger or smaller one. This article, I will introduce some simple formulas for you to extract the larger or smaller value from two cells in a worksheet.
Compare and return smaller one of two values:
The MIN function in Excel can help you to extract the smaller value from two cells, please do as this:
Enter this simple formula: =MIN(A2,B2) into a blank cell where you want to return the result, and then drag the fill handle down to the cells you want to apply this formula, and all smaller values have been extracted from the two cells, see screenshot:
Compare and return larger one of two values:
To get larger value from two cells, the MAX function can do you a favor, please do as follows:
Enter this simple formula: =MAX(A2,B2) into a blank cell to output the result, and then drag the fill handle down to the cells you want to apply this formula, and all larger values have been extracted as following screenshot shown:
Note: In the above formulas, A2 and B2 are the two cell values that you want to compare.