ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   HOW CAN I MAKE A FORMULA RETURN A ZERO (https://www.excelbanter.com/excel-discussion-misc-queries/27977-how-can-i-make-formula-return-zero.html)

Jim Lowe

HOW CAN I MAKE A FORMULA RETURN A ZERO
 
I am working with an inventory analysis spread sheet and want to calculate
projected orders and need to change negative calculations to zero so that I
can get a total number of all items required.



N Harkawat

the place where you get a negative enter the following

=min(0,your formula that makes the value zero)

"Jim Lowe" <Jim wrote in message
...
I am working with an inventory analysis spread sheet and want to calculate
projected orders and need to change negative calculations to zero so that
I
can get a total number of all items required.





bigwheel

"Jim Lowe" wrote:

I am working with an inventory analysis spread sheet and want to calculate
projected orders and need to change negative calculations to zero so that I
can get a total number of all items required.


Check for a negative value and replace with 0 if true
=IF(A1<0,0,A1)

Naraine

utilize the if function...

if("your calculation <0,0,your calculation)

"Jim Lowe" <Jim wrote in message
...
I am working with an inventory analysis spread sheet and want to calculate
projected orders and need to change negative calculations to zero so that

I
can get a total number of all items required.






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

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