M
Mukesh
I want is :
IF B5="buy" & I5="+" ..result (H5-F5)*E5*1000
IF B5="buy" & I5="-" ..result (G5-F5)*E5*1000
IF B5="sell" & I5="+" ..result (F5-H5)*E5*1000
IF B5="sell" & I5="-" ..result (G5-F5)*E5*1000
I tried following code, it works well, but when I add same for "sell", it
doens't work,
please correct me.
=IF(AND(B5="buy",I5="+"),(H5-F5)*E5*1000,IF(AND(B5="buy",I5="-"),(G5-F5)*E5*1000))
I am getting FALSE instead of blank field, where am I wrong.
=IF(B5="sell",IF(F5>0,F5+0.005," "),IF(B5="buy",IF(F5>0,F5-0.005," ")))
Thanks.
Mukesh
IF B5="buy" & I5="+" ..result (H5-F5)*E5*1000
IF B5="buy" & I5="-" ..result (G5-F5)*E5*1000
IF B5="sell" & I5="+" ..result (F5-H5)*E5*1000
IF B5="sell" & I5="-" ..result (G5-F5)*E5*1000
I tried following code, it works well, but when I add same for "sell", it
doens't work,
please correct me.
=IF(AND(B5="buy",I5="+"),(H5-F5)*E5*1000,IF(AND(B5="buy",I5="-"),(G5-F5)*E5*1000))
I am getting FALSE instead of blank field, where am I wrong.
=IF(B5="sell",IF(F5>0,F5+0.005," "),IF(B5="buy",IF(F5>0,F5-0.005," ")))
Thanks.
Mukesh