Spreadsheet: 63445d1264374405-excel-2007-if-function-excel-examples
Sheet: Sheet1

DATE | SHARE PRICE | % CHANGE |  | FILTER |  |  |  | MY MANUAL ANSWERS
 |  | Here I have created the percentage change per day |  | 0.01
2005-01-03 00:00:00 | 76.9 |  |  | BUY |  | I start of by buying. |  | BUY
2005-01-04 00:00:00 | 75.93 |  |  |  |  | Then as it fell by more than 1% I sell. |  | SELL
2005-01-05 00:00:00 | 74.64 |  |  |  |  | Don't buy here as it doesn't rise
2005-01-06 00:00:00 | 74.8 |  |  |  |  | Don't buy here as it doesn't rise over 1%
2005-01-07 00:00:00 | 71.75 |  |  |  |  | Don't buy here as it doesn't rise
2005-01-10 00:00:00 | 69.17 |  |  |  |  | Don't buy here as it doesn't rise
2005-01-11 00:00:00 | 69.5 |  |  |  |  | Don't buy here as it doesn't rise over 1%
2005-01-12 00:00:00 | 68.53 |  |  |  |  | Don't buy here as it doesn't rise
2005-01-13 00:00:00 | 68.53 |  |  |  |  | Don't buy here as it doesn't rise
2005-01-14 00:00:00 | 67.24 |  |  |  |  | Don't buy here is it doesn't rise
2005-01-17 00:00:00 | 68.85 |  |  |  |  | I buy this as it has risen more than 1% from the low price. |  | BUY
2005-01-18 00:00:00 | 67.89 |  |  |  |  | Then as it fell by more than 1% I sell. |  | SELL
2005-01-19 00:00:00 | 68.85 |  |  |  |  | I buy this as it has risen more than 1% from the low price. |  | BUY
2005-01-20 00:00:00 | 69.5 |  |  |  |  | Don't sell here as it doesn't fall
2005-01-21 00:00:00 | 69.17 |  |  |  |  | Doesn't fall enough
2005-01-24 00:00:00 | 69.17 |  |  |  |  | Doesn't fall enough
2005-01-25 00:00:00 | 70.14 |  |  |  |  | Don't sell here as it doesn't fall
2005-01-26 00:00:00 | 71.1 |  |  |  |  | Don't sell here as it doesn't fall
2005-01-27 00:00:00 | 72.39 |  |  |  |  | Don't sell here as it doesn't fall
2005-01-28 00:00:00 | 72.07 |  |  |  |  | Doesn't fall enough
2005-01-31 00:00:00 | 72.07 |  |  |  |  | Doesn't fall enough
2005-02-01 00:00:00 | 73.03 |  |  |  |  | Don't sell here as it doesn't fall
2005-02-02 00:00:00 | 75.93 |  |  |  |  | Don't sell here as it doesn't fall
2005-02-03 00:00:00 | 79.15 |  |  |  |  | Don't sell here as it doesn't fall
2005-02-04 00:00:00 | 77.86 |  |  |  |  | Then as it fell by more than 1% I sell. |  | SELL
2005-02-07 00:00:00 | 78.83 |  |  |  |  | I buy this as it has risen more than 1% from the low price. |  | BUY
2005-02-08 00:00:00 | 77.22 |  |  |  |  | Then as it fell by more than 1% I sell. |  | SELL
2005-02-09 00:00:00 | 77.22
2005-02-10 00:00:00 | 77.86
2005-02-11 00:00:00 | 78.5 |  |  |  |  | I buy this as it has risen more than 1% from the low price (of 77.22) |  | BUY
2005-02-14 00:00:00 | 80.76
2005-02-15 00:00:00 | 80.43
2005-02-16 00:00:00 | 80.43
2005-02-17 00:00:00 | 77.54 |  |  |  |  | CONTINUES ON LIKE THIS |  | SELL
2005-02-18 00:00:00 | 78.18
2005-02-21 00:00:00 | 78.5 |  |  |  |  |  |  | BUY | These don't appear with the formula as I think the lowest value hasn't been used for when to buy. I.e 77.54 should be used not 78.18
2005-02-22 00:00:00 | 74.64 |  |  |  |  |  |  | SELL
2005-02-23 00:00:00 | 73.36
2005-02-24 00:00:00 | 75.29 |  |  |  |  |  |  | BUY
2005-02-25 00:00:00 | 75.29
2005-02-28 00:00:00 | 75.61
2005-03-01 00:00:00 | 76.25
2005-03-02 00:00:00 | 77.22
2005-03-03 00:00:00 | 78.83
2005-03-04 00:00:00 | 79.79
2005-03-07 00:00:00 | 79.79
2005-03-08 00:00:00 | 81.08
2005-03-09 00:00:00 | 81.4
2005-03-10 00:00:00 | 80.76
2005-03-11 00:00:00 | 81.4
2005-03-14 00:00:00 | 82.37
2005-03-15 00:00:00 | 82.04
2005-03-16 00:00:00 | 83.97
2005-03-17 00:00:00 | 83.33
2005-03-18 00:00:00 | 83.01
2005-03-21 00:00:00 | 81.24 |  |  |  |  |  |  | SELL
2005-03-22 00:00:00 | 82.04
2005-03-23 00:00:00 | 82.04
2005-03-24 00:00:00 | 82.69
2005-03-25 00:00:00 | 82.69
2005-03-28 00:00:00 | 82.69
2005-03-29 00:00:00 | 83.65 |  |  |  |  |  |  | BUY
2005-03-30 00:00:00 | 81.4 |  |  |  |  |  |  | SELL
2005-03-31 00:00:00 | 81.4
2005-04-01 00:00:00 | 81.72
2005-04-04 00:00:00 | 81.72
2005-04-05 00:00:00 | 82.04
2005-04-06 00:00:00 | 83.01 |  |  |  |  |  |  | BUY
2005-04-07 00:00:00 | 82.37
2005-04-08 00:00:00 | 82.37
2005-04-11 00:00:00 | 80.76 |  |  |  |  |  |  | SELL
2005-04-12 00:00:00 | 80.76
2005-04-13 00:00:00 | 81.4
2005-04-14 00:00:00 | 81.4
2005-04-15 00:00:00 | 80.76
2005-04-18 00:00:00 | 77.54
2005-04-19 00:00:00 | 78.18
2005-04-20 00:00:00 | 78.18
2005-04-21 00:00:00 | 77.86
2005-04-22 00:00:00 | 79.79 |  |  |  |  |  |  | BUY
2005-04-25 00:00:00 | 79.79
2005-04-26 00:00:00 | 78.18 |  |  |  |  |  |  | SELL
2005-04-27 00:00:00 | 77.54
2005-04-28 00:00:00 | 75.93
2005-04-29 00:00:00 | 75.93
2005-05-02 00:00:00 | 75.93
2005-05-03 00:00:00 | 74
2005-05-04 00:00:00 | 74.16
2005-05-05 00:00:00 | 75.29 |  |  |  |  |  |  | BUY
2005-05-06 00:00:00 | 75.61
2005-05-09 00:00:00 | 75.93
2005-05-10 00:00:00 | 75.93
2005-05-11 00:00:00 | 74.64 |  |  |  |  |  |  | SELL
2005-05-12 00:00:00 | 74.64
2005-05-13 00:00:00 | 74.64
2005-05-16 00:00:00 | 73.36
2005-05-17 00:00:00 | 74.64 |  |  |  |  |  |  | BUY
2005-05-18 00:00:00 | 75.45
2005-05-19 00:00:00 | 74.97
2005-05-20 00:00:00 | 75.29
2005-05-23 00:00:00 | 74.97
2005-05-24 00:00:00 | 74.97
2005-05-25 00:00:00 | 74.97
2005-05-26 00:00:00 | 74.97
2005-05-27 00:00:00 | 74.97
2005-05-30 00:00:00 | 74.97
2005-05-31 00:00:00 | 75.61
2005-06-01 00:00:00 | 74.64 |  |  |  |  |  |  | SELL
2005-06-02 00:00:00 | 74.64
2005-06-03 00:00:00 | 74.97
2005-06-06 00:00:00 | 74.97
2005-06-07 00:00:00 | 74.32
2005-06-08 00:00:00 | 74.32
2005-06-09 00:00:00 | 74.64
2005-06-10 00:00:00 | 74.97
2005-06-13 00:00:00 | 74.97
2005-06-14 00:00:00 | 74.32
2005-06-15 00:00:00 | 74.97
2005-06-16 00:00:00 | 74.64
2005-06-17 00:00:00 | 78.83 |  |  |  |  |  |  | BUY
2005-06-20 00:00:00 | 78.83
2005-06-21 00:00:00 | 77.22 |  |  |  |  |  |  | SELL
2005-06-22 00:00:00 | 76.9
2005-06-23 00:00:00 | 79.15 |  |  |  |  |  |  | BUY
2005-06-24 00:00:00 | 79.15
2005-06-27 00:00:00 | 77.86 |  |  |  |  |  |  | SELL
2005-06-28 00:00:00 | 76.57
2005-06-29 00:00:00 | 76.57
2005-06-30 00:00:00 | 76.57
2005-07-01 00:00:00 | 76.57
2005-07-04 00:00:00 | 77.22
2005-07-05 00:00:00 | 77.86 |  |  |  |  |  |  | BUY | Here again, I know its only slightly out but 76.57 should be used here for the low.
2005-07-06 00:00:00 | 79.15
2005-07-07 00:00:00 | 89.44
2005-07-08 00:00:00 | 94.59
2005-07-11 00:00:00 | 94.59
2005-07-12 00:00:00 | 94.43
2005-07-13 00:00:00 | 96.68
2005-07-14 00:00:00 | 99.58
2005-07-15 00:00:00 | 99.74
2005-07-18 00:00:00 | 99.74
2005-07-19 00:00:00 | 98.77
2005-07-20 00:00:00 | 99.74
2005-07-21 00:00:00 | 98.45 |  |  |  |  |  |  | SELL
2005-07-22 00:00:00 | 99.9 |  |  |  |  |  |  | BUY
2005-07-25 00:00:00 | 102.15
2005-07-26 00:00:00 | 104.57
2005-07-27 00:00:00 | 109.39
2005-07-28 00:00:00 | 107.3 |  |  |  |  |  |  | SELL
2005-07-29 00:00:00 | 109.39 |  |  |  |  |  |  | BUY
2005-08-01 00:00:00 | 109.39
2005-08-02 00:00:00 | 112.29
2005-08-03 00:00:00 | 110.68 |  |  |  |  |  |  | SELL
2005-08-04 00:00:00 | 109.39
2005-08-05 00:00:00 | 108.59
2005-08-08 00:00:00 | 106.17
2005-08-09 00:00:00 | 107.78 |  |  |  |  |  |  | BUY
2005-08-10 00:00:00 | 106.98
2005-08-11 00:00:00 | 105.53 |  |  |  |  |  |  | SELL
2005-08-12 00:00:00 | 104.73
2005-08-15 00:00:00 | 105.37
2005-08-16 00:00:00 | 105.53
2005-08-17 00:00:00 | 104.57
2005-08-18 00:00:00 | 103.44
2005-08-19 00:00:00 | 103.44
2005-08-22 00:00:00 | 103.6
2005-08-23 00:00:00 | 103.28
2005-08-24 00:00:00 | 103.44
2005-08-25 00:00:00 | 101.35
2005-08-26 00:00:00 | 100.22
2005-08-29 00:00:00 | 100.22
2005-08-30 00:00:00 | 98.77
2005-08-31 00:00:00 | 99.9 |  |  |  |  |  |  | BUY
2005-09-01 00:00:00 | 105
2005-09-02 00:00:00 | 110.5
2005-09-05 00:00:00 | 108 |  |  |  |  |  |  | SELL
2005-09-06 00:00:00 | 107.5
2005-09-07 00:00:00 | 105.5
2005-09-08 00:00:00 | 105.25
2005-09-09 00:00:00 | 103.5
2005-09-12 00:00:00 | 100.25
2005-09-13 00:00:00 | 97.75
2005-09-14 00:00:00 | 101.5 |  |  |  |  |  |  | BUY
2005-09-15 00:00:00 | 103.5
2005-09-16 00:00:00 | 100.5 |  |  |  |  |  |  | SELL
2005-09-19 00:00:00 | 103.5 |  |  |  |  |  |  | BUY
2005-09-20 00:00:00 | 103.5
2005-09-21 00:00:00 | 103.25
2005-09-22 00:00:00 | 105
2005-09-23 00:00:00 | 105.5
2005-09-26 00:00:00 | 105.5
2005-09-27 00:00:00 | 107.5
2005-09-28 00:00:00 | 107.75
2005-09-29 00:00:00 | 108.75
2005-09-30 00:00:00 | 114
2005-10-03 00:00:00 | 115.25
2005-10-04 00:00:00 | 116.75
2005-10-05 00:00:00 | 115.25 |  |  |  |  |  |  | SELL
2005-10-06 00:00:00 | 114
2005-10-07 00:00:00 | 110.5
2005-10-10 00:00:00 | 110
2005-10-11 00:00:00 | 112.25 |  |  |  |  |  |  | BUY
2005-10-12 00:00:00 | 113
2005-10-13 00:00:00 | 112.5
2005-10-14 00:00:00 | 110 |  |  |  |  |  |  | SELL
2005-10-17 00:00:00 | 110.25
2005-10-18 00:00:00 | 110.25
2005-10-19 00:00:00 | 105.5
2005-10-20 00:00:00 | 107 |  |  |  |  |  |  | BUY
2005-10-21 00:00:00 | 105 |  |  |  |  |  |  | SELL
2005-10-24 00:00:00 | 107 |  |  |  |  |  |  | BUY
2005-10-25 00:00:00 | 108
2005-10-26 00:00:00 | 111
2005-10-27 00:00:00 | 109 |  |  |  |  |  |  | SELL
2005-10-28 00:00:00 | 108.25
2005-10-31 00:00:00 | 113 |  |  |  |  |  |  | BUY
2005-11-01 00:00:00 | 113.75
2005-11-02 00:00:00 | 114.25
2005-11-03 00:00:00 | 116
2005-11-04 00:00:00 | 115
2005-11-07 00:00:00 | 115.75
2005-11-08 00:00:00 | 116
2005-11-09 00:00:00 | 116
2005-11-10 00:00:00 | 115
2005-11-11 00:00:00 | 115.75
2005-11-14 00:00:00 | 114.5 |  |  |  |  |  |  | SELL
2005-11-15 00:00:00 | 114.25
2005-11-16 00:00:00 | 114
2005-11-17 00:00:00 | 115.25 |  |  |  |  |  |  | BUY
2005-11-18 00:00:00 | 119
2005-11-21 00:00:00 | 118.5
2005-11-22 00:00:00 | 119.5
2005-11-23 00:00:00 | 121.75
2005-11-24 00:00:00 | 121.5
2005-11-25 00:00:00 | 122.25
2005-11-28 00:00:00 | 124.25
2005-11-29 00:00:00 | 124
2005-11-30 00:00:00 | 123.5
2005-12-01 00:00:00 | 125.5
2005-12-02 00:00:00 | 132.5
2005-12-05 00:00:00 | 133.5
2005-12-06 00:00:00 | 138
2005-12-07 00:00:00 | 138.75
2005-12-08 00:00:00 | 137 |  |  |  |  |  |  | SELL
2005-12-09 00:00:00 | 133.75
2005-12-12 00:00:00 | 132.75
2005-12-13 00:00:00 | 133.25
2005-12-14 00:00:00 | 130.25
2005-12-15 00:00:00 | 130
2005-12-16 00:00:00 | 133.75 |  |  |  |  |  |  | BUY
2005-12-19 00:00:00 | 133.75
2005-12-20 00:00:00 | 133
2005-12-21 00:00:00 | 134
2005-12-22 00:00:00 | 132.5 |  |  |  |  |  |  | SELL
2005-12-23 00:00:00 | 133.75
2005-12-26 00:00:00 | 133.75
2005-12-27 00:00:00 | 133.75
2005-12-28 00:00:00 | 133
2005-12-29 00:00:00 | 133
2005-12-30 00:00:00 | 133.75
2006-01-02 00:00:00 | 133.75
2006-01-03 00:00:00 | 132.75
2006-01-04 00:00:00 | 133
2006-01-05 00:00:00 | 135 |  |  |  |  |  |  | BUY
2006-01-06 00:00:00 | 135.5
2006-01-09 00:00:00 | 138
2006-01-10 00:00:00 | 138.25
2006-01-11 00:00:00 | 138.5
2006-01-12 00:00:00 | 140.75
2006-01-13 00:00:00 | 141.5
2006-01-16 00:00:00 | 144.75
2006-01-17 00:00:00 | 145
2006-01-18 00:00:00 | 144.5
2006-01-19 00:00:00 | 150
2006-01-20 00:00:00 | 153
2006-01-23 00:00:00 | 159.75
2006-01-24 00:00:00 | 162.75
2006-01-25 00:00:00 | 165
2006-01-26 00:00:00 | 163.75
2006-01-27 00:00:00 | 167.5
2006-01-30 00:00:00 | 166.5
2006-01-31 00:00:00 | 164.5 |  |  |  |  |  |  | SELL
2006-02-01 00:00:00 | 170 |  |  |  |  |  |  | BUY
2006-02-02 00:00:00 | 168 |  |  |  |  |  |  | SELL
2006-02-03 00:00:00 | 165.25
2006-02-06 00:00:00 | 168.25 |  |  |  |  |  |  | BUY
2006-02-07 00:00:00 | 169.75
2006-02-08 00:00:00 | 169.5
2006-02-09 00:00:00 | 173.5
2006-02-10 00:00:00 | 169 |  |  |  |  |  |  | SELL
2006-02-13 00:00:00 | 167.5
2006-02-14 00:00:00 | 163
2006-02-15 00:00:00 | 164.25
2006-02-16 00:00:00 | 166.75 |  |  |  |  |  |  | BUY