stantheman007
New Member
- Joined
- Feb 1, 2021
- Messages
- 18
- Office Version
- 365
- Platform
- MacOS
hey everyone,
I am trying to make a formula that outputs a value of 1 when some conditions hold, and 0 when they don't. Here is what I have tried: {=IF(($A$2:$A$991=$A3)*($M$2:$M$991=$M3)*($P$2:$P$991=$P3)*((0.95*$R3)<$R3<(1.05*$R3)), "1", "0")}
The inequalities are for one of the conditions; that the value in R column be between +/- 5% of the highlighted value.
Excel only outputs 0s in this formula, even though I am sure that there should be 1s somewhere.
Any help on this would be great.
Stan
I am trying to make a formula that outputs a value of 1 when some conditions hold, and 0 when they don't. Here is what I have tried: {=IF(($A$2:$A$991=$A3)*($M$2:$M$991=$M3)*($P$2:$P$991=$P3)*((0.95*$R3)<$R3<(1.05*$R3)), "1", "0")}
The inequalities are for one of the conditions; that the value in R column be between +/- 5% of the highlighted value.
Excel only outputs 0s in this formula, even though I am sure that there should be 1s somewhere.
Any help on this would be great.
Stan