ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Formula and Condition for a Calculation to leave a zero if the res (https://www.excelbanter.com/excel-worksheet-functions/77038-formula-condition-calculation-leave-zero-if-res.html)

SSG Devine

Formula and Condition for a Calculation to leave a zero if the res
 
I need to generate a formual with a condition condition that if the formula
returns a negative number the resulting answer should be zero? Can anyone
help
--
Thanks
SSG Devine

Beege

Formula and Condition for a Calculation to leave a zero if the res
 
SSG

=IF(your formula<0,0,your formula)
Beege


"SSG Devine" wrote in message
...
I need to generate a formual with a condition condition that if the formula
returns a negative number the resulting answer should be zero? Can anyone
help
--
Thanks
SSG Devine




bpeltzer

Formula and Condition for a Calculation to leave a zero if the res
 
Where you currently have =formula, use =if((formula)<0,0,formula)

"SSG Devine" wrote:

I need to generate a formual with a condition condition that if the formula
returns a negative number the resulting answer should be zero? Can anyone
help
--
Thanks
SSG Devine


Ron Coderre

Formula and Condition for a Calculation to leave a zero if the res
 
Try something like this:

=MAX(your_formula,0)

Does that help?

***********
Regards,
Ron

XL2002, WinXP-Pro


"SSG Devine" wrote:

I need to generate a formual with a condition condition that if the formula
returns a negative number the resulting answer should be zero? Can anyone
help
--
Thanks
SSG Devine



All times are GMT +1. The time now is 05:29 AM.

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