by osknows » Fri Sep 07, 2012 9:27 am
Hello,
Possibly it could the following....
cell Y2 may be being treated as text instead of numeric.
Eg if cell Y2 contains a formula
=IF(F5>2,F5,"")
The "" will show a blank in the cell but it isn't 0.
your formula =IF(Y2<=0,W4+1,1), Y2<=0 won't work in this case
You have 2 options, either
1. Change the formula in Y2 so only numeric data is returned - eg =IF(F5>2,F5,0)
or
2. Update your formula to read
=IF(OR(Y2<=0,Y2=""),W4+1,1)
If t's not that we probably need more info
Os