markster
Well-known Member
- Joined
- May 23, 2002
- Messages
- 579
- Office Version
- 365
- Platform
- Windows
- MacOS
Hi there
Just need a bit of help with a formula. Basically use the following formula which is pretty straightforward:
=IF(I7<0,"OPEN","CLOSED")
But I need to add a further variable to add to the above formula that totally ignores the first bit of the formula and returns "Pending Stop" if cell C7 contains the term Sell Stop or Buy Stop
So if I7 <0 and cell C7 does not contain the words Sell Stop or Buy Stop it returns Open
So if I7 <0 and cell C7 does not contain the words Sell Stop or Buy Stop it returns Close
In the above scenarios if the cell C7 contains either Sell Stop or Buy Stop it returns Pending Order
Hope this is clear.
Thanks in advance.
Mark
Just need a bit of help with a formula. Basically use the following formula which is pretty straightforward:
=IF(I7<0,"OPEN","CLOSED")
But I need to add a further variable to add to the above formula that totally ignores the first bit of the formula and returns "Pending Stop" if cell C7 contains the term Sell Stop or Buy Stop
So if I7 <0 and cell C7 does not contain the words Sell Stop or Buy Stop it returns Open
So if I7 <0 and cell C7 does not contain the words Sell Stop or Buy Stop it returns Close
In the above scenarios if the cell C7 contains either Sell Stop or Buy Stop it returns Pending Order
Hope this is clear.
Thanks in advance.
Mark