Hi
I have the IF formula below that works ok,based on the values shown in column AB(122:126),the result would be "BUY".
The formula works if i just type in the text in column AB(122:126),however if i use the paste link to insert the values in column AB the formula stops working.
I know i could use a lookup table as an alternative the problem would be that there would be so many possible outcomes that would have to covered that the lookup table would take a long time to construct.
COLUMN AB
BUY
BUY
TRENDING
TRENDING
LONG TRADES ONLY
=IF(AND(AB122="BUY",AB123="BUY",AB124="TRENDING",AB125="TRENDING",AB126="LONG TRADES ONLY"),"BUY",IF(AND(AB122="SELL",AB123="SELL",AB124="TRENDING",AB125="TRENDING",AB126="SHORT TRADES ONLY"),"SELL","DON'T TRADE"))
To break it down there are three possible results:
=IF(AND
(AB122="BUY",AB123="BUY",AB124="TRENDING",AB125="TRENDING",AB126="LONG TRADES ONLY"),"BUY"
IF(AND(AB122="SELL",AB123="SELL",AB124="TRENDING",AB125="TRENDING",AB126="SHORT TRADES ONLY"),"SELL"
Any other combination ="DON'T TRADE"
Thanks for the ideas
Ade
I have the IF formula below that works ok,based on the values shown in column AB(122:126),the result would be "BUY".
The formula works if i just type in the text in column AB(122:126),however if i use the paste link to insert the values in column AB the formula stops working.
I know i could use a lookup table as an alternative the problem would be that there would be so many possible outcomes that would have to covered that the lookup table would take a long time to construct.
COLUMN AB
BUY
BUY
TRENDING
TRENDING
LONG TRADES ONLY
=IF(AND(AB122="BUY",AB123="BUY",AB124="TRENDING",AB125="TRENDING",AB126="LONG TRADES ONLY"),"BUY",IF(AND(AB122="SELL",AB123="SELL",AB124="TRENDING",AB125="TRENDING",AB126="SHORT TRADES ONLY"),"SELL","DON'T TRADE"))
To break it down there are three possible results:
=IF(AND
(AB122="BUY",AB123="BUY",AB124="TRENDING",AB125="TRENDING",AB126="LONG TRADES ONLY"),"BUY"
IF(AND(AB122="SELL",AB123="SELL",AB124="TRENDING",AB125="TRENDING",AB126="SHORT TRADES ONLY"),"SELL"
Any other combination ="DON'T TRADE"
Thanks for the ideas
Ade