ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   greater of two values (https://www.excelbanter.com/excel-worksheet-functions/242443-greater-two-values.html)

Dominique

greater of two values
 
I need to know how to set a cell equal to the greater of two values; the
first value would be ex) 3+4 (sum formula between two cells); the second
value would be 8 (one cell). i need to set the cell to identify and insert
the greater of the two values (contained in the 3 cells), in this case 8.

thanks in advance.

Ashish Mathur[_2_]

greater of two values
 
Hi,

You can use the max function. If 8 is contained in cell A2 and 7 (the
result of =3+4) is contained in cell A3, then in A4, you can use max(A2:A3)

--
Regards,

Ashish Mathur
Microsoft Excel MVP
www.ashishmathur.com

"dominique" wrote in message
...
I need to know how to set a cell equal to the greater of two values; the
first value would be ex) 3+4 (sum formula between two cells); the second
value would be 8 (one cell). i need to set the cell to identify and
insert
the greater of the two values (contained in the 3 cells), in this case 8.

thanks in advance.




All times are GMT +1. The time now is 12:47 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com