ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   formula for Greater of C or D X E (https://www.excelbanter.com/excel-discussion-misc-queries/49792-formula-greater-c-d-x-e.html)

[email protected]

formula for Greater of C or D X E
 
can you please help me in writing this formula

if c is greater multiply if by E, but if Dis greater then multiply D by E.

thank you

Don Guillett

Have a look in HELP index for MAX

--
Don Guillett
SalesAid Software

"
.com wrote in message
...
can you please help me in writing this formula

if c is greater multiply if by E, but if Dis greater then multiply D by E.

thank you




Sloth

=IF(C1=D1,C1*E1,D1*E1)

I figured it didn't matter which one it is multiplied by if they are equal.

" wrote:

can you please help me in writing this formula

if c is greater multiply if by E, but if Dis greater then multiply D by E.

thank you



All times are GMT +1. The time now is 11:57 PM.

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