Greetings all - I would like very much to get some assistance with the following please, if anyone has thoughts on it.
=IF(BB2="","",IF(AND($AR2="x",$AZ2="L",$AV2="C",J3> $BF2),K3-$BB2,IF(AND($AR2="x",$AZ2="L",$AV2="O",J3> $BF2),K3-$BB2,IF(AND($AR2="x",$AZ2="L",$AV2="B",J3> $BF2),I3-$BB2,IF(AND($AR2="x",$AZ2="S",$AV2="C",I3< $BF2),$BB2-K3,IF(AND($AR2="x",$AZ2="S",$AV2="O",I3< $BF2),$BB2-K3,IF(AND($AR2="x",$AZ2="S",$AV2="B",I3< $BF2),$BB2-K3,IF(AND($AR2="x",$AZ2="L",J3<= $BF2),$BF2-$BB2,IF(AND($AR2="x",$AZ2="S",I3>= $BF2),$BB2-$BF2,"")))))))))
This formula produces what is required, except for this: If "H" (which is an opening price) opens higher than the limit that "H" is not supposed to go beyond "I" (the limit), how could I handle that so that if this condition were met, the formula would return""? I also need the opposite addition, please.
Here is what I (think) would work — but I cannot figure out to how add this in to what I have above.
IF(AND($AR2="x",$AZ2="L",$AV2="O",H3< $J2),then blank,
IF(AND($AR2="x",$AZ2="S",$AV2="O",H3> $I2),then blank,
In other words, do all of the (longer) above formula, but if any of these two (above) conditions exist, plus that very first one, =IF(BB2="","") then return "".
Any help much appreciated, thank you so much!
=IF(BB2="","",IF(AND($AR2="x",$AZ2="L",$AV2="C",J3> $BF2),K3-$BB2,IF(AND($AR2="x",$AZ2="L",$AV2="O",J3> $BF2),K3-$BB2,IF(AND($AR2="x",$AZ2="L",$AV2="B",J3> $BF2),I3-$BB2,IF(AND($AR2="x",$AZ2="S",$AV2="C",I3< $BF2),$BB2-K3,IF(AND($AR2="x",$AZ2="S",$AV2="O",I3< $BF2),$BB2-K3,IF(AND($AR2="x",$AZ2="S",$AV2="B",I3< $BF2),$BB2-K3,IF(AND($AR2="x",$AZ2="L",J3<= $BF2),$BF2-$BB2,IF(AND($AR2="x",$AZ2="S",I3>= $BF2),$BB2-$BF2,"")))))))))
This formula produces what is required, except for this: If "H" (which is an opening price) opens higher than the limit that "H" is not supposed to go beyond "I" (the limit), how could I handle that so that if this condition were met, the formula would return""? I also need the opposite addition, please.
Here is what I (think) would work — but I cannot figure out to how add this in to what I have above.
IF(AND($AR2="x",$AZ2="L",$AV2="O",H3< $J2),then blank,
IF(AND($AR2="x",$AZ2="S",$AV2="O",H3> $I2),then blank,
In other words, do all of the (longer) above formula, but if any of these two (above) conditions exist, plus that very first one, =IF(BB2="","") then return "".
Any help much appreciated, thank you so much!