ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   if formula return (https://www.excelbanter.com/excel-discussion-misc-queries/202666-if-formula-return.html)

Theresa

if formula return
 
hello, i need help with an IF formula. I want the 'true' return to be value
of one cell minus another but not greater than the value of another cell.
How would I phrase in my formula after my argument?

JMay

if formula return
 
=IF(A1-A2C1,A1-A2,C1)

should work

"Theresa" wrote:

hello, i need help with an IF formula. I want the 'true' return to be value
of one cell minus another but not greater than the value of another cell.
How would I phrase in my formula after my argument?


Fred Smith[_4_]

if formula return
 
Min will do what you want, as in:

=min(a2-a1,a3)

Regards,
Fred.

"Theresa" wrote in message
...
hello, i need help with an IF formula. I want the 'true' return to be
value
of one cell minus another but not greater than the value of another cell.
How would I phrase in my formula after my argument?



David Biddulph[_2_]

if formula return
 
=IF(condition,MIN(A1-B1,C1),value_if_false)
--
David Biddulph

"Theresa" wrote in message
...
hello, i need help with an IF formula. I want the 'true' return to be
value
of one cell minus another but not greater than the value of another cell.
How would I phrase in my formula after my argument?




JMay

if formula return
 
Sorry, I might have mis-read your request;
Fred may not have,,,,,,

"JMay" wrote:

=IF(A1-A2C1,A1-A2,C1)

should work

"Theresa" wrote:

hello, i need help with an IF formula. I want the 'true' return to be value
of one cell minus another but not greater than the value of another cell.
How would I phrase in my formula after my argument?



All times are GMT +1. The time now is 11:21 AM.

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