Hi All,
For some reason unknown to me; I cannot combine these two formulas below.
Every time I get a result for BUY Stop and BUY Limit it shows a number but the SELL Limit and SELL Stops show "FALSE" and do not calculate.
Full Formula:
=IF(E2="BUY",IF(F2="Stop",((G2-K2)/K2),(IF(E2="BUY",IF(F2="Limit",(-(G2-K2)/K2)),IF(E2="SELL",IF(F2="Stop",(-(G2-K2)/K2),(IF(E2="SELL",IF(F2="Limit",((G2-K2)/K2)),"ERROR"),"ERROR"),"ERROR"),"ERROR"),"ERROR"),"ERROR"),"ERROR"),"ERROR")
Individual Formulas to create the full formula (these work individually):
=IF(E2="BUY",IF(F2="Stop",((G2-K2)/K2),(IF(E2="BUY",IF(F2="Limit",(-(G2-K2)/K2)),"ERROR"))))
=IF(E2="SELL",IF(F2="Stop",(-(G2-K2)/K2),(IF(E2="SELL",IF(F2="Limit",((G2-K2)/K2)),"ERROR"))))
Cheers.
Bookmarks