Hello everyone,
Is it possible that somebody can please show me where I'm going wrong here as I am a little confused with the #AND# in the formulas. I'm using Excell 2007 and I'm curious if these formulas were written for an earlier version.
I am trying to re-create a spreadsheet that is illustrated in a book that I am reading but I'm having troubles.
The book tells me to "put the minimum swing percentage value in cell C3(for example, 5% =.05) put the following formulas in the corresponding cells. Row 6 initializes the process."
Here are the formulas:
E6 =B6 (the current swing high)
F6 =C6 (the current swing low)
G6 =IF(D6>(E6+F6),-1,1) (where -1 is a downswing and +1 is an up swing)
Row 7 is the beginning of the repeated process. Row 7 can be copied down.
E7 =IF($G6=-1#AND#B7>E6,B7,IF($G6=1,B7,E6)) (the new current low)
F7 =IF($G6=1#AND#C7<F6,C7,IF($G6=-1,C7,F6)) p current new (the high)<> G7 =IF($G6=-1,IF(C7<E7-$C$3*D7,1,$G6),IF(B7>F7+$C$3*D7,-1,$G6)) (test high or low)
H7 =IF($G7=1#AND#G6=-1,E7,H6) (new swing high)
I7 =IF($G7=-1#AND#G6=1,F7,I6)) (new swing low)
This is all the formulas that the book shows.
If anyone could please explain the #AND# or rewrite the formulas for Excel 2007? It would be a great help. I also tried using the =IF((AND... but no luck.
Thank you in advance.
John
Sheet1
<TABLE style="BACKGROUND-COLOR: #ffffff; PADDING-LEFT: 2pt; PADDING-RIGHT: 2pt; FONT-FAMILY: Calibri,Arial; FONT-SIZE: 11pt" border=1 cellSpacing=0 cellPadding=0><COLGROUP><COL style="WIDTH: 30px; FONT-WEIGHT: bold"><COL style="WIDTH: 77px"><COL style="WIDTH: 69px"><COL style="WIDTH: 87px"><COL style="WIDTH: 69px"><COL style="WIDTH: 131px"><COL style="WIDTH: 129px"><COL style="WIDTH: 105px"><COL style="WIDTH: 73px"><COL style="WIDTH: 74px"></COLGROUP><TBODY><TR style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt; FONT-WEIGHT: bold"><TD> </TD><TD>A</TD><TD>B</TD><TD>C</TD><TD>D</TD><TD>E</TD><TD>F</TD><TD>G</TD><TD>H</TD><TD>I</TD></TR><TR style="HEIGHT: 70px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">1</TD><TD style="FONT-FAMILY: Cambria; FONT-WEIGHT: bold"> </TD><TD style="FONT-FAMILY: Cambria; FONT-WEIGHT: bold"> </TD><TD style="TEXT-ALIGN: center; FONT-FAMILY: Cambria; FONT-WEIGHT: bold">Percentage of swing (Cell "C3")
</TD><TD style="FONT-FAMILY: Cambria; FONT-WEIGHT: bold"> </TD><TD style="TEXT-ALIGN: center; FONT-WEIGHT: bold">Current swing high</TD><TD style="TEXT-ALIGN: center; FONT-WEIGHT: bold">Current swing low</TD><TD style="TEXT-ALIGN: center; FONT-WEIGHT: bold">Where -1 is a downswing and +1 is a upswing</TD><TD style="TEXT-ALIGN: center; FONT-WEIGHT: bold">New swing high</TD><TD style="TEXT-ALIGN: center; FONT-WEIGHT: bold">New swing low</TD></TR><TR style="HEIGHT: 18px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">2</TD><TD style="FONT-FAMILY: Cambria; FONT-SIZE: 10pt"> </TD><TD style="FONT-FAMILY: Cambria; FONT-SIZE: 10pt"> </TD><TD style="FONT-FAMILY: Cambria; FONT-SIZE: 10pt"> </TD><TD style="FONT-FAMILY: Cambria; FONT-SIZE: 10pt"> </TD><TD> </TD><TD> </TD><TD> </TD><TD> </TD><TD> </TD></TR><TR style="HEIGHT: 18px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">3</TD><TD style="FONT-FAMILY: Cambria; FONT-SIZE: 10pt"> </TD><TD style="FONT-FAMILY: Cambria; FONT-SIZE: 10pt"> </TD><TD style="TEXT-ALIGN: right; FONT-FAMILY: Cambria; FONT-SIZE: 10pt">0.05</TD><TD style="FONT-FAMILY: Cambria; FONT-SIZE: 10pt"> </TD><TD> </TD><TD> </TD><TD> </TD><TD> </TD><TD> </TD></TR><TR style="HEIGHT: 18px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">4</TD><TD style="TEXT-ALIGN: center; FONT-FAMILY: Cambria; FONT-SIZE: 10pt; FONT-WEIGHT: bold">Date</TD><TD style="TEXT-ALIGN: center; FONT-FAMILY: Cambria; FONT-SIZE: 10pt; FONT-WEIGHT: bold">High</TD><TD style="TEXT-ALIGN: center; FONT-FAMILY: Cambria; FONT-SIZE: 10pt; FONT-WEIGHT: bold">Low</TD><TD style="TEXT-ALIGN: center; FONT-FAMILY: Cambria; FONT-SIZE: 10pt; FONT-WEIGHT: bold">Close</TD><TD> </TD><TD> </TD><TD> </TD><TD> </TD><TD> </TD></TR><TR style="HEIGHT: 18px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">5</TD><TD style="TEXT-ALIGN: right; FONT-FAMILY: Cambria; FONT-SIZE: 10pt">8/14/2009</TD><TD style="TEXT-ALIGN: right; FONT-FAMILY: Cambria; FONT-SIZE: 10pt">14.98</TD><TD style="TEXT-ALIGN: right; FONT-FAMILY: Cambria; FONT-SIZE: 10pt">14.45</TD><TD style="TEXT-ALIGN: right; FONT-FAMILY: Cambria; FONT-SIZE: 10pt">14.89</TD><TD> </TD><TD> </TD><TD> </TD><TD> </TD><TD> </TD></TR><TR style="HEIGHT: 18px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">6</TD><TD style="TEXT-ALIGN: right; FONT-FAMILY: Cambria; FONT-SIZE: 10pt">8/17/2009</TD><TD style="TEXT-ALIGN: right; FONT-FAMILY: Cambria; FONT-SIZE: 10pt">14.65</TD><TD style="TEXT-ALIGN: right; FONT-FAMILY: Cambria; FONT-SIZE: 10pt">14.05</TD><TD style="TEXT-ALIGN: right; FONT-FAMILY: Cambria; FONT-SIZE: 10pt">14.13</TD><TD> </TD><TD> </TD><TD> </TD><TD> </TD><TD> </TD></TR><TR style="HEIGHT: 18px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">7</TD><TD style="TEXT-ALIGN: right; FONT-FAMILY: Cambria; FONT-SIZE: 10pt">8/18/2009</TD><TD style="TEXT-ALIGN: right; FONT-FAMILY: Cambria; FONT-SIZE: 10pt">14.25</TD><TD style="TEXT-ALIGN: right; FONT-FAMILY: Cambria; FONT-SIZE: 10pt">13.94</TD><TD style="TEXT-ALIGN: right; FONT-FAMILY: Cambria; FONT-SIZE: 10pt">14.11</TD><TD> </TD><TD> </TD><TD> </TD><TD> </TD><TD> </TD></TR><TR style="HEIGHT: 18px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">8</TD><TD style="TEXT-ALIGN: right; FONT-FAMILY: Cambria; FONT-SIZE: 10pt">8/19/2009</TD><TD style="TEXT-ALIGN: right; FONT-FAMILY: Cambria; FONT-SIZE: 10pt">14.09</TD><TD style="TEXT-ALIGN: right; FONT-FAMILY: Cambria; FONT-SIZE: 10pt">13.72</TD><TD style="TEXT-ALIGN: right; FONT-FAMILY: Cambria; FONT-SIZE: 10pt">14.04</TD><TD> </TD><TD> </TD><TD> </TD><TD> </TD><TD> </TD></TR><TR style="HEIGHT: 18px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">9</TD><TD style="TEXT-ALIGN: right; FONT-FAMILY: Cambria; FONT-SIZE: 10pt">8/20/2009</TD><TD style="TEXT-ALIGN: right; FONT-FAMILY: Cambria; FONT-SIZE: 10pt">14.34</TD><TD style="TEXT-ALIGN: right; FONT-FAMILY: Cambria; FONT-SIZE: 10pt">13.9</TD><TD style="TEXT-ALIGN: right; FONT-FAMILY: Cambria; FONT-SIZE: 10pt">14.34</TD><TD> </TD><TD> </TD><TD> </TD><TD> </TD><TD> </TD></TR><TR style="HEIGHT: 18px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">10</TD><TD style="TEXT-ALIGN: right; FONT-FAMILY: Cambria; FONT-SIZE: 10pt">8/21/2009</TD><TD style="TEXT-ALIGN: right; FONT-FAMILY: Cambria; FONT-SIZE: 10pt">14.7</TD><TD style="TEXT-ALIGN: right; FONT-FAMILY: Cambria; FONT-SIZE: 10pt">14.2</TD><TD style="TEXT-ALIGN: right; FONT-FAMILY: Cambria; FONT-SIZE: 10pt">14.64</TD><TD> </TD><TD> </TD><TD> </TD><TD> </TD><TD> </TD></TR><TR style="HEIGHT: 18px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">11</TD><TD style="TEXT-ALIGN: right; FONT-FAMILY: Cambria; FONT-SIZE: 10pt">8/24/2009</TD><TD style="TEXT-ALIGN: right; FONT-FAMILY: Cambria; FONT-SIZE: 10pt">15.04</TD><TD style="TEXT-ALIGN: right; FONT-FAMILY: Cambria; FONT-SIZE: 10pt">14.57</TD><TD style="TEXT-ALIGN: right; FONT-FAMILY: Cambria; FONT-SIZE: 10pt">14.79</TD><TD> </TD><TD> </TD><TD> </TD><TD> </TD><TD> </TD></TR><TR style="HEIGHT: 18px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">12</TD><TD style="TEXT-ALIGN: right; FONT-FAMILY: Cambria; FONT-SIZE: 10pt">8/25/2009</TD><TD style="TEXT-ALIGN: right; FONT-FAMILY: Cambria; FONT-SIZE: 10pt">15.18</TD><TD style="TEXT-ALIGN: right; FONT-FAMILY: Cambria; FONT-SIZE: 10pt">14.65</TD><TD style="TEXT-ALIGN: right; FONT-FAMILY: Cambria; FONT-SIZE: 10pt">14.98</TD><TD> </TD><TD> </TD><TD> </TD><TD> </TD><TD> </TD></TR><TR style="HEIGHT: 18px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">13</TD><TD style="TEXT-ALIGN: right; FONT-FAMILY: Cambria; FONT-SIZE: 10pt">8/26/2009</TD><TD style="TEXT-ALIGN: right; FONT-FAMILY: Cambria; FONT-SIZE: 10pt">15.13</TD><TD style="TEXT-ALIGN: right; FONT-FAMILY: Cambria; FONT-SIZE: 10pt">14.75</TD><TD style="TEXT-ALIGN: right; FONT-FAMILY: Cambria; FONT-SIZE: 10pt">15.01</TD><TD> </TD><TD> </TD><TD> </TD><TD> </TD><TD> </TD></TR><TR style="HEIGHT: 18px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">14</TD><TD style="TEXT-ALIGN: right; FONT-FAMILY: Cambria; FONT-SIZE: 10pt">8/27/2009</TD><TD style="TEXT-ALIGN: right; FONT-FAMILY: Cambria; FONT-SIZE: 10pt">15.15</TD><TD style="TEXT-ALIGN: right; FONT-FAMILY: Cambria; FONT-SIZE: 10pt">14.56</TD><TD style="TEXT-ALIGN: right; FONT-FAMILY: Cambria; FONT-SIZE: 10pt">15.08</TD><TD> </TD><TD> </TD><TD> </TD><TD> </TD><TD> </TD></TR><TR style="HEIGHT: 18px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">15</TD><TD style="TEXT-ALIGN: right; FONT-FAMILY: Cambria; FONT-SIZE: 10pt">8/28/2009</TD><TD style="TEXT-ALIGN: right; FONT-FAMILY: Cambria; FONT-SIZE: 10pt">15.38</TD><TD style="TEXT-ALIGN: right; FONT-FAMILY: Cambria; FONT-SIZE: 10pt">15.04</TD><TD style="TEXT-ALIGN: right; FONT-FAMILY: Cambria; FONT-SIZE: 10pt">15.2</TD><TD> </TD><TD> </TD><TD> </TD><TD> </TD><TD> </TD></TR><TR style="HEIGHT: 18px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">16</TD><TD style="TEXT-ALIGN: right; FONT-FAMILY: Cambria; FONT-SIZE: 10pt">8/31/2009</TD><TD style="TEXT-ALIGN: right; FONT-FAMILY: Cambria; FONT-SIZE: 10pt">15.02</TD><TD style="TEXT-ALIGN: right; FONT-FAMILY: Cambria; FONT-SIZE: 10pt">14.49</TD><TD style="TEXT-ALIGN: right; FONT-FAMILY: Cambria; FONT-SIZE: 10pt">14.69</TD><TD> </TD><TD> </TD><TD> </TD><TD> </TD><TD> </TD></TR><TR style="HEIGHT: 18px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">17</TD><TD style="TEXT-ALIGN: right; FONT-FAMILY: Cambria; FONT-SIZE: 10pt">9/1/2009</TD><TD style="TEXT-ALIGN: right; FONT-FAMILY: Cambria; FONT-SIZE: 10pt">15.02</TD><TD style="TEXT-ALIGN: right; FONT-FAMILY: Cambria; FONT-SIZE: 10pt">14.28</TD><TD style="TEXT-ALIGN: right; FONT-FAMILY: Cambria; FONT-SIZE: 10pt">14.4</TD><TD> </TD><TD> </TD><TD> </TD><TD> </TD><TD> </TD></TR><TR style="HEIGHT: 18px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">18</TD><TD style="TEXT-ALIGN: right; FONT-FAMILY: Cambria; FONT-SIZE: 10pt">9/2/2009</TD><TD style="TEXT-ALIGN: right; FONT-FAMILY: Cambria; FONT-SIZE: 10pt">14.79</TD><TD style="TEXT-ALIGN: right; FONT-FAMILY: Cambria; FONT-SIZE: 10pt">14.26</TD><TD style="TEXT-ALIGN: right; FONT-FAMILY: Cambria; FONT-SIZE: 10pt">14.57</TD><TD> </TD><TD> </TD><TD> </TD><TD> </TD><TD> </TD></TR><TR style="HEIGHT: 18px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">19</TD><TD style="TEXT-ALIGN: right; FONT-FAMILY: Cambria; FONT-SIZE: 10pt">9/3/2009</TD><TD style="TEXT-ALIGN: right; FONT-FAMILY: Cambria; FONT-SIZE: 10pt">14.76</TD><TD style="TEXT-ALIGN: right; FONT-FAMILY: Cambria; FONT-SIZE: 10pt">14.48</TD><TD style="TEXT-ALIGN: right; FONT-FAMILY: Cambria; FONT-SIZE: 10pt">14.74</TD><TD> </TD><TD> </TD><TD> </TD><TD> </TD><TD> </TD></TR><TR style="HEIGHT: 18px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">20</TD><TD style="TEXT-ALIGN: right; FONT-FAMILY: Cambria; FONT-SIZE: 10pt">9/4/2009</TD><TD style="TEXT-ALIGN: right; FONT-FAMILY: Cambria; FONT-SIZE: 10pt">15.31</TD><TD style="TEXT-ALIGN: right; FONT-FAMILY: Cambria; FONT-SIZE: 10pt">14.74</TD><TD style="TEXT-ALIGN: right; FONT-FAMILY: Cambria; FONT-SIZE: 10pt">15.3</TD><TD> </TD><TD> </TD><TD> </TD><TD> </TD><TD> </TD></TR><TR style="HEIGHT: 18px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">21</TD><TD style="TEXT-ALIGN: right; FONT-FAMILY: Cambria; FONT-SIZE: 10pt">9/8/2009</TD><TD style="TEXT-ALIGN: right; FONT-FAMILY: Cambria; FONT-SIZE: 10pt">15.53</TD><TD style="TEXT-ALIGN: right; FONT-FAMILY: Cambria; FONT-SIZE: 10pt">15.19</TD><TD style="TEXT-ALIGN: right; FONT-FAMILY: Cambria; FONT-SIZE: 10pt">15.52</TD><TD> </TD><TD> </TD><TD> </TD><TD> </TD><TD> </TD></TR><TR style="HEIGHT: 18px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">22</TD><TD style="TEXT-ALIGN: right; FONT-FAMILY: Cambria; FONT-SIZE: 10pt">9/9/2009</TD><TD style="TEXT-ALIGN: right; FONT-FAMILY: Cambria; FONT-SIZE: 10pt">15.97</TD><TD style="TEXT-ALIGN: right; FONT-FAMILY: Cambria; FONT-SIZE: 10pt">15.12</TD><TD style="TEXT-ALIGN: right; FONT-FAMILY: Cambria; FONT-SIZE: 10pt">15.86</TD><TD> </TD><TD> </TD><TD> </TD><TD> </TD><TD> </TD></TR><TR style="HEIGHT: 18px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">23</TD><TD style="TEXT-ALIGN: right; FONT-FAMILY: Cambria; FONT-SIZE: 10pt">9/10/2009</TD><TD style="TEXT-ALIGN: right; FONT-FAMILY: Cambria; FONT-SIZE: 10pt">16.22</TD><TD style="TEXT-ALIGN: right; FONT-FAMILY: Cambria; FONT-SIZE: 10pt">15.6</TD><TD style="TEXT-ALIGN: right; FONT-FAMILY: Cambria; FONT-SIZE: 10pt">16.15</TD><TD> </TD><TD> </TD><TD> </TD><TD> </TD><TD> </TD></TR><TR style="HEIGHT: 18px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">24</TD><TD style="TEXT-ALIGN: right; FONT-FAMILY: Cambria; FONT-SIZE: 10pt">9/11/2009</TD><TD style="TEXT-ALIGN: right; FONT-FAMILY: Cambria; FONT-SIZE: 10pt">17.17</TD><TD style="TEXT-ALIGN: right; FONT-FAMILY: Cambria; FONT-SIZE: 10pt">16.17</TD><TD style="TEXT-ALIGN: right; FONT-FAMILY: Cambria; FONT-SIZE: 10pt">17.04</TD><TD> </TD><TD> </TD><TD> </TD><TD> </TD><TD> </TD></TR><TR style="HEIGHT: 18px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">25</TD><TD style="TEXT-ALIGN: right; FONT-FAMILY: Cambria; FONT-SIZE: 10pt">9/14/2009</TD><TD style="TEXT-ALIGN: right; FONT-FAMILY: Cambria; FONT-SIZE: 10pt">17.13</TD><TD style="TEXT-ALIGN: right; FONT-FAMILY: Cambria; FONT-SIZE: 10pt">16.51</TD><TD style="TEXT-ALIGN: right; FONT-FAMILY: Cambria; FONT-SIZE: 10pt">16.95</TD><TD> </TD><TD> </TD><TD> </TD><TD> </TD><TD> </TD></TR><TR style="HEIGHT: 18px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">26</TD><TD style="TEXT-ALIGN: right; FONT-FAMILY: Cambria; FONT-SIZE: 10pt">9/15/2009</TD><TD style="TEXT-ALIGN: right; FONT-FAMILY: Cambria; FONT-SIZE: 10pt">17.27</TD><TD style="TEXT-ALIGN: right; FONT-FAMILY: Cambria; FONT-SIZE: 10pt">16.9</TD><TD style="TEXT-ALIGN: right; FONT-FAMILY: Cambria; FONT-SIZE: 10pt">17.09</TD><TD> </TD><TD> </TD><TD> </TD><TD> </TD><TD> </TD></TR><TR style="HEIGHT: 18px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">27</TD><TD style="TEXT-ALIGN: right; FONT-FAMILY: Cambria; FONT-SIZE: 10pt">9/16/2009</TD><TD style="TEXT-ALIGN: right; FONT-FAMILY: Cambria; FONT-SIZE: 10pt">17.22</TD><TD style="TEXT-ALIGN: right; FONT-FAMILY: Cambria; FONT-SIZE: 10pt">16.97</TD><TD style="TEXT-ALIGN: right; FONT-FAMILY: Cambria; FONT-SIZE: 10pt">17.22</TD><TD> </TD><TD> </TD><TD> </TD><TD> </TD><TD> </TD></TR><TR style="HEIGHT: 18px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">28</TD><TD style="TEXT-ALIGN: right; FONT-FAMILY: Cambria; FONT-SIZE: 10pt">9/17/2009</TD><TD style="TEXT-ALIGN: right; FONT-FAMILY: Cambria; FONT-SIZE: 10pt">17.45</TD><TD style="TEXT-ALIGN: right; FONT-FAMILY: Cambria; FONT-SIZE: 10pt">17.08</TD><TD style="TEXT-ALIGN: right; FONT-FAMILY: Cambria; FONT-SIZE: 10pt">17.18</TD><TD> </TD><TD> </TD><TD> </TD><TD> </TD><TD> </TD></TR><TR style="HEIGHT: 18px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">29</TD><TD style="TEXT-ALIGN: right; FONT-FAMILY: Cambria; FONT-SIZE: 10pt">9/18/2009</TD><TD style="TEXT-ALIGN: right; FONT-FAMILY: Cambria; FONT-SIZE: 10pt">17.43</TD><TD style="TEXT-ALIGN: right; FONT-FAMILY: Cambria; FONT-SIZE: 10pt">16.99</TD><TD style="TEXT-ALIGN: right; FONT-FAMILY: Cambria; FONT-SIZE: 10pt">17.16</TD><TD> </TD><TD> </TD><TD> </TD><TD> </TD><TD> </TD></TR><TR style="HEIGHT: 18px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">30</TD><TD style="TEXT-ALIGN: right; FONT-FAMILY: Cambria; FONT-SIZE: 10pt">9/21/2009</TD><TD style="TEXT-ALIGN: right; FONT-FAMILY: Cambria; FONT-SIZE: 10pt">17.35</TD><TD style="TEXT-ALIGN: right; FONT-FAMILY: Cambria; FONT-SIZE: 10pt">16.85</TD><TD style="TEXT-ALIGN: right; FONT-FAMILY: Cambria; FONT-SIZE: 10pt">17.11</TD><TD> </TD><TD> </TD><TD> </TD><TD> </TD><TD> </TD></TR></TBODY></TABLE>
Excel tables to the web >> http://www.excel-jeanie-html.de/index.php?f=1" target="_blank"> Excel Jeanie HTML 4
Sheet1
<TABLE style="BACKGROUND-COLOR: #ffffff; PADDING-LEFT: 2pt; PADDING-RIGHT: 2pt; FONT-FAMILY: Calibri,Arial; FONT-SIZE: 11pt" border=1 cellSpacing=0 cellPadding=0><COLGROUP><COL style="WIDTH: 30px; FONT-WEIGHT: bold"><COL style="WIDTH: 540px"></COLGROUP><TBODY><TR style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt; FONT-WEIGHT: bold"><TD> </TD><TD>F</TD></TR><TR style="HEIGHT: 18px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">10</TD><TD>Here are the formulas:</TD></TR><TR style="HEIGHT: 18px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">11</TD><TD> </TD></TR><TR style="HEIGHT: 18px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">12</TD><TD>E6 =B6 (the current swing high)</TD></TR><TR style="HEIGHT: 18px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">13</TD><TD>F6 =C6 (the current swing low)</TD></TR><TR style="HEIGHT: 18px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">14</TD><TD>G6 =IF(D6>(E6+F6),-1,1) (where -1 is a downswing and +1 is an up swing)</TD></TR><TR style="HEIGHT: 18px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">15</TD><TD> </TD></TR><TR style="HEIGHT: 18px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">16</TD><TD>Row 7 is the beginning of the repeated process. Row 7 can be copied down.</TD></TR><TR style="HEIGHT: 18px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">17</TD><TD> </TD></TR><TR style="HEIGHT: 18px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">18</TD><TD>E7 =IF($G6=-1#AND#B7>E6,B7,IF($G6=1,B7,E6)) (the new current low)</TD></TR><TR style="HEIGHT: 18px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">19</TD><TD>F7 =IF($G6=1#AND#C7<F6,C7,IF($G6=-1,C7,F6)) (the new current high)</TD></TR><TR style="HEIGHT: 18px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">20</TD><TD>G7 =IF($G6=-1,IF(C7<E7-$C$3*D7,1,$G6),IF(B7>F7+$C$3*D7,-1,$G6)) (test high or low)</TD></TR><TR style="HEIGHT: 18px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">21</TD><TD> </TD></TR><TR style="HEIGHT: 18px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">22</TD><TD> </TD></TR><TR style="HEIGHT: 18px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">23</TD><TD>H7 =IF($G7=1#AND#G6=-1,E7,H6) (new swing high)</TD></TR><TR style="HEIGHT: 18px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">24</TD><TD>I7 =IF($G7=-1#AND#G6=1,F7,I6)) (new swing low)</TD></TR></TBODY></TABLE>
Excel tables to the web >> http://www.excel-jeanie-html.de/index.php?f=1" target="_blank"> Excel Jeanie HTML 4
Is it possible that somebody can please show me where I'm going wrong here as I am a little confused with the #AND# in the formulas. I'm using Excell 2007 and I'm curious if these formulas were written for an earlier version.
I am trying to re-create a spreadsheet that is illustrated in a book that I am reading but I'm having troubles.
The book tells me to "put the minimum swing percentage value in cell C3(for example, 5% =.05) put the following formulas in the corresponding cells. Row 6 initializes the process."
Here are the formulas:
E6 =B6 (the current swing high)
F6 =C6 (the current swing low)
G6 =IF(D6>(E6+F6),-1,1) (where -1 is a downswing and +1 is an up swing)
Row 7 is the beginning of the repeated process. Row 7 can be copied down.
E7 =IF($G6=-1#AND#B7>E6,B7,IF($G6=1,B7,E6)) (the new current low)
F7 =IF($G6=1#AND#C7<F6,C7,IF($G6=-1,C7,F6)) p current new (the high)<> G7 =IF($G6=-1,IF(C7<E7-$C$3*D7,1,$G6),IF(B7>F7+$C$3*D7,-1,$G6)) (test high or low)
H7 =IF($G7=1#AND#G6=-1,E7,H6) (new swing high)
I7 =IF($G7=-1#AND#G6=1,F7,I6)) (new swing low)
This is all the formulas that the book shows.
If anyone could please explain the #AND# or rewrite the formulas for Excel 2007? It would be a great help. I also tried using the =IF((AND... but no luck.
Thank you in advance.
John
Sheet1
<TABLE style="BACKGROUND-COLOR: #ffffff; PADDING-LEFT: 2pt; PADDING-RIGHT: 2pt; FONT-FAMILY: Calibri,Arial; FONT-SIZE: 11pt" border=1 cellSpacing=0 cellPadding=0><COLGROUP><COL style="WIDTH: 30px; FONT-WEIGHT: bold"><COL style="WIDTH: 77px"><COL style="WIDTH: 69px"><COL style="WIDTH: 87px"><COL style="WIDTH: 69px"><COL style="WIDTH: 131px"><COL style="WIDTH: 129px"><COL style="WIDTH: 105px"><COL style="WIDTH: 73px"><COL style="WIDTH: 74px"></COLGROUP><TBODY><TR style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt; FONT-WEIGHT: bold"><TD> </TD><TD>A</TD><TD>B</TD><TD>C</TD><TD>D</TD><TD>E</TD><TD>F</TD><TD>G</TD><TD>H</TD><TD>I</TD></TR><TR style="HEIGHT: 70px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">1</TD><TD style="FONT-FAMILY: Cambria; FONT-WEIGHT: bold"> </TD><TD style="FONT-FAMILY: Cambria; FONT-WEIGHT: bold"> </TD><TD style="TEXT-ALIGN: center; FONT-FAMILY: Cambria; FONT-WEIGHT: bold">Percentage of swing (Cell "C3")
</TD><TD style="FONT-FAMILY: Cambria; FONT-WEIGHT: bold"> </TD><TD style="TEXT-ALIGN: center; FONT-WEIGHT: bold">Current swing high</TD><TD style="TEXT-ALIGN: center; FONT-WEIGHT: bold">Current swing low</TD><TD style="TEXT-ALIGN: center; FONT-WEIGHT: bold">Where -1 is a downswing and +1 is a upswing</TD><TD style="TEXT-ALIGN: center; FONT-WEIGHT: bold">New swing high</TD><TD style="TEXT-ALIGN: center; FONT-WEIGHT: bold">New swing low</TD></TR><TR style="HEIGHT: 18px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">2</TD><TD style="FONT-FAMILY: Cambria; FONT-SIZE: 10pt"> </TD><TD style="FONT-FAMILY: Cambria; FONT-SIZE: 10pt"> </TD><TD style="FONT-FAMILY: Cambria; FONT-SIZE: 10pt"> </TD><TD style="FONT-FAMILY: Cambria; FONT-SIZE: 10pt"> </TD><TD> </TD><TD> </TD><TD> </TD><TD> </TD><TD> </TD></TR><TR style="HEIGHT: 18px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">3</TD><TD style="FONT-FAMILY: Cambria; FONT-SIZE: 10pt"> </TD><TD style="FONT-FAMILY: Cambria; FONT-SIZE: 10pt"> </TD><TD style="TEXT-ALIGN: right; FONT-FAMILY: Cambria; FONT-SIZE: 10pt">0.05</TD><TD style="FONT-FAMILY: Cambria; FONT-SIZE: 10pt"> </TD><TD> </TD><TD> </TD><TD> </TD><TD> </TD><TD> </TD></TR><TR style="HEIGHT: 18px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">4</TD><TD style="TEXT-ALIGN: center; FONT-FAMILY: Cambria; FONT-SIZE: 10pt; FONT-WEIGHT: bold">Date</TD><TD style="TEXT-ALIGN: center; FONT-FAMILY: Cambria; FONT-SIZE: 10pt; FONT-WEIGHT: bold">High</TD><TD style="TEXT-ALIGN: center; FONT-FAMILY: Cambria; FONT-SIZE: 10pt; FONT-WEIGHT: bold">Low</TD><TD style="TEXT-ALIGN: center; FONT-FAMILY: Cambria; FONT-SIZE: 10pt; FONT-WEIGHT: bold">Close</TD><TD> </TD><TD> </TD><TD> </TD><TD> </TD><TD> </TD></TR><TR style="HEIGHT: 18px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">5</TD><TD style="TEXT-ALIGN: right; FONT-FAMILY: Cambria; FONT-SIZE: 10pt">8/14/2009</TD><TD style="TEXT-ALIGN: right; FONT-FAMILY: Cambria; FONT-SIZE: 10pt">14.98</TD><TD style="TEXT-ALIGN: right; FONT-FAMILY: Cambria; FONT-SIZE: 10pt">14.45</TD><TD style="TEXT-ALIGN: right; FONT-FAMILY: Cambria; FONT-SIZE: 10pt">14.89</TD><TD> </TD><TD> </TD><TD> </TD><TD> </TD><TD> </TD></TR><TR style="HEIGHT: 18px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">6</TD><TD style="TEXT-ALIGN: right; FONT-FAMILY: Cambria; FONT-SIZE: 10pt">8/17/2009</TD><TD style="TEXT-ALIGN: right; FONT-FAMILY: Cambria; FONT-SIZE: 10pt">14.65</TD><TD style="TEXT-ALIGN: right; FONT-FAMILY: Cambria; FONT-SIZE: 10pt">14.05</TD><TD style="TEXT-ALIGN: right; FONT-FAMILY: Cambria; FONT-SIZE: 10pt">14.13</TD><TD> </TD><TD> </TD><TD> </TD><TD> </TD><TD> </TD></TR><TR style="HEIGHT: 18px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">7</TD><TD style="TEXT-ALIGN: right; FONT-FAMILY: Cambria; FONT-SIZE: 10pt">8/18/2009</TD><TD style="TEXT-ALIGN: right; FONT-FAMILY: Cambria; FONT-SIZE: 10pt">14.25</TD><TD style="TEXT-ALIGN: right; FONT-FAMILY: Cambria; FONT-SIZE: 10pt">13.94</TD><TD style="TEXT-ALIGN: right; FONT-FAMILY: Cambria; FONT-SIZE: 10pt">14.11</TD><TD> </TD><TD> </TD><TD> </TD><TD> </TD><TD> </TD></TR><TR style="HEIGHT: 18px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">8</TD><TD style="TEXT-ALIGN: right; FONT-FAMILY: Cambria; FONT-SIZE: 10pt">8/19/2009</TD><TD style="TEXT-ALIGN: right; FONT-FAMILY: Cambria; FONT-SIZE: 10pt">14.09</TD><TD style="TEXT-ALIGN: right; FONT-FAMILY: Cambria; FONT-SIZE: 10pt">13.72</TD><TD style="TEXT-ALIGN: right; FONT-FAMILY: Cambria; FONT-SIZE: 10pt">14.04</TD><TD> </TD><TD> </TD><TD> </TD><TD> </TD><TD> </TD></TR><TR style="HEIGHT: 18px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">9</TD><TD style="TEXT-ALIGN: right; FONT-FAMILY: Cambria; FONT-SIZE: 10pt">8/20/2009</TD><TD style="TEXT-ALIGN: right; FONT-FAMILY: Cambria; FONT-SIZE: 10pt">14.34</TD><TD style="TEXT-ALIGN: right; FONT-FAMILY: Cambria; FONT-SIZE: 10pt">13.9</TD><TD style="TEXT-ALIGN: right; FONT-FAMILY: Cambria; FONT-SIZE: 10pt">14.34</TD><TD> </TD><TD> </TD><TD> </TD><TD> </TD><TD> </TD></TR><TR style="HEIGHT: 18px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">10</TD><TD style="TEXT-ALIGN: right; FONT-FAMILY: Cambria; FONT-SIZE: 10pt">8/21/2009</TD><TD style="TEXT-ALIGN: right; FONT-FAMILY: Cambria; FONT-SIZE: 10pt">14.7</TD><TD style="TEXT-ALIGN: right; FONT-FAMILY: Cambria; FONT-SIZE: 10pt">14.2</TD><TD style="TEXT-ALIGN: right; FONT-FAMILY: Cambria; FONT-SIZE: 10pt">14.64</TD><TD> </TD><TD> </TD><TD> </TD><TD> </TD><TD> </TD></TR><TR style="HEIGHT: 18px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">11</TD><TD style="TEXT-ALIGN: right; FONT-FAMILY: Cambria; FONT-SIZE: 10pt">8/24/2009</TD><TD style="TEXT-ALIGN: right; FONT-FAMILY: Cambria; FONT-SIZE: 10pt">15.04</TD><TD style="TEXT-ALIGN: right; FONT-FAMILY: Cambria; FONT-SIZE: 10pt">14.57</TD><TD style="TEXT-ALIGN: right; FONT-FAMILY: Cambria; FONT-SIZE: 10pt">14.79</TD><TD> </TD><TD> </TD><TD> </TD><TD> </TD><TD> </TD></TR><TR style="HEIGHT: 18px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">12</TD><TD style="TEXT-ALIGN: right; FONT-FAMILY: Cambria; FONT-SIZE: 10pt">8/25/2009</TD><TD style="TEXT-ALIGN: right; FONT-FAMILY: Cambria; FONT-SIZE: 10pt">15.18</TD><TD style="TEXT-ALIGN: right; FONT-FAMILY: Cambria; FONT-SIZE: 10pt">14.65</TD><TD style="TEXT-ALIGN: right; FONT-FAMILY: Cambria; FONT-SIZE: 10pt">14.98</TD><TD> </TD><TD> </TD><TD> </TD><TD> </TD><TD> </TD></TR><TR style="HEIGHT: 18px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">13</TD><TD style="TEXT-ALIGN: right; FONT-FAMILY: Cambria; FONT-SIZE: 10pt">8/26/2009</TD><TD style="TEXT-ALIGN: right; FONT-FAMILY: Cambria; FONT-SIZE: 10pt">15.13</TD><TD style="TEXT-ALIGN: right; FONT-FAMILY: Cambria; FONT-SIZE: 10pt">14.75</TD><TD style="TEXT-ALIGN: right; FONT-FAMILY: Cambria; FONT-SIZE: 10pt">15.01</TD><TD> </TD><TD> </TD><TD> </TD><TD> </TD><TD> </TD></TR><TR style="HEIGHT: 18px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">14</TD><TD style="TEXT-ALIGN: right; FONT-FAMILY: Cambria; FONT-SIZE: 10pt">8/27/2009</TD><TD style="TEXT-ALIGN: right; FONT-FAMILY: Cambria; FONT-SIZE: 10pt">15.15</TD><TD style="TEXT-ALIGN: right; FONT-FAMILY: Cambria; FONT-SIZE: 10pt">14.56</TD><TD style="TEXT-ALIGN: right; FONT-FAMILY: Cambria; FONT-SIZE: 10pt">15.08</TD><TD> </TD><TD> </TD><TD> </TD><TD> </TD><TD> </TD></TR><TR style="HEIGHT: 18px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">15</TD><TD style="TEXT-ALIGN: right; FONT-FAMILY: Cambria; FONT-SIZE: 10pt">8/28/2009</TD><TD style="TEXT-ALIGN: right; FONT-FAMILY: Cambria; FONT-SIZE: 10pt">15.38</TD><TD style="TEXT-ALIGN: right; FONT-FAMILY: Cambria; FONT-SIZE: 10pt">15.04</TD><TD style="TEXT-ALIGN: right; FONT-FAMILY: Cambria; FONT-SIZE: 10pt">15.2</TD><TD> </TD><TD> </TD><TD> </TD><TD> </TD><TD> </TD></TR><TR style="HEIGHT: 18px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">16</TD><TD style="TEXT-ALIGN: right; FONT-FAMILY: Cambria; FONT-SIZE: 10pt">8/31/2009</TD><TD style="TEXT-ALIGN: right; FONT-FAMILY: Cambria; FONT-SIZE: 10pt">15.02</TD><TD style="TEXT-ALIGN: right; FONT-FAMILY: Cambria; FONT-SIZE: 10pt">14.49</TD><TD style="TEXT-ALIGN: right; FONT-FAMILY: Cambria; FONT-SIZE: 10pt">14.69</TD><TD> </TD><TD> </TD><TD> </TD><TD> </TD><TD> </TD></TR><TR style="HEIGHT: 18px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">17</TD><TD style="TEXT-ALIGN: right; FONT-FAMILY: Cambria; FONT-SIZE: 10pt">9/1/2009</TD><TD style="TEXT-ALIGN: right; FONT-FAMILY: Cambria; FONT-SIZE: 10pt">15.02</TD><TD style="TEXT-ALIGN: right; FONT-FAMILY: Cambria; FONT-SIZE: 10pt">14.28</TD><TD style="TEXT-ALIGN: right; FONT-FAMILY: Cambria; FONT-SIZE: 10pt">14.4</TD><TD> </TD><TD> </TD><TD> </TD><TD> </TD><TD> </TD></TR><TR style="HEIGHT: 18px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">18</TD><TD style="TEXT-ALIGN: right; FONT-FAMILY: Cambria; FONT-SIZE: 10pt">9/2/2009</TD><TD style="TEXT-ALIGN: right; FONT-FAMILY: Cambria; FONT-SIZE: 10pt">14.79</TD><TD style="TEXT-ALIGN: right; FONT-FAMILY: Cambria; FONT-SIZE: 10pt">14.26</TD><TD style="TEXT-ALIGN: right; FONT-FAMILY: Cambria; FONT-SIZE: 10pt">14.57</TD><TD> </TD><TD> </TD><TD> </TD><TD> </TD><TD> </TD></TR><TR style="HEIGHT: 18px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">19</TD><TD style="TEXT-ALIGN: right; FONT-FAMILY: Cambria; FONT-SIZE: 10pt">9/3/2009</TD><TD style="TEXT-ALIGN: right; FONT-FAMILY: Cambria; FONT-SIZE: 10pt">14.76</TD><TD style="TEXT-ALIGN: right; FONT-FAMILY: Cambria; FONT-SIZE: 10pt">14.48</TD><TD style="TEXT-ALIGN: right; FONT-FAMILY: Cambria; FONT-SIZE: 10pt">14.74</TD><TD> </TD><TD> </TD><TD> </TD><TD> </TD><TD> </TD></TR><TR style="HEIGHT: 18px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">20</TD><TD style="TEXT-ALIGN: right; FONT-FAMILY: Cambria; FONT-SIZE: 10pt">9/4/2009</TD><TD style="TEXT-ALIGN: right; FONT-FAMILY: Cambria; FONT-SIZE: 10pt">15.31</TD><TD style="TEXT-ALIGN: right; FONT-FAMILY: Cambria; FONT-SIZE: 10pt">14.74</TD><TD style="TEXT-ALIGN: right; FONT-FAMILY: Cambria; FONT-SIZE: 10pt">15.3</TD><TD> </TD><TD> </TD><TD> </TD><TD> </TD><TD> </TD></TR><TR style="HEIGHT: 18px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">21</TD><TD style="TEXT-ALIGN: right; FONT-FAMILY: Cambria; FONT-SIZE: 10pt">9/8/2009</TD><TD style="TEXT-ALIGN: right; FONT-FAMILY: Cambria; FONT-SIZE: 10pt">15.53</TD><TD style="TEXT-ALIGN: right; FONT-FAMILY: Cambria; FONT-SIZE: 10pt">15.19</TD><TD style="TEXT-ALIGN: right; FONT-FAMILY: Cambria; FONT-SIZE: 10pt">15.52</TD><TD> </TD><TD> </TD><TD> </TD><TD> </TD><TD> </TD></TR><TR style="HEIGHT: 18px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">22</TD><TD style="TEXT-ALIGN: right; FONT-FAMILY: Cambria; FONT-SIZE: 10pt">9/9/2009</TD><TD style="TEXT-ALIGN: right; FONT-FAMILY: Cambria; FONT-SIZE: 10pt">15.97</TD><TD style="TEXT-ALIGN: right; FONT-FAMILY: Cambria; FONT-SIZE: 10pt">15.12</TD><TD style="TEXT-ALIGN: right; FONT-FAMILY: Cambria; FONT-SIZE: 10pt">15.86</TD><TD> </TD><TD> </TD><TD> </TD><TD> </TD><TD> </TD></TR><TR style="HEIGHT: 18px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">23</TD><TD style="TEXT-ALIGN: right; FONT-FAMILY: Cambria; FONT-SIZE: 10pt">9/10/2009</TD><TD style="TEXT-ALIGN: right; FONT-FAMILY: Cambria; FONT-SIZE: 10pt">16.22</TD><TD style="TEXT-ALIGN: right; FONT-FAMILY: Cambria; FONT-SIZE: 10pt">15.6</TD><TD style="TEXT-ALIGN: right; FONT-FAMILY: Cambria; FONT-SIZE: 10pt">16.15</TD><TD> </TD><TD> </TD><TD> </TD><TD> </TD><TD> </TD></TR><TR style="HEIGHT: 18px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">24</TD><TD style="TEXT-ALIGN: right; FONT-FAMILY: Cambria; FONT-SIZE: 10pt">9/11/2009</TD><TD style="TEXT-ALIGN: right; FONT-FAMILY: Cambria; FONT-SIZE: 10pt">17.17</TD><TD style="TEXT-ALIGN: right; FONT-FAMILY: Cambria; FONT-SIZE: 10pt">16.17</TD><TD style="TEXT-ALIGN: right; FONT-FAMILY: Cambria; FONT-SIZE: 10pt">17.04</TD><TD> </TD><TD> </TD><TD> </TD><TD> </TD><TD> </TD></TR><TR style="HEIGHT: 18px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">25</TD><TD style="TEXT-ALIGN: right; FONT-FAMILY: Cambria; FONT-SIZE: 10pt">9/14/2009</TD><TD style="TEXT-ALIGN: right; FONT-FAMILY: Cambria; FONT-SIZE: 10pt">17.13</TD><TD style="TEXT-ALIGN: right; FONT-FAMILY: Cambria; FONT-SIZE: 10pt">16.51</TD><TD style="TEXT-ALIGN: right; FONT-FAMILY: Cambria; FONT-SIZE: 10pt">16.95</TD><TD> </TD><TD> </TD><TD> </TD><TD> </TD><TD> </TD></TR><TR style="HEIGHT: 18px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">26</TD><TD style="TEXT-ALIGN: right; FONT-FAMILY: Cambria; FONT-SIZE: 10pt">9/15/2009</TD><TD style="TEXT-ALIGN: right; FONT-FAMILY: Cambria; FONT-SIZE: 10pt">17.27</TD><TD style="TEXT-ALIGN: right; FONT-FAMILY: Cambria; FONT-SIZE: 10pt">16.9</TD><TD style="TEXT-ALIGN: right; FONT-FAMILY: Cambria; FONT-SIZE: 10pt">17.09</TD><TD> </TD><TD> </TD><TD> </TD><TD> </TD><TD> </TD></TR><TR style="HEIGHT: 18px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">27</TD><TD style="TEXT-ALIGN: right; FONT-FAMILY: Cambria; FONT-SIZE: 10pt">9/16/2009</TD><TD style="TEXT-ALIGN: right; FONT-FAMILY: Cambria; FONT-SIZE: 10pt">17.22</TD><TD style="TEXT-ALIGN: right; FONT-FAMILY: Cambria; FONT-SIZE: 10pt">16.97</TD><TD style="TEXT-ALIGN: right; FONT-FAMILY: Cambria; FONT-SIZE: 10pt">17.22</TD><TD> </TD><TD> </TD><TD> </TD><TD> </TD><TD> </TD></TR><TR style="HEIGHT: 18px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">28</TD><TD style="TEXT-ALIGN: right; FONT-FAMILY: Cambria; FONT-SIZE: 10pt">9/17/2009</TD><TD style="TEXT-ALIGN: right; FONT-FAMILY: Cambria; FONT-SIZE: 10pt">17.45</TD><TD style="TEXT-ALIGN: right; FONT-FAMILY: Cambria; FONT-SIZE: 10pt">17.08</TD><TD style="TEXT-ALIGN: right; FONT-FAMILY: Cambria; FONT-SIZE: 10pt">17.18</TD><TD> </TD><TD> </TD><TD> </TD><TD> </TD><TD> </TD></TR><TR style="HEIGHT: 18px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">29</TD><TD style="TEXT-ALIGN: right; FONT-FAMILY: Cambria; FONT-SIZE: 10pt">9/18/2009</TD><TD style="TEXT-ALIGN: right; FONT-FAMILY: Cambria; FONT-SIZE: 10pt">17.43</TD><TD style="TEXT-ALIGN: right; FONT-FAMILY: Cambria; FONT-SIZE: 10pt">16.99</TD><TD style="TEXT-ALIGN: right; FONT-FAMILY: Cambria; FONT-SIZE: 10pt">17.16</TD><TD> </TD><TD> </TD><TD> </TD><TD> </TD><TD> </TD></TR><TR style="HEIGHT: 18px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">30</TD><TD style="TEXT-ALIGN: right; FONT-FAMILY: Cambria; FONT-SIZE: 10pt">9/21/2009</TD><TD style="TEXT-ALIGN: right; FONT-FAMILY: Cambria; FONT-SIZE: 10pt">17.35</TD><TD style="TEXT-ALIGN: right; FONT-FAMILY: Cambria; FONT-SIZE: 10pt">16.85</TD><TD style="TEXT-ALIGN: right; FONT-FAMILY: Cambria; FONT-SIZE: 10pt">17.11</TD><TD> </TD><TD> </TD><TD> </TD><TD> </TD><TD> </TD></TR></TBODY></TABLE>
Excel tables to the web >> http://www.excel-jeanie-html.de/index.php?f=1" target="_blank"> Excel Jeanie HTML 4
Sheet1
<TABLE style="BACKGROUND-COLOR: #ffffff; PADDING-LEFT: 2pt; PADDING-RIGHT: 2pt; FONT-FAMILY: Calibri,Arial; FONT-SIZE: 11pt" border=1 cellSpacing=0 cellPadding=0><COLGROUP><COL style="WIDTH: 30px; FONT-WEIGHT: bold"><COL style="WIDTH: 540px"></COLGROUP><TBODY><TR style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt; FONT-WEIGHT: bold"><TD> </TD><TD>F</TD></TR><TR style="HEIGHT: 18px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">10</TD><TD>Here are the formulas:</TD></TR><TR style="HEIGHT: 18px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">11</TD><TD> </TD></TR><TR style="HEIGHT: 18px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">12</TD><TD>E6 =B6 (the current swing high)</TD></TR><TR style="HEIGHT: 18px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">13</TD><TD>F6 =C6 (the current swing low)</TD></TR><TR style="HEIGHT: 18px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">14</TD><TD>G6 =IF(D6>(E6+F6),-1,1) (where -1 is a downswing and +1 is an up swing)</TD></TR><TR style="HEIGHT: 18px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">15</TD><TD> </TD></TR><TR style="HEIGHT: 18px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">16</TD><TD>Row 7 is the beginning of the repeated process. Row 7 can be copied down.</TD></TR><TR style="HEIGHT: 18px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">17</TD><TD> </TD></TR><TR style="HEIGHT: 18px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">18</TD><TD>E7 =IF($G6=-1#AND#B7>E6,B7,IF($G6=1,B7,E6)) (the new current low)</TD></TR><TR style="HEIGHT: 18px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">19</TD><TD>F7 =IF($G6=1#AND#C7<F6,C7,IF($G6=-1,C7,F6)) (the new current high)</TD></TR><TR style="HEIGHT: 18px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">20</TD><TD>G7 =IF($G6=-1,IF(C7<E7-$C$3*D7,1,$G6),IF(B7>F7+$C$3*D7,-1,$G6)) (test high or low)</TD></TR><TR style="HEIGHT: 18px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">21</TD><TD> </TD></TR><TR style="HEIGHT: 18px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">22</TD><TD> </TD></TR><TR style="HEIGHT: 18px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">23</TD><TD>H7 =IF($G7=1#AND#G6=-1,E7,H6) (new swing high)</TD></TR><TR style="HEIGHT: 18px"><TD style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">24</TD><TD>I7 =IF($G7=-1#AND#G6=1,F7,I6)) (new swing low)</TD></TR></TBODY></TABLE>
Excel tables to the web >> http://www.excel-jeanie-html.de/index.php?f=1" target="_blank"> Excel Jeanie HTML 4