With regard to a spreadsheet I am building on when to buy and sell stocks i need some help on contructing a formula that buys stock when certain conitions are true and avoids thm when they are not ie two columns and the conditions below
<colgroup><col style="width: 51pt; mso-width-source: userset; mso-width-alt: 2486;" span="2" width="68"> <col style="width: 48pt;" span="7" width="64"> <tbody>
</tbody>
column 1 | column 2 | right answer | ||||||
-0.0009 | -0.002 | Buy | ||||||
-0.0017 | -0.003 | Buy | column 1 when >0 "sell" stock | |||||
-0.0004 | -0.002 | Buy | column 2 when <0 "buy "stock back | |||||
-0.0008 | -0.002 | Buy | ||||||
0.0001 | -0.002 | Buy | but overide when column 1 is<0 always "buy" | |||||
0.0005 | -0.002 | Buy | ||||||
0.0020 | -0.001 | Buy | how do I build a formula that achives this ?? and labels buy or blank in column 3 | |||||
0.0016 | -0.001 | Buy | ||||||
0.0024 | -0.001 | Buy | ||||||
0.0026 | -0.001 | Buy | ||||||
0.0038 | 0.001 | |||||||
0.0037 | 0.000 | |||||||
0.0045 | 0.001 | |||||||
0.0042 | 0.001 | |||||||
0.0044 | 0.002 | |||||||
0.0041 | 0.001 | |||||||
0.0042 | 0.002 | |||||||
0.0044 | 0.002 | |||||||
0.0036 | 0.002 | |||||||
0.0039 | 0.002 | |||||||
0.0021 | 0.001 | |||||||
0.0014 | 0.000 | |||||||
0.0000 | -0.001 | |||||||
-0.0009 | -0.002 | Buy | ||||||
-0.0010 | -0.002 | Buy | ||||||
-0.0013 | -0.003 | Buy | ||||||
-0.0009 | -0.003 | Buy | ||||||
-0.0012 | -0.004 | Buy | ||||||
-0.0012 | -0.004 | Buy | ||||||
-0.0005 | -0.004 | Buy | ||||||
-0.0002 | -0.004 | Buy | ||||||
0.0011 | -0.004 | Buy | ||||||
0.0016 | -0.004 | Buy | ||||||
0.0025 | -0.004 | Buy | ||||||
0.0031 | -0.003 | Buy | ||||||
0.0045 | -0.003 | Buy | ||||||
0.0049 | -0.002 | Buy | ||||||
0.0065 | -0.002 | Buy | ||||||
0.0068 | -0.001 | Buy | ||||||
0.0083 | 0.000 | Buy | ||||||
0.0084 | 0.000 | |||||||
0.0093 | 0.000 | |||||||
0.0090 | 0.001 | |||||||
0.0100 | 0.001 | |||||||
0.0096 | 0.002 | |||||||
0.0096 | 0.001 | |||||||
0.0103 | 0.003 | |||||||
0.0104 | 0.002 | |||||||
0.0084 | 0.002 | |||||||
0.0104 | 0.003 | |||||||
0.0088 | 0.002 | |||||||
0.0114 | 0.005 | |||||||
0.0107 | 0.005 | |||||||
0.0124 | 0.007 | |||||||
0.0112 | 0.007 | |||||||
0.0115 | 0.008 | |||||||
0.0086 | 0.006 | |||||||
0.0082 | 0.007 | |||||||
0.0071 | 0.007 | |||||||
0.0053 | 0.006 | |||||||
0.0050 | 0.006 | |||||||
0.0021 | 0.005 | |||||||
0.0007 | 0.004 | |||||||
-0.0016 | 0.003 | Buy |
<colgroup><col style="width: 51pt; mso-width-source: userset; mso-width-alt: 2486;" span="2" width="68"> <col style="width: 48pt;" span="7" width="64"> <tbody>
</tbody>