Hello,
I have a nested if statement to return values once a certain number of units are deployed. What I'm having trouble with is how to structure the formula so that is returns zero once the condition is met. So for instance, the first time units deployed hits the 23-28 range, then return (G29/3) but return 0 if units are in the range after that. I tried to do this with the beginning if statement (AE29>1,0...) but its not working consistently.
=IF(AE29>1,0,IF(AND(AF7>=48,AF7<=50),$G$29/3,IF(AND(AF7>=23,AF7<=28),$G$29/3,IF(AND(AF7>=1,AF7<=3),$G$29/3,0))))
Any suggestions?
Thanks!
I have a nested if statement to return values once a certain number of units are deployed. What I'm having trouble with is how to structure the formula so that is returns zero once the condition is met. So for instance, the first time units deployed hits the 23-28 range, then return (G29/3) but return 0 if units are in the range after that. I tried to do this with the beginning if statement (AE29>1,0...) but its not working consistently.
=IF(AE29>1,0,IF(AND(AF7>=48,AF7<=50),$G$29/3,IF(AND(AF7>=23,AF7<=28),$G$29/3,IF(AND(AF7>=1,AF7<=3),$G$29/3,0))))
Any suggestions?
Thanks!