Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]() 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(F50,F5+0.005," "),IF(B5="buy",IF(F50,F5-0.005," "))) Thanks. Mukesh |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Embedding an OR statement in an IF statement efficiently | Excel Discussion (Misc queries) | |||
If statement or lookup statement not sure | Excel Worksheet Functions | |||
SUMIF statement with AND statement | Excel Discussion (Misc queries) | |||
appending and IF statement to an existing IF statement | Excel Worksheet Functions | |||
If statement and Isblank statement | Excel Worksheet Functions |