Return Larger or Smaller of Two Values

This post will guide you how to get the larger value from two values in excel. How do I get the smaller value from two values in excel. How to calculate the smallest value or largest value from a range of cells in excel. How to compare two cells and return the one with smaller value or larger value in excel.

Assuming that you want to compare two cells in excel and both cells have a certain value and you want to select the cell with smaller value or larger value with a formula in excel.

Return Larger of Two Values


To get the larger value from two values, you need to create a formula based on the MAX function. Just like this:

=MAX(A1,B1)

Type this formula into the formula box of cell C1, then press Enter key in your keyboard. And drag the AutoFill Handler over other cells to apply this formula to get the larger values.

return large or small value1

 

Return Smaller of Two Values


To get the smaller of two values, you can use the MIN function. Just like the below formula:

=MIN(A1,B1)

This formula returns the smallest value in the numbers provided.

Type this formula into the formula box of cell C2, then press Enter key.

return large or small value2

Related Functions


  • Excel MIN function
    The Excel MIN function returns the smallest numeric value from the numbers that you provided. Or returns the smallest value in the array.The MIN function is a build-in function in Microsoft Excel and it is categorized as a Statistical Function.The syntax of the MIN function is as below:= MIN(num1,[num2,…numn])….
  • Excel MAX function
    The Excel MAX function returns the largest numeric value from the numbers that you provided. Or returns the largest value in the array.= MAX(num1,[num2,…numn])…

Comments

So empty here ... leave a comment!

Leave a Reply

Your email address will not be published. Required fields are marked *

Sidebar