number < 0 = 0

Y

yaypalmtrees

I am trying to conduct inventory of hardware. I need to know based on what i
have, what i need to order. When i place the needed qty, and subtract the
instock qty, sometimes i receive a neg. number. What formula do i use, so
that instead of a neg. number, it automatically shows up as a "0"?
 
D

Dave Peterson

maybe...

=max(0,youroriginalformulahere)
I am trying to conduct inventory of hardware. I need to know based on what i
have, what i need to order. When i place the needed qty, and subtract the
instock qty, sometimes i receive a neg. number. What formula do i use, so
that instead of a neg. number, it automatically shows up as a "0"?
 
I

intruder9

Supose A1 was Instock, B1 was Needed and C1 was your answer of A1-B1
In D11 use this =If(C1<=0,0,C1
 
I

intruder9

Supose A1 was Instock, B1 was Needed and C1 was your answer of A1-B1
In D1 use this =If(C1<=0,0,C1) or make C1 this formul
=If(A1-B1<=0,0,A1-B1
 
Top