ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   If-then-else formula (https://www.excelbanter.com/excel-discussion-misc-queries/84528-if-then-else-formula.html)

Malachi3

If-then-else formula
 
In excel, I have three numbers in columns A,B, & C. In column D, I want a
formula that gives me the higher of the three numbers listed in columns A, B,
and C. For example, if the columns have 2, 4, and 3 respectively, I want the
column D formula to arrive at 4 as the correct answer. How do I do this?

Elkar

If-then-else formula
 
=MAX(A1:C1)

HTH,
Elkar


"Malachi3" wrote:

In excel, I have three numbers in columns A,B, & C. In column D, I want a
formula that gives me the higher of the three numbers listed in columns A, B,
and C. For example, if the columns have 2, 4, and 3 respectively, I want the
column D formula to arrive at 4 as the correct answer. How do I do this?


MyVeryOwnSelf

If-then-else formula
 
In excel, I have three numbers in columns A,B, & C. In column D, I
want a formula that gives me the higher of the three numbers listed in
columns A, B, and C. ...


One way is to put this in D1 and copy down:
=MAX(A1:C1)

Jim May

If-then-else formula
 
=MAX(A:C)
in D4


"Malachi3" wrote:

In excel, I have three numbers in columns A,B, & C. In column D, I want a
formula that gives me the higher of the three numbers listed in columns A, B,
and C. For example, if the columns have 2, 4, and 3 respectively, I want the
column D formula to arrive at 4 as the correct answer. How do I do this?



All times are GMT +1. The time now is 08:44 PM.

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