Dharmesh Patel
New Member
- Joined
- May 12, 2009
- Messages
- 25
Hi I have a dataset from a query as seen below
<TABLE style="WIDTH: 287pt; BORDER-COLLAPSE: collapse" border=0 cellSpacing=0 cellPadding=0 width=381><COLGROUP><COL style="WIDTH: 76pt; mso-width-source: userset; mso-width-alt: 3693" width=101><COL style="WIDTH: 75pt; mso-width-source: userset; mso-width-alt: 3657" width=100><COL style="WIDTH: 31pt; mso-width-source: userset; mso-width-alt: 1499" span=2 width=41><COL style="WIDTH: 74pt; mso-width-source: userset; mso-width-alt: 3584" width=98><TBODY><TR style="HEIGHT: 15.75pt" height=21><TD style="BORDER-BOTTOM: #d4d0c8; BORDER-LEFT: windowtext 1pt solid; BACKGROUND-COLOR: silver; WIDTH: 76pt; HEIGHT: 15.75pt; BORDER-TOP: windowtext 1pt solid; BORDER-RIGHT: black 0.5pt solid" class=xl84 height=21 width=101>CentreNumber</TD><TD style="BORDER-BOTTOM: #d4d0c8; BORDER-LEFT: black; BACKGROUND-COLOR: silver; WIDTH: 75pt; BORDER-TOP: windowtext 1pt solid; BORDER-RIGHT: black 0.5pt solid" class=xl85 width=100>NumObsGroup</TD><TD style="BORDER-BOTTOM: #d4d0c8; BORDER-LEFT: black; BACKGROUND-COLOR: silver; WIDTH: 31pt; BORDER-TOP: windowtext 1pt solid; BORDER-RIGHT: black 0.5pt solid" class=xl85 width=41>Tours</TD><TD style="BORDER-BOTTOM: #d4d0c8; BORDER-LEFT: black; BACKGROUND-COLOR: silver; WIDTH: 31pt; BORDER-TOP: windowtext 1pt solid; BORDER-RIGHT: black 0.5pt solid" class=xl85 width=41>Deals</TD><TD style="BORDER-BOTTOM: #d4d0c8; BORDER-LEFT: black; BACKGROUND-COLOR: silver; WIDTH: 74pt; BORDER-TOP: windowtext 1pt solid; BORDER-RIGHT: windowtext 1pt solid" class=xl86 width=98>Enough Deals?</TD></TR><TR style="HEIGHT: 15pt" height=20><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: windowtext 1pt solid; BACKGROUND-COLOR: transparent; WIDTH: 76pt; HEIGHT: 15pt; BORDER-TOP: windowtext 1pt solid; BORDER-RIGHT: silver 0.5pt solid" class=xl76 height=20 width=101>1</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 75pt; BORDER-TOP: windowtext 1pt solid; BORDER-RIGHT: silver 0.5pt solid" class=xl77 width=100>5</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 31pt; BORDER-TOP: windowtext 1pt solid; BORDER-RIGHT: silver 0.5pt solid" class=xl77 width=41>5</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 31pt; BORDER-TOP: windowtext 1pt solid; BORDER-RIGHT: silver 0.5pt solid" class=xl77 width=41>1</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 74pt; BORDER-TOP: windowtext 1pt solid; BORDER-RIGHT: windowtext 1pt solid" class=xl78 width=98>0</TD></TR><TR style="HEIGHT: 15pt" height=20><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: windowtext 1pt solid; BACKGROUND-COLOR: transparent; WIDTH: 76pt; HEIGHT: 15pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl79 height=20 width=101>1</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 75pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl75 width=100>10</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 31pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl75 width=41>10</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 31pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl75 width=41>2</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 74pt; BORDER-TOP: silver; BORDER-RIGHT: windowtext 1pt solid" class=xl80 width=98>0</TD></TR><TR style="HEIGHT: 15pt" height=20><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: windowtext 1pt solid; BACKGROUND-COLOR: transparent; WIDTH: 76pt; HEIGHT: 15pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl79 height=20 width=101>1</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 75pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl75 width=100>15</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 31pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl75 width=41>15</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 31pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl75 width=41>2</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 74pt; BORDER-TOP: silver; BORDER-RIGHT: windowtext 1pt solid" class=xl80 width=98>0</TD></TR><TR style="HEIGHT: 15pt" height=20><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: windowtext 1pt solid; BACKGROUND-COLOR: transparent; WIDTH: 76pt; HEIGHT: 15pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl79 height=20 width=101>1</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 75pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl75 width=100>20</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 31pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl75 width=41>20</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 31pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl75 width=41>6</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 74pt; BORDER-TOP: silver; BORDER-RIGHT: windowtext 1pt solid" class=xl80 width=98>0</TD></TR><TR style="HEIGHT: 15pt" height=20><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: windowtext 1pt solid; BACKGROUND-COLOR: transparent; WIDTH: 76pt; HEIGHT: 15pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl79 height=20 width=101>1</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 75pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl75 width=100>25</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 31pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl75 width=41>25</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 31pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl75 width=41>6</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 74pt; BORDER-TOP: silver; BORDER-RIGHT: windowtext 1pt solid" class=xl80 width=98>0</TD></TR><TR style="HEIGHT: 15pt" height=20><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: windowtext 1pt solid; BACKGROUND-COLOR: transparent; WIDTH: 76pt; HEIGHT: 15pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl79 height=20 width=101>1</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 75pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl75 width=100>30</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 31pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl75 width=41>30</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 31pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl75 width=41>8</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 74pt; BORDER-TOP: silver; BORDER-RIGHT: windowtext 1pt solid" class=xl80 width=98>0</TD></TR><TR style="HEIGHT: 15pt" height=20><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: windowtext 1pt solid; BACKGROUND-COLOR: transparent; WIDTH: 76pt; HEIGHT: 15pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl79 height=20 width=101>1</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 75pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl75 width=100>35</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 31pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl75 width=41>35</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 31pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl75 width=41>10</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 74pt; BORDER-TOP: silver; BORDER-RIGHT: windowtext 1pt solid" class=xl80 width=98>1</TD></TR><TR style="HEIGHT: 15.75pt" height=21><TD style="BORDER-BOTTOM: windowtext 1pt solid; BORDER-LEFT: windowtext 1pt solid; BACKGROUND-COLOR: transparent; WIDTH: 76pt; HEIGHT: 15.75pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl81 height=21 width=101>1</TD><TD style="BORDER-BOTTOM: windowtext 1pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 75pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl82 width=100>40</TD><TD style="BORDER-BOTTOM: windowtext 1pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 31pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl82 width=41>40</TD><TD style="BORDER-BOTTOM: windowtext 1pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 31pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl82 width=41>10</TD><TD style="BORDER-BOTTOM: windowtext 1pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 74pt; BORDER-TOP: silver; BORDER-RIGHT: windowtext 1pt solid" class=xl83 width=98>1</TD></TR><TR style="HEIGHT: 15pt" height=20><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: windowtext 1pt solid; BACKGROUND-COLOR: transparent; WIDTH: 76pt; HEIGHT: 15pt; BORDER-TOP: windowtext; BORDER-RIGHT: silver 0.5pt solid" class=xl76 height=20 width=101>3</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 75pt; BORDER-TOP: windowtext; BORDER-RIGHT: silver 0.5pt solid" class=xl77 width=100>5</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 31pt; BORDER-TOP: windowtext; BORDER-RIGHT: silver 0.5pt solid" class=xl77 width=41>5</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 31pt; BORDER-TOP: windowtext; BORDER-RIGHT: silver 0.5pt solid" class=xl77 width=41>0</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 74pt; BORDER-TOP: windowtext; BORDER-RIGHT: windowtext 1pt solid" class=xl78 width=98>0</TD></TR><TR style="HEIGHT: 15pt" height=20><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: windowtext 1pt solid; BACKGROUND-COLOR: transparent; WIDTH: 76pt; HEIGHT: 15pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl79 height=20 width=101>3</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 75pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl75 width=100>10</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 31pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl75 width=41>10</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 31pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl75 width=41>1</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 74pt; BORDER-TOP: silver; BORDER-RIGHT: windowtext 1pt solid" class=xl80 width=98>0</TD></TR><TR style="HEIGHT: 15pt" height=20><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: windowtext 1pt solid; BACKGROUND-COLOR: transparent; WIDTH: 76pt; HEIGHT: 15pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl79 height=20 width=101>3</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 75pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl75 width=100>15</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 31pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl75 width=41>15</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 31pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl75 width=41>1</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 74pt; BORDER-TOP: silver; BORDER-RIGHT: windowtext 1pt solid" class=xl80 width=98>0</TD></TR><TR style="HEIGHT: 15pt" height=20><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: windowtext 1pt solid; BACKGROUND-COLOR: transparent; WIDTH: 76pt; HEIGHT: 15pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl79 height=20 width=101>3</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 75pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl75 width=100>20</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 31pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl75 width=41>20</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 31pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl75 width=41>1</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 74pt; BORDER-TOP: silver; BORDER-RIGHT: windowtext 1pt solid" class=xl80 width=98>0</TD></TR><TR style="HEIGHT: 15pt" height=20><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: windowtext 1pt solid; BACKGROUND-COLOR: transparent; WIDTH: 76pt; HEIGHT: 15pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl79 height=20 width=101>3</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 75pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl75 width=100>25</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 31pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl75 width=41>25</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 31pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl75 width=41>1</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 74pt; BORDER-TOP: silver; BORDER-RIGHT: windowtext 1pt solid" class=xl80 width=98>0</TD></TR><TR style="HEIGHT: 15pt" height=20><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: windowtext 1pt solid; BACKGROUND-COLOR: transparent; WIDTH: 76pt; HEIGHT: 15pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl79 height=20 width=101>3</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 75pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl75 width=100>30</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 31pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl75 width=41>30</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 31pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl75 width=41>1</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 74pt; BORDER-TOP: silver; BORDER-RIGHT: windowtext 1pt solid" class=xl80 width=98>0</TD></TR><TR style="HEIGHT: 15pt" height=20><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: windowtext 1pt solid; BACKGROUND-COLOR: transparent; WIDTH: 76pt; HEIGHT: 15pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl79 height=20 width=101>3</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 75pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl75 width=100>35</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 31pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl75 width=41>35</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 31pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl75 width=41>1</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 74pt; BORDER-TOP: silver; BORDER-RIGHT: windowtext 1pt solid" class=xl80 width=98>0</TD></TR><TR style="HEIGHT: 15.75pt" height=21><TD style="BORDER-BOTTOM: windowtext 1pt solid; BORDER-LEFT: windowtext 1pt solid; BACKGROUND-COLOR: transparent; WIDTH: 76pt; HEIGHT: 15.75pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl81 height=21 width=101>3</TD><TD style="BORDER-BOTTOM: windowtext 1pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 75pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl82 width=100>40</TD><TD style="BORDER-BOTTOM: windowtext 1pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 31pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl82 width=41>40</TD><TD style="BORDER-BOTTOM: windowtext 1pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 31pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl82 width=41>1</TD><TD style="BORDER-BOTTOM: windowtext 1pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 74pt; BORDER-TOP: silver; BORDER-RIGHT: windowtext 1pt solid" class=xl83 width=98>0</TD></TR><TR style="HEIGHT: 15pt" height=20><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: windowtext 1pt solid; BACKGROUND-COLOR: transparent; WIDTH: 76pt; HEIGHT: 15pt; BORDER-TOP: windowtext; BORDER-RIGHT: silver 0.5pt solid" class=xl76 height=20 width=101>5</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 75pt; BORDER-TOP: windowtext; BORDER-RIGHT: silver 0.5pt solid" class=xl77 width=100>5</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 31pt; BORDER-TOP: windowtext; BORDER-RIGHT: silver 0.5pt solid" class=xl77 width=41>5</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 31pt; BORDER-TOP: windowtext; BORDER-RIGHT: silver 0.5pt solid" class=xl77 width=41>4</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 74pt; BORDER-TOP: windowtext; BORDER-RIGHT: windowtext 1pt solid" class=xl78 width=98>0</TD></TR><TR style="HEIGHT: 15pt" height=20><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: windowtext 1pt solid; BACKGROUND-COLOR: transparent; WIDTH: 76pt; HEIGHT: 15pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl79 height=20 width=101>5</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 75pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl75 width=100>10</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 31pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl75 width=41>10</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 31pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl75 width=41>8</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 74pt; BORDER-TOP: silver; BORDER-RIGHT: windowtext 1pt solid" class=xl80 width=98>0</TD></TR><TR style="HEIGHT: 15pt" height=20><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: windowtext 1pt solid; BACKGROUND-COLOR: transparent; WIDTH: 76pt; HEIGHT: 15pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl79 height=20 width=101>5</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 75pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl75 width=100>15</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 31pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl75 width=41>15</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 31pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl75 width=41>9</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 74pt; BORDER-TOP: silver; BORDER-RIGHT: windowtext 1pt solid" class=xl80 width=98>0</TD></TR><TR style="HEIGHT: 15pt" height=20><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: windowtext 1pt solid; BACKGROUND-COLOR: transparent; WIDTH: 76pt; HEIGHT: 15pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl79 height=20 width=101>5</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 75pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl75 width=100>20</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 31pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl75 width=41>20</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 31pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl75 width=41>10</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 74pt; BORDER-TOP: silver; BORDER-RIGHT: windowtext 1pt solid" class=xl80 width=98>1</TD></TR><TR style="HEIGHT: 15pt" height=20><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: windowtext 1pt solid; BACKGROUND-COLOR: transparent; WIDTH: 76pt; HEIGHT: 15pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl79 height=20 width=101>5</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 75pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl75 width=100>25</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 31pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl75 width=41>25</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 31pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl75 width=41>13</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 74pt; BORDER-TOP: silver; BORDER-RIGHT: windowtext 1pt solid" class=xl80 width=98>1</TD></TR><TR style="HEIGHT: 15pt" height=20><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: windowtext 1pt solid; BACKGROUND-COLOR: transparent; WIDTH: 76pt; HEIGHT: 15pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl79 height=20 width=101>5</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 75pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl75 width=100>30</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 31pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl75 width=41>30</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 31pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl75 width=41>16</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 74pt; BORDER-TOP: silver; BORDER-RIGHT: windowtext 1pt solid" class=xl80 width=98>1</TD></TR><TR style="HEIGHT: 15pt" height=20><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: windowtext 1pt solid; BACKGROUND-COLOR: transparent; WIDTH: 76pt; HEIGHT: 15pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl79 height=20 width=101>5</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 75pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl75 width=100>35</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 31pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl75 width=41>34</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 31pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl75 width=41>17</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 74pt; BORDER-TOP: silver; BORDER-RIGHT: windowtext 1pt solid" class=xl80 width=98>1</TD></TR><TR style="HEIGHT: 15.75pt" height=21><TD style="BORDER-BOTTOM: windowtext 1pt solid; BORDER-LEFT: windowtext 1pt solid; BACKGROUND-COLOR: transparent; WIDTH: 76pt; HEIGHT: 15.75pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl81 height=21 width=101>5</TD><TD style="BORDER-BOTTOM: windowtext 1pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 75pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl82 width=100>40</TD><TD style="BORDER-BOTTOM: windowtext 1pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 31pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl82 width=41>34</TD><TD style="BORDER-BOTTOM: windowtext 1pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 31pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl82 width=41>17</TD><TD style="BORDER-BOTTOM: windowtext 1pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 74pt; BORDER-TOP: silver; BORDER-RIGHT: windowtext 1pt solid" class=xl83 width=98>1</TD></TR></TBODY></TABLE>
Enough deals? is set to 1 once we have 10 deals from x tours.
I want to write a function which will give me the extra column as shown below
<TABLE style="WIDTH: 331pt; BORDER-COLLAPSE: collapse" border=0 cellSpacing=0 cellPadding=0 width=439><COLGROUP><COL style="WIDTH: 76pt; mso-width-source: userset; mso-width-alt: 3693" width=101><COL style="WIDTH: 75pt; mso-width-source: userset; mso-width-alt: 3657" width=100><COL style="WIDTH: 31pt; mso-width-source: userset; mso-width-alt: 1499" span=2 width=41><COL style="WIDTH: 74pt; mso-width-source: userset; mso-width-alt: 3584" width=98><COL style="WIDTH: 44pt; mso-width-source: userset; mso-width-alt: 2121" width=58><TBODY><TR style="HEIGHT: 15.75pt" height=21><TD style="BORDER-BOTTOM: #d4d0c8; BORDER-LEFT: windowtext 1pt solid; BACKGROUND-COLOR: silver; WIDTH: 76pt; HEIGHT: 15.75pt; BORDER-TOP: windowtext 1pt solid; BORDER-RIGHT: black 0.5pt solid" class=xl85 height=21 width=101>CentreNumber</TD><TD style="BORDER-BOTTOM: #d4d0c8; BORDER-LEFT: black; BACKGROUND-COLOR: silver; WIDTH: 75pt; BORDER-TOP: windowtext 1pt solid; BORDER-RIGHT: black 0.5pt solid" class=xl86 width=100>NumObsGroup</TD><TD style="BORDER-BOTTOM: #d4d0c8; BORDER-LEFT: black; BACKGROUND-COLOR: silver; WIDTH: 31pt; BORDER-TOP: windowtext 1pt solid; BORDER-RIGHT: black 0.5pt solid" class=xl86 width=41>Tours</TD><TD style="BORDER-BOTTOM: #d4d0c8; BORDER-LEFT: black; BACKGROUND-COLOR: silver; WIDTH: 31pt; BORDER-TOP: windowtext 1pt solid; BORDER-RIGHT: black 0.5pt solid" class=xl86 width=41>Deals</TD><TD style="BORDER-BOTTOM: #d4d0c8; BORDER-LEFT: black; BACKGROUND-COLOR: silver; WIDTH: 74pt; BORDER-TOP: windowtext 1pt solid; BORDER-RIGHT: windowtext 1pt solid" class=xl87 width=98>Enough Deals?</TD><TD style="BORDER-BOTTOM: #d4d0c8; BORDER-LEFT: black 0.5pt solid; BACKGROUND-COLOR: silver; WIDTH: 44pt; BORDER-TOP: black 0.5pt solid; BORDER-RIGHT: black 0.5pt solid" class=xl76 width=58>Use Flag</TD></TR><TR style="HEIGHT: 15pt" height=20><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: windowtext 1pt solid; BACKGROUND-COLOR: transparent; WIDTH: 76pt; HEIGHT: 15pt; BORDER-TOP: windowtext 1pt solid; BORDER-RIGHT: silver 0.5pt solid" class=xl77 height=20 width=101>1</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 75pt; BORDER-TOP: windowtext 1pt solid; BORDER-RIGHT: silver 0.5pt solid" class=xl78 width=100>5</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 31pt; BORDER-TOP: windowtext 1pt solid; BORDER-RIGHT: silver 0.5pt solid" class=xl78 width=41>5</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 31pt; BORDER-TOP: windowtext 1pt solid; BORDER-RIGHT: silver 0.5pt solid" class=xl78 width=41>1</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 74pt; BORDER-TOP: windowtext 1pt solid; BORDER-RIGHT: windowtext 1pt solid" class=xl79 width=98>0</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver 0.5pt solid; BACKGROUND-COLOR: transparent; WIDTH: 44pt; BORDER-TOP: windowtext 1pt solid; BORDER-RIGHT: windowtext 1pt solid" class=xl79 width=58>0</TD></TR><TR style="HEIGHT: 15pt" height=20><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: windowtext 1pt solid; BACKGROUND-COLOR: transparent; WIDTH: 76pt; HEIGHT: 15pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl80 height=20 width=101>1</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 75pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl75 width=100>10</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 31pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl75 width=41>10</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 31pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl75 width=41>2</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 74pt; BORDER-TOP: silver; BORDER-RIGHT: windowtext 1pt solid" class=xl81 width=98>0</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver 0.5pt solid; BACKGROUND-COLOR: transparent; WIDTH: 44pt; BORDER-TOP: silver; BORDER-RIGHT: windowtext 1pt solid" class=xl81 width=58>0</TD></TR><TR style="HEIGHT: 15pt" height=20><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: windowtext 1pt solid; BACKGROUND-COLOR: transparent; WIDTH: 76pt; HEIGHT: 15pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl80 height=20 width=101>1</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 75pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl75 width=100>15</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 31pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl75 width=41>15</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 31pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl75 width=41>2</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 74pt; BORDER-TOP: silver; BORDER-RIGHT: windowtext 1pt solid" class=xl81 width=98>0</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver 0.5pt solid; BACKGROUND-COLOR: transparent; WIDTH: 44pt; BORDER-TOP: silver; BORDER-RIGHT: windowtext 1pt solid" class=xl81 width=58>0</TD></TR><TR style="HEIGHT: 15pt" height=20><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: windowtext 1pt solid; BACKGROUND-COLOR: transparent; WIDTH: 76pt; HEIGHT: 15pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl80 height=20 width=101>1</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 75pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl75 width=100>20</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 31pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl75 width=41>20</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 31pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl75 width=41>6</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 74pt; BORDER-TOP: silver; BORDER-RIGHT: windowtext 1pt solid" class=xl81 width=98>0</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver 0.5pt solid; BACKGROUND-COLOR: transparent; WIDTH: 44pt; BORDER-TOP: silver; BORDER-RIGHT: windowtext 1pt solid" class=xl81 width=58>0</TD></TR><TR style="HEIGHT: 15pt" height=20><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: windowtext 1pt solid; BACKGROUND-COLOR: transparent; WIDTH: 76pt; HEIGHT: 15pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl80 height=20 width=101>1</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 75pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl75 width=100>25</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 31pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl75 width=41>25</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 31pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl75 width=41>6</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 74pt; BORDER-TOP: silver; BORDER-RIGHT: windowtext 1pt solid" class=xl81 width=98>0</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver 0.5pt solid; BACKGROUND-COLOR: transparent; WIDTH: 44pt; BORDER-TOP: silver; BORDER-RIGHT: windowtext 1pt solid" class=xl81 width=58>0</TD></TR><TR style="HEIGHT: 15pt" height=20><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: windowtext 1pt solid; BACKGROUND-COLOR: transparent; WIDTH: 76pt; HEIGHT: 15pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl80 height=20 width=101>1</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 75pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl75 width=100>30</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 31pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl75 width=41>30</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 31pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl75 width=41>8</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 74pt; BORDER-TOP: silver; BORDER-RIGHT: windowtext 1pt solid" class=xl81 width=98>0</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver 0.5pt solid; BACKGROUND-COLOR: transparent; WIDTH: 44pt; BORDER-TOP: silver; BORDER-RIGHT: windowtext 1pt solid" class=xl81 width=58>0</TD></TR><TR style="HEIGHT: 15pt" height=20><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: windowtext 1pt solid; BACKGROUND-COLOR: transparent; WIDTH: 76pt; HEIGHT: 15pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl80 height=20 width=101>1</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 75pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl75 width=100>35</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 31pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl75 width=41>35</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 31pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl75 width=41>10</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 74pt; BORDER-TOP: silver; BORDER-RIGHT: windowtext 1pt solid" class=xl81 width=98>1</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver 0.5pt solid; BACKGROUND-COLOR: transparent; WIDTH: 44pt; BORDER-TOP: silver; BORDER-RIGHT: windowtext 1pt solid" class=xl81 width=58>1</TD></TR><TR style="HEIGHT: 15.75pt" height=21><TD style="BORDER-BOTTOM: windowtext 1pt solid; BORDER-LEFT: windowtext 1pt solid; BACKGROUND-COLOR: transparent; WIDTH: 76pt; HEIGHT: 15.75pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl82 height=21 width=101>1</TD><TD style="BORDER-BOTTOM: windowtext 1pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 75pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl83 width=100>40</TD><TD style="BORDER-BOTTOM: windowtext 1pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 31pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl83 width=41>40</TD><TD style="BORDER-BOTTOM: windowtext 1pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 31pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl83 width=41>10</TD><TD style="BORDER-BOTTOM: windowtext 1pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 74pt; BORDER-TOP: silver; BORDER-RIGHT: windowtext 1pt solid" class=xl84 width=98>1</TD><TD style="BORDER-BOTTOM: windowtext 1pt solid; BORDER-LEFT: silver 0.5pt solid; BACKGROUND-COLOR: transparent; WIDTH: 44pt; BORDER-TOP: silver; BORDER-RIGHT: windowtext 1pt solid" class=xl84 width=58>0</TD></TR><TR style="HEIGHT: 15pt" height=20><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: windowtext 1pt solid; BACKGROUND-COLOR: transparent; WIDTH: 76pt; HEIGHT: 15pt; BORDER-TOP: windowtext; BORDER-RIGHT: silver 0.5pt solid" class=xl77 height=20 width=101>3</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 75pt; BORDER-TOP: windowtext; BORDER-RIGHT: silver 0.5pt solid" class=xl78 width=100>5</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 31pt; BORDER-TOP: windowtext; BORDER-RIGHT: silver 0.5pt solid" class=xl78 width=41>5</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 31pt; BORDER-TOP: windowtext; BORDER-RIGHT: silver 0.5pt solid" class=xl78 width=41>0</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 74pt; BORDER-TOP: windowtext; BORDER-RIGHT: windowtext 1pt solid" class=xl79 width=98>0</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver 0.5pt solid; BACKGROUND-COLOR: transparent; WIDTH: 44pt; BORDER-TOP: windowtext; BORDER-RIGHT: windowtext 1pt solid" class=xl79 width=58>0</TD></TR><TR style="HEIGHT: 15pt" height=20><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: windowtext 1pt solid; BACKGROUND-COLOR: transparent; WIDTH: 76pt; HEIGHT: 15pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl80 height=20 width=101>3</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 75pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl75 width=100>10</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 31pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl75 width=41>10</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 31pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl75 width=41>1</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 74pt; BORDER-TOP: silver; BORDER-RIGHT: windowtext 1pt solid" class=xl81 width=98>0</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver 0.5pt solid; BACKGROUND-COLOR: transparent; WIDTH: 44pt; BORDER-TOP: silver; BORDER-RIGHT: windowtext 1pt solid" class=xl81 width=58>0</TD></TR><TR style="HEIGHT: 15pt" height=20><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: windowtext 1pt solid; BACKGROUND-COLOR: transparent; WIDTH: 76pt; HEIGHT: 15pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl80 height=20 width=101>3</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 75pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl75 width=100>15</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 31pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl75 width=41>15</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 31pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl75 width=41>1</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 74pt; BORDER-TOP: silver; BORDER-RIGHT: windowtext 1pt solid" class=xl81 width=98>0</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver 0.5pt solid; BACKGROUND-COLOR: transparent; WIDTH: 44pt; BORDER-TOP: silver; BORDER-RIGHT: windowtext 1pt solid" class=xl81 width=58>0</TD></TR><TR style="HEIGHT: 15pt" height=20><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: windowtext 1pt solid; BACKGROUND-COLOR: transparent; WIDTH: 76pt; HEIGHT: 15pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl80 height=20 width=101>3</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 75pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl75 width=100>20</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 31pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl75 width=41>20</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 31pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl75 width=41>1</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 74pt; BORDER-TOP: silver; BORDER-RIGHT: windowtext 1pt solid" class=xl81 width=98>0</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver 0.5pt solid; BACKGROUND-COLOR: transparent; WIDTH: 44pt; BORDER-TOP: silver; BORDER-RIGHT: windowtext 1pt solid" class=xl81 width=58>0</TD></TR><TR style="HEIGHT: 15pt" height=20><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: windowtext 1pt solid; BACKGROUND-COLOR: transparent; WIDTH: 76pt; HEIGHT: 15pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl80 height=20 width=101>3</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 75pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl75 width=100>25</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 31pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl75 width=41>25</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 31pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl75 width=41>1</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 74pt; BORDER-TOP: silver; BORDER-RIGHT: windowtext 1pt solid" class=xl81 width=98>0</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver 0.5pt solid; BACKGROUND-COLOR: transparent; WIDTH: 44pt; BORDER-TOP: silver; BORDER-RIGHT: windowtext 1pt solid" class=xl81 width=58>0</TD></TR><TR style="HEIGHT: 15pt" height=20><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: windowtext 1pt solid; BACKGROUND-COLOR: transparent; WIDTH: 76pt; HEIGHT: 15pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl80 height=20 width=101>3</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 75pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl75 width=100>30</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 31pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl75 width=41>30</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 31pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl75 width=41>1</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 74pt; BORDER-TOP: silver; BORDER-RIGHT: windowtext 1pt solid" class=xl81 width=98>0</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver 0.5pt solid; BACKGROUND-COLOR: transparent; WIDTH: 44pt; BORDER-TOP: silver; BORDER-RIGHT: windowtext 1pt solid" class=xl81 width=58>0</TD></TR><TR style="HEIGHT: 15pt" height=20><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: windowtext 1pt solid; BACKGROUND-COLOR: transparent; WIDTH: 76pt; HEIGHT: 15pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl80 height=20 width=101>3</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 75pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl75 width=100>35</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 31pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl75 width=41>35</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 31pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl75 width=41>1</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 74pt; BORDER-TOP: silver; BORDER-RIGHT: windowtext 1pt solid" class=xl81 width=98>0</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver 0.5pt solid; BACKGROUND-COLOR: transparent; WIDTH: 44pt; BORDER-TOP: silver; BORDER-RIGHT: windowtext 1pt solid" class=xl81 width=58>0</TD></TR><TR style="HEIGHT: 15.75pt" height=21><TD style="BORDER-BOTTOM: windowtext 1pt solid; BORDER-LEFT: windowtext 1pt solid; BACKGROUND-COLOR: transparent; WIDTH: 76pt; HEIGHT: 15.75pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl82 height=21 width=101>3</TD><TD style="BORDER-BOTTOM: windowtext 1pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 75pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl83 width=100>40</TD><TD style="BORDER-BOTTOM: windowtext 1pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 31pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl83 width=41>40</TD><TD style="BORDER-BOTTOM: windowtext 1pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 31pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl83 width=41>1</TD><TD style="BORDER-BOTTOM: windowtext 1pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 74pt; BORDER-TOP: silver; BORDER-RIGHT: windowtext 1pt solid" class=xl84 width=98>0</TD><TD style="BORDER-BOTTOM: windowtext 1pt solid; BORDER-LEFT: silver 0.5pt solid; BACKGROUND-COLOR: transparent; WIDTH: 44pt; BORDER-TOP: silver; BORDER-RIGHT: windowtext 1pt solid" class=xl84 width=58>1</TD></TR><TR style="HEIGHT: 15pt" height=20><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: windowtext 1pt solid; BACKGROUND-COLOR: transparent; WIDTH: 76pt; HEIGHT: 15pt; BORDER-TOP: windowtext; BORDER-RIGHT: silver 0.5pt solid" class=xl77 height=20 width=101>5</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 75pt; BORDER-TOP: windowtext; BORDER-RIGHT: silver 0.5pt solid" class=xl78 width=100>5</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 31pt; BORDER-TOP: windowtext; BORDER-RIGHT: silver 0.5pt solid" class=xl78 width=41>5</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 31pt; BORDER-TOP: windowtext; BORDER-RIGHT: silver 0.5pt solid" class=xl78 width=41>4</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 74pt; BORDER-TOP: windowtext; BORDER-RIGHT: windowtext 1pt solid" class=xl79 width=98>0</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver 0.5pt solid; BACKGROUND-COLOR: transparent; WIDTH: 44pt; BORDER-TOP: windowtext; BORDER-RIGHT: windowtext 1pt solid" class=xl79 width=58>0</TD></TR><TR style="HEIGHT: 15pt" height=20><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: windowtext 1pt solid; BACKGROUND-COLOR: transparent; WIDTH: 76pt; HEIGHT: 15pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl80 height=20 width=101>5</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 75pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl75 width=100>10</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 31pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl75 width=41>10</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 31pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl75 width=41>8</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 74pt; BORDER-TOP: silver; BORDER-RIGHT: windowtext 1pt solid" class=xl81 width=98>0</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver 0.5pt solid; BACKGROUND-COLOR: transparent; WIDTH: 44pt; BORDER-TOP: silver; BORDER-RIGHT: windowtext 1pt solid" class=xl81 width=58>0</TD></TR><TR style="HEIGHT: 15pt" height=20><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: windowtext 1pt solid; BACKGROUND-COLOR: transparent; WIDTH: 76pt; HEIGHT: 15pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl80 height=20 width=101>5</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 75pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl75 width=100>15</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 31pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl75 width=41>15</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 31pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl75 width=41>9</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 74pt; BORDER-TOP: silver; BORDER-RIGHT: windowtext 1pt solid" class=xl81 width=98>0</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver 0.5pt solid; BACKGROUND-COLOR: transparent; WIDTH: 44pt; BORDER-TOP: silver; BORDER-RIGHT: windowtext 1pt solid" class=xl81 width=58>0</TD></TR><TR style="HEIGHT: 15pt" height=20><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: windowtext 1pt solid; BACKGROUND-COLOR: transparent; WIDTH: 76pt; HEIGHT: 15pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl80 height=20 width=101>5</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 75pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl75 width=100>20</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 31pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl75 width=41>20</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 31pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl75 width=41>10</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 74pt; BORDER-TOP: silver; BORDER-RIGHT: windowtext 1pt solid" class=xl81 width=98>1</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver 0.5pt solid; BACKGROUND-COLOR: transparent; WIDTH: 44pt; BORDER-TOP: silver; BORDER-RIGHT: windowtext 1pt solid" class=xl81 width=58>1</TD></TR><TR style="HEIGHT: 15pt" height=20><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: windowtext 1pt solid; BACKGROUND-COLOR: transparent; WIDTH: 76pt; HEIGHT: 15pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl80 height=20 width=101>5</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 75pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl75 width=100>25</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 31pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl75 width=41>25</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 31pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl75 width=41>13</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 74pt; BORDER-TOP: silver; BORDER-RIGHT: windowtext 1pt solid" class=xl81 width=98>1</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver 0.5pt solid; BACKGROUND-COLOR: transparent; WIDTH: 44pt; BORDER-TOP: silver; BORDER-RIGHT: windowtext 1pt solid" class=xl81 width=58>0</TD></TR><TR style="HEIGHT: 15pt" height=20><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: windowtext 1pt solid; BACKGROUND-COLOR: transparent; WIDTH: 76pt; HEIGHT: 15pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl80 height=20 width=101>5</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 75pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl75 width=100>30</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 31pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl75 width=41>30</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 31pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl75 width=41>16</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 74pt; BORDER-TOP: silver; BORDER-RIGHT: windowtext 1pt solid" class=xl81 width=98>1</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver 0.5pt solid; BACKGROUND-COLOR: transparent; WIDTH: 44pt; BORDER-TOP: silver; BORDER-RIGHT: windowtext 1pt solid" class=xl81 width=58>0</TD></TR><TR style="HEIGHT: 15pt" height=20><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: windowtext 1pt solid; BACKGROUND-COLOR: transparent; WIDTH: 76pt; HEIGHT: 15pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl80 height=20 width=101>5</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 75pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl75 width=100>35</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 31pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl75 width=41>34</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 31pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl75 width=41>17</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 74pt; BORDER-TOP: silver; BORDER-RIGHT: windowtext 1pt solid" class=xl81 width=98>1</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver 0.5pt solid; BACKGROUND-COLOR: transparent; WIDTH: 44pt; BORDER-TOP: silver; BORDER-RIGHT: windowtext 1pt solid" class=xl81 width=58>0</TD></TR><TR style="HEIGHT: 15.75pt" height=21><TD style="BORDER-BOTTOM: windowtext 1pt solid; BORDER-LEFT: windowtext 1pt solid; BACKGROUND-COLOR: transparent; WIDTH: 76pt; HEIGHT: 15.75pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl82 height=21 width=101>5</TD><TD style="BORDER-BOTTOM: windowtext 1pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 75pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl83 width=100>40</TD><TD style="BORDER-BOTTOM: windowtext 1pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 31pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl83 width=41>34</TD><TD style="BORDER-BOTTOM: windowtext 1pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 31pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl83 width=41>17</TD><TD style="BORDER-BOTTOM: windowtext 1pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 74pt; BORDER-TOP: silver; BORDER-RIGHT: windowtext 1pt solid" class=xl84 width=98>1</TD><TD style="BORDER-BOTTOM: windowtext 1pt solid; BORDER-LEFT: silver 0.5pt solid; BACKGROUND-COLOR: transparent; WIDTH: 44pt; BORDER-TOP: silver; BORDER-RIGHT: windowtext 1pt solid" class=xl84 width=58>0</TD></TR></TBODY></TABLE>
if we dont reach 10 deals then we set the last row for that center to 1 as can be seen from centre 3.
I have managed to do this using nested queries but unfortunately my access crashes every time I try to save the query, however the query does run.
The question is how can I read two rows from a query dataset in a function?
Can I use .BOF and .EOF in a function refering to a query?
Thanks in advance
Kind Regards
D
<TABLE style="WIDTH: 287pt; BORDER-COLLAPSE: collapse" border=0 cellSpacing=0 cellPadding=0 width=381><COLGROUP><COL style="WIDTH: 76pt; mso-width-source: userset; mso-width-alt: 3693" width=101><COL style="WIDTH: 75pt; mso-width-source: userset; mso-width-alt: 3657" width=100><COL style="WIDTH: 31pt; mso-width-source: userset; mso-width-alt: 1499" span=2 width=41><COL style="WIDTH: 74pt; mso-width-source: userset; mso-width-alt: 3584" width=98><TBODY><TR style="HEIGHT: 15.75pt" height=21><TD style="BORDER-BOTTOM: #d4d0c8; BORDER-LEFT: windowtext 1pt solid; BACKGROUND-COLOR: silver; WIDTH: 76pt; HEIGHT: 15.75pt; BORDER-TOP: windowtext 1pt solid; BORDER-RIGHT: black 0.5pt solid" class=xl84 height=21 width=101>CentreNumber</TD><TD style="BORDER-BOTTOM: #d4d0c8; BORDER-LEFT: black; BACKGROUND-COLOR: silver; WIDTH: 75pt; BORDER-TOP: windowtext 1pt solid; BORDER-RIGHT: black 0.5pt solid" class=xl85 width=100>NumObsGroup</TD><TD style="BORDER-BOTTOM: #d4d0c8; BORDER-LEFT: black; BACKGROUND-COLOR: silver; WIDTH: 31pt; BORDER-TOP: windowtext 1pt solid; BORDER-RIGHT: black 0.5pt solid" class=xl85 width=41>Tours</TD><TD style="BORDER-BOTTOM: #d4d0c8; BORDER-LEFT: black; BACKGROUND-COLOR: silver; WIDTH: 31pt; BORDER-TOP: windowtext 1pt solid; BORDER-RIGHT: black 0.5pt solid" class=xl85 width=41>Deals</TD><TD style="BORDER-BOTTOM: #d4d0c8; BORDER-LEFT: black; BACKGROUND-COLOR: silver; WIDTH: 74pt; BORDER-TOP: windowtext 1pt solid; BORDER-RIGHT: windowtext 1pt solid" class=xl86 width=98>Enough Deals?</TD></TR><TR style="HEIGHT: 15pt" height=20><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: windowtext 1pt solid; BACKGROUND-COLOR: transparent; WIDTH: 76pt; HEIGHT: 15pt; BORDER-TOP: windowtext 1pt solid; BORDER-RIGHT: silver 0.5pt solid" class=xl76 height=20 width=101>1</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 75pt; BORDER-TOP: windowtext 1pt solid; BORDER-RIGHT: silver 0.5pt solid" class=xl77 width=100>5</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 31pt; BORDER-TOP: windowtext 1pt solid; BORDER-RIGHT: silver 0.5pt solid" class=xl77 width=41>5</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 31pt; BORDER-TOP: windowtext 1pt solid; BORDER-RIGHT: silver 0.5pt solid" class=xl77 width=41>1</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 74pt; BORDER-TOP: windowtext 1pt solid; BORDER-RIGHT: windowtext 1pt solid" class=xl78 width=98>0</TD></TR><TR style="HEIGHT: 15pt" height=20><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: windowtext 1pt solid; BACKGROUND-COLOR: transparent; WIDTH: 76pt; HEIGHT: 15pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl79 height=20 width=101>1</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 75pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl75 width=100>10</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 31pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl75 width=41>10</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 31pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl75 width=41>2</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 74pt; BORDER-TOP: silver; BORDER-RIGHT: windowtext 1pt solid" class=xl80 width=98>0</TD></TR><TR style="HEIGHT: 15pt" height=20><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: windowtext 1pt solid; BACKGROUND-COLOR: transparent; WIDTH: 76pt; HEIGHT: 15pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl79 height=20 width=101>1</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 75pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl75 width=100>15</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 31pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl75 width=41>15</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 31pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl75 width=41>2</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 74pt; BORDER-TOP: silver; BORDER-RIGHT: windowtext 1pt solid" class=xl80 width=98>0</TD></TR><TR style="HEIGHT: 15pt" height=20><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: windowtext 1pt solid; BACKGROUND-COLOR: transparent; WIDTH: 76pt; HEIGHT: 15pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl79 height=20 width=101>1</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 75pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl75 width=100>20</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 31pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl75 width=41>20</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 31pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl75 width=41>6</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 74pt; BORDER-TOP: silver; BORDER-RIGHT: windowtext 1pt solid" class=xl80 width=98>0</TD></TR><TR style="HEIGHT: 15pt" height=20><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: windowtext 1pt solid; BACKGROUND-COLOR: transparent; WIDTH: 76pt; HEIGHT: 15pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl79 height=20 width=101>1</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 75pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl75 width=100>25</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 31pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl75 width=41>25</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 31pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl75 width=41>6</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 74pt; BORDER-TOP: silver; BORDER-RIGHT: windowtext 1pt solid" class=xl80 width=98>0</TD></TR><TR style="HEIGHT: 15pt" height=20><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: windowtext 1pt solid; BACKGROUND-COLOR: transparent; WIDTH: 76pt; HEIGHT: 15pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl79 height=20 width=101>1</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 75pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl75 width=100>30</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 31pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl75 width=41>30</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 31pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl75 width=41>8</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 74pt; BORDER-TOP: silver; BORDER-RIGHT: windowtext 1pt solid" class=xl80 width=98>0</TD></TR><TR style="HEIGHT: 15pt" height=20><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: windowtext 1pt solid; BACKGROUND-COLOR: transparent; WIDTH: 76pt; HEIGHT: 15pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl79 height=20 width=101>1</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 75pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl75 width=100>35</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 31pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl75 width=41>35</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 31pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl75 width=41>10</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 74pt; BORDER-TOP: silver; BORDER-RIGHT: windowtext 1pt solid" class=xl80 width=98>1</TD></TR><TR style="HEIGHT: 15.75pt" height=21><TD style="BORDER-BOTTOM: windowtext 1pt solid; BORDER-LEFT: windowtext 1pt solid; BACKGROUND-COLOR: transparent; WIDTH: 76pt; HEIGHT: 15.75pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl81 height=21 width=101>1</TD><TD style="BORDER-BOTTOM: windowtext 1pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 75pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl82 width=100>40</TD><TD style="BORDER-BOTTOM: windowtext 1pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 31pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl82 width=41>40</TD><TD style="BORDER-BOTTOM: windowtext 1pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 31pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl82 width=41>10</TD><TD style="BORDER-BOTTOM: windowtext 1pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 74pt; BORDER-TOP: silver; BORDER-RIGHT: windowtext 1pt solid" class=xl83 width=98>1</TD></TR><TR style="HEIGHT: 15pt" height=20><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: windowtext 1pt solid; BACKGROUND-COLOR: transparent; WIDTH: 76pt; HEIGHT: 15pt; BORDER-TOP: windowtext; BORDER-RIGHT: silver 0.5pt solid" class=xl76 height=20 width=101>3</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 75pt; BORDER-TOP: windowtext; BORDER-RIGHT: silver 0.5pt solid" class=xl77 width=100>5</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 31pt; BORDER-TOP: windowtext; BORDER-RIGHT: silver 0.5pt solid" class=xl77 width=41>5</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 31pt; BORDER-TOP: windowtext; BORDER-RIGHT: silver 0.5pt solid" class=xl77 width=41>0</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 74pt; BORDER-TOP: windowtext; BORDER-RIGHT: windowtext 1pt solid" class=xl78 width=98>0</TD></TR><TR style="HEIGHT: 15pt" height=20><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: windowtext 1pt solid; BACKGROUND-COLOR: transparent; WIDTH: 76pt; HEIGHT: 15pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl79 height=20 width=101>3</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 75pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl75 width=100>10</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 31pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl75 width=41>10</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 31pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl75 width=41>1</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 74pt; BORDER-TOP: silver; BORDER-RIGHT: windowtext 1pt solid" class=xl80 width=98>0</TD></TR><TR style="HEIGHT: 15pt" height=20><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: windowtext 1pt solid; BACKGROUND-COLOR: transparent; WIDTH: 76pt; HEIGHT: 15pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl79 height=20 width=101>3</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 75pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl75 width=100>15</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 31pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl75 width=41>15</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 31pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl75 width=41>1</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 74pt; BORDER-TOP: silver; BORDER-RIGHT: windowtext 1pt solid" class=xl80 width=98>0</TD></TR><TR style="HEIGHT: 15pt" height=20><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: windowtext 1pt solid; BACKGROUND-COLOR: transparent; WIDTH: 76pt; HEIGHT: 15pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl79 height=20 width=101>3</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 75pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl75 width=100>20</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 31pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl75 width=41>20</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 31pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl75 width=41>1</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 74pt; BORDER-TOP: silver; BORDER-RIGHT: windowtext 1pt solid" class=xl80 width=98>0</TD></TR><TR style="HEIGHT: 15pt" height=20><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: windowtext 1pt solid; BACKGROUND-COLOR: transparent; WIDTH: 76pt; HEIGHT: 15pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl79 height=20 width=101>3</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 75pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl75 width=100>25</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 31pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl75 width=41>25</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 31pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl75 width=41>1</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 74pt; BORDER-TOP: silver; BORDER-RIGHT: windowtext 1pt solid" class=xl80 width=98>0</TD></TR><TR style="HEIGHT: 15pt" height=20><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: windowtext 1pt solid; BACKGROUND-COLOR: transparent; WIDTH: 76pt; HEIGHT: 15pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl79 height=20 width=101>3</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 75pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl75 width=100>30</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 31pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl75 width=41>30</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 31pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl75 width=41>1</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 74pt; BORDER-TOP: silver; BORDER-RIGHT: windowtext 1pt solid" class=xl80 width=98>0</TD></TR><TR style="HEIGHT: 15pt" height=20><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: windowtext 1pt solid; BACKGROUND-COLOR: transparent; WIDTH: 76pt; HEIGHT: 15pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl79 height=20 width=101>3</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 75pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl75 width=100>35</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 31pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl75 width=41>35</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 31pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl75 width=41>1</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 74pt; BORDER-TOP: silver; BORDER-RIGHT: windowtext 1pt solid" class=xl80 width=98>0</TD></TR><TR style="HEIGHT: 15.75pt" height=21><TD style="BORDER-BOTTOM: windowtext 1pt solid; BORDER-LEFT: windowtext 1pt solid; BACKGROUND-COLOR: transparent; WIDTH: 76pt; HEIGHT: 15.75pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl81 height=21 width=101>3</TD><TD style="BORDER-BOTTOM: windowtext 1pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 75pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl82 width=100>40</TD><TD style="BORDER-BOTTOM: windowtext 1pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 31pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl82 width=41>40</TD><TD style="BORDER-BOTTOM: windowtext 1pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 31pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl82 width=41>1</TD><TD style="BORDER-BOTTOM: windowtext 1pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 74pt; BORDER-TOP: silver; BORDER-RIGHT: windowtext 1pt solid" class=xl83 width=98>0</TD></TR><TR style="HEIGHT: 15pt" height=20><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: windowtext 1pt solid; BACKGROUND-COLOR: transparent; WIDTH: 76pt; HEIGHT: 15pt; BORDER-TOP: windowtext; BORDER-RIGHT: silver 0.5pt solid" class=xl76 height=20 width=101>5</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 75pt; BORDER-TOP: windowtext; BORDER-RIGHT: silver 0.5pt solid" class=xl77 width=100>5</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 31pt; BORDER-TOP: windowtext; BORDER-RIGHT: silver 0.5pt solid" class=xl77 width=41>5</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 31pt; BORDER-TOP: windowtext; BORDER-RIGHT: silver 0.5pt solid" class=xl77 width=41>4</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 74pt; BORDER-TOP: windowtext; BORDER-RIGHT: windowtext 1pt solid" class=xl78 width=98>0</TD></TR><TR style="HEIGHT: 15pt" height=20><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: windowtext 1pt solid; BACKGROUND-COLOR: transparent; WIDTH: 76pt; HEIGHT: 15pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl79 height=20 width=101>5</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 75pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl75 width=100>10</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 31pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl75 width=41>10</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 31pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl75 width=41>8</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 74pt; BORDER-TOP: silver; BORDER-RIGHT: windowtext 1pt solid" class=xl80 width=98>0</TD></TR><TR style="HEIGHT: 15pt" height=20><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: windowtext 1pt solid; BACKGROUND-COLOR: transparent; WIDTH: 76pt; HEIGHT: 15pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl79 height=20 width=101>5</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 75pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl75 width=100>15</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 31pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl75 width=41>15</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 31pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl75 width=41>9</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 74pt; BORDER-TOP: silver; BORDER-RIGHT: windowtext 1pt solid" class=xl80 width=98>0</TD></TR><TR style="HEIGHT: 15pt" height=20><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: windowtext 1pt solid; BACKGROUND-COLOR: transparent; WIDTH: 76pt; HEIGHT: 15pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl79 height=20 width=101>5</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 75pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl75 width=100>20</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 31pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl75 width=41>20</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 31pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl75 width=41>10</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 74pt; BORDER-TOP: silver; BORDER-RIGHT: windowtext 1pt solid" class=xl80 width=98>1</TD></TR><TR style="HEIGHT: 15pt" height=20><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: windowtext 1pt solid; BACKGROUND-COLOR: transparent; WIDTH: 76pt; HEIGHT: 15pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl79 height=20 width=101>5</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 75pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl75 width=100>25</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 31pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl75 width=41>25</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 31pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl75 width=41>13</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 74pt; BORDER-TOP: silver; BORDER-RIGHT: windowtext 1pt solid" class=xl80 width=98>1</TD></TR><TR style="HEIGHT: 15pt" height=20><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: windowtext 1pt solid; BACKGROUND-COLOR: transparent; WIDTH: 76pt; HEIGHT: 15pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl79 height=20 width=101>5</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 75pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl75 width=100>30</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 31pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl75 width=41>30</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 31pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl75 width=41>16</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 74pt; BORDER-TOP: silver; BORDER-RIGHT: windowtext 1pt solid" class=xl80 width=98>1</TD></TR><TR style="HEIGHT: 15pt" height=20><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: windowtext 1pt solid; BACKGROUND-COLOR: transparent; WIDTH: 76pt; HEIGHT: 15pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl79 height=20 width=101>5</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 75pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl75 width=100>35</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 31pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl75 width=41>34</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 31pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl75 width=41>17</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 74pt; BORDER-TOP: silver; BORDER-RIGHT: windowtext 1pt solid" class=xl80 width=98>1</TD></TR><TR style="HEIGHT: 15.75pt" height=21><TD style="BORDER-BOTTOM: windowtext 1pt solid; BORDER-LEFT: windowtext 1pt solid; BACKGROUND-COLOR: transparent; WIDTH: 76pt; HEIGHT: 15.75pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl81 height=21 width=101>5</TD><TD style="BORDER-BOTTOM: windowtext 1pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 75pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl82 width=100>40</TD><TD style="BORDER-BOTTOM: windowtext 1pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 31pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl82 width=41>34</TD><TD style="BORDER-BOTTOM: windowtext 1pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 31pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl82 width=41>17</TD><TD style="BORDER-BOTTOM: windowtext 1pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 74pt; BORDER-TOP: silver; BORDER-RIGHT: windowtext 1pt solid" class=xl83 width=98>1</TD></TR></TBODY></TABLE>
Enough deals? is set to 1 once we have 10 deals from x tours.
I want to write a function which will give me the extra column as shown below
<TABLE style="WIDTH: 331pt; BORDER-COLLAPSE: collapse" border=0 cellSpacing=0 cellPadding=0 width=439><COLGROUP><COL style="WIDTH: 76pt; mso-width-source: userset; mso-width-alt: 3693" width=101><COL style="WIDTH: 75pt; mso-width-source: userset; mso-width-alt: 3657" width=100><COL style="WIDTH: 31pt; mso-width-source: userset; mso-width-alt: 1499" span=2 width=41><COL style="WIDTH: 74pt; mso-width-source: userset; mso-width-alt: 3584" width=98><COL style="WIDTH: 44pt; mso-width-source: userset; mso-width-alt: 2121" width=58><TBODY><TR style="HEIGHT: 15.75pt" height=21><TD style="BORDER-BOTTOM: #d4d0c8; BORDER-LEFT: windowtext 1pt solid; BACKGROUND-COLOR: silver; WIDTH: 76pt; HEIGHT: 15.75pt; BORDER-TOP: windowtext 1pt solid; BORDER-RIGHT: black 0.5pt solid" class=xl85 height=21 width=101>CentreNumber</TD><TD style="BORDER-BOTTOM: #d4d0c8; BORDER-LEFT: black; BACKGROUND-COLOR: silver; WIDTH: 75pt; BORDER-TOP: windowtext 1pt solid; BORDER-RIGHT: black 0.5pt solid" class=xl86 width=100>NumObsGroup</TD><TD style="BORDER-BOTTOM: #d4d0c8; BORDER-LEFT: black; BACKGROUND-COLOR: silver; WIDTH: 31pt; BORDER-TOP: windowtext 1pt solid; BORDER-RIGHT: black 0.5pt solid" class=xl86 width=41>Tours</TD><TD style="BORDER-BOTTOM: #d4d0c8; BORDER-LEFT: black; BACKGROUND-COLOR: silver; WIDTH: 31pt; BORDER-TOP: windowtext 1pt solid; BORDER-RIGHT: black 0.5pt solid" class=xl86 width=41>Deals</TD><TD style="BORDER-BOTTOM: #d4d0c8; BORDER-LEFT: black; BACKGROUND-COLOR: silver; WIDTH: 74pt; BORDER-TOP: windowtext 1pt solid; BORDER-RIGHT: windowtext 1pt solid" class=xl87 width=98>Enough Deals?</TD><TD style="BORDER-BOTTOM: #d4d0c8; BORDER-LEFT: black 0.5pt solid; BACKGROUND-COLOR: silver; WIDTH: 44pt; BORDER-TOP: black 0.5pt solid; BORDER-RIGHT: black 0.5pt solid" class=xl76 width=58>Use Flag</TD></TR><TR style="HEIGHT: 15pt" height=20><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: windowtext 1pt solid; BACKGROUND-COLOR: transparent; WIDTH: 76pt; HEIGHT: 15pt; BORDER-TOP: windowtext 1pt solid; BORDER-RIGHT: silver 0.5pt solid" class=xl77 height=20 width=101>1</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 75pt; BORDER-TOP: windowtext 1pt solid; BORDER-RIGHT: silver 0.5pt solid" class=xl78 width=100>5</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 31pt; BORDER-TOP: windowtext 1pt solid; BORDER-RIGHT: silver 0.5pt solid" class=xl78 width=41>5</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 31pt; BORDER-TOP: windowtext 1pt solid; BORDER-RIGHT: silver 0.5pt solid" class=xl78 width=41>1</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 74pt; BORDER-TOP: windowtext 1pt solid; BORDER-RIGHT: windowtext 1pt solid" class=xl79 width=98>0</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver 0.5pt solid; BACKGROUND-COLOR: transparent; WIDTH: 44pt; BORDER-TOP: windowtext 1pt solid; BORDER-RIGHT: windowtext 1pt solid" class=xl79 width=58>0</TD></TR><TR style="HEIGHT: 15pt" height=20><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: windowtext 1pt solid; BACKGROUND-COLOR: transparent; WIDTH: 76pt; HEIGHT: 15pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl80 height=20 width=101>1</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 75pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl75 width=100>10</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 31pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl75 width=41>10</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 31pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl75 width=41>2</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 74pt; BORDER-TOP: silver; BORDER-RIGHT: windowtext 1pt solid" class=xl81 width=98>0</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver 0.5pt solid; BACKGROUND-COLOR: transparent; WIDTH: 44pt; BORDER-TOP: silver; BORDER-RIGHT: windowtext 1pt solid" class=xl81 width=58>0</TD></TR><TR style="HEIGHT: 15pt" height=20><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: windowtext 1pt solid; BACKGROUND-COLOR: transparent; WIDTH: 76pt; HEIGHT: 15pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl80 height=20 width=101>1</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 75pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl75 width=100>15</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 31pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl75 width=41>15</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 31pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl75 width=41>2</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 74pt; BORDER-TOP: silver; BORDER-RIGHT: windowtext 1pt solid" class=xl81 width=98>0</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver 0.5pt solid; BACKGROUND-COLOR: transparent; WIDTH: 44pt; BORDER-TOP: silver; BORDER-RIGHT: windowtext 1pt solid" class=xl81 width=58>0</TD></TR><TR style="HEIGHT: 15pt" height=20><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: windowtext 1pt solid; BACKGROUND-COLOR: transparent; WIDTH: 76pt; HEIGHT: 15pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl80 height=20 width=101>1</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 75pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl75 width=100>20</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 31pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl75 width=41>20</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 31pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl75 width=41>6</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 74pt; BORDER-TOP: silver; BORDER-RIGHT: windowtext 1pt solid" class=xl81 width=98>0</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver 0.5pt solid; BACKGROUND-COLOR: transparent; WIDTH: 44pt; BORDER-TOP: silver; BORDER-RIGHT: windowtext 1pt solid" class=xl81 width=58>0</TD></TR><TR style="HEIGHT: 15pt" height=20><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: windowtext 1pt solid; BACKGROUND-COLOR: transparent; WIDTH: 76pt; HEIGHT: 15pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl80 height=20 width=101>1</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 75pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl75 width=100>25</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 31pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl75 width=41>25</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 31pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl75 width=41>6</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 74pt; BORDER-TOP: silver; BORDER-RIGHT: windowtext 1pt solid" class=xl81 width=98>0</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver 0.5pt solid; BACKGROUND-COLOR: transparent; WIDTH: 44pt; BORDER-TOP: silver; BORDER-RIGHT: windowtext 1pt solid" class=xl81 width=58>0</TD></TR><TR style="HEIGHT: 15pt" height=20><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: windowtext 1pt solid; BACKGROUND-COLOR: transparent; WIDTH: 76pt; HEIGHT: 15pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl80 height=20 width=101>1</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 75pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl75 width=100>30</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 31pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl75 width=41>30</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 31pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl75 width=41>8</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 74pt; BORDER-TOP: silver; BORDER-RIGHT: windowtext 1pt solid" class=xl81 width=98>0</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver 0.5pt solid; BACKGROUND-COLOR: transparent; WIDTH: 44pt; BORDER-TOP: silver; BORDER-RIGHT: windowtext 1pt solid" class=xl81 width=58>0</TD></TR><TR style="HEIGHT: 15pt" height=20><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: windowtext 1pt solid; BACKGROUND-COLOR: transparent; WIDTH: 76pt; HEIGHT: 15pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl80 height=20 width=101>1</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 75pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl75 width=100>35</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 31pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl75 width=41>35</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 31pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl75 width=41>10</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 74pt; BORDER-TOP: silver; BORDER-RIGHT: windowtext 1pt solid" class=xl81 width=98>1</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver 0.5pt solid; BACKGROUND-COLOR: transparent; WIDTH: 44pt; BORDER-TOP: silver; BORDER-RIGHT: windowtext 1pt solid" class=xl81 width=58>1</TD></TR><TR style="HEIGHT: 15.75pt" height=21><TD style="BORDER-BOTTOM: windowtext 1pt solid; BORDER-LEFT: windowtext 1pt solid; BACKGROUND-COLOR: transparent; WIDTH: 76pt; HEIGHT: 15.75pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl82 height=21 width=101>1</TD><TD style="BORDER-BOTTOM: windowtext 1pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 75pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl83 width=100>40</TD><TD style="BORDER-BOTTOM: windowtext 1pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 31pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl83 width=41>40</TD><TD style="BORDER-BOTTOM: windowtext 1pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 31pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl83 width=41>10</TD><TD style="BORDER-BOTTOM: windowtext 1pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 74pt; BORDER-TOP: silver; BORDER-RIGHT: windowtext 1pt solid" class=xl84 width=98>1</TD><TD style="BORDER-BOTTOM: windowtext 1pt solid; BORDER-LEFT: silver 0.5pt solid; BACKGROUND-COLOR: transparent; WIDTH: 44pt; BORDER-TOP: silver; BORDER-RIGHT: windowtext 1pt solid" class=xl84 width=58>0</TD></TR><TR style="HEIGHT: 15pt" height=20><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: windowtext 1pt solid; BACKGROUND-COLOR: transparent; WIDTH: 76pt; HEIGHT: 15pt; BORDER-TOP: windowtext; BORDER-RIGHT: silver 0.5pt solid" class=xl77 height=20 width=101>3</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 75pt; BORDER-TOP: windowtext; BORDER-RIGHT: silver 0.5pt solid" class=xl78 width=100>5</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 31pt; BORDER-TOP: windowtext; BORDER-RIGHT: silver 0.5pt solid" class=xl78 width=41>5</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 31pt; BORDER-TOP: windowtext; BORDER-RIGHT: silver 0.5pt solid" class=xl78 width=41>0</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 74pt; BORDER-TOP: windowtext; BORDER-RIGHT: windowtext 1pt solid" class=xl79 width=98>0</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver 0.5pt solid; BACKGROUND-COLOR: transparent; WIDTH: 44pt; BORDER-TOP: windowtext; BORDER-RIGHT: windowtext 1pt solid" class=xl79 width=58>0</TD></TR><TR style="HEIGHT: 15pt" height=20><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: windowtext 1pt solid; BACKGROUND-COLOR: transparent; WIDTH: 76pt; HEIGHT: 15pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl80 height=20 width=101>3</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 75pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl75 width=100>10</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 31pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl75 width=41>10</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 31pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl75 width=41>1</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 74pt; BORDER-TOP: silver; BORDER-RIGHT: windowtext 1pt solid" class=xl81 width=98>0</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver 0.5pt solid; BACKGROUND-COLOR: transparent; WIDTH: 44pt; BORDER-TOP: silver; BORDER-RIGHT: windowtext 1pt solid" class=xl81 width=58>0</TD></TR><TR style="HEIGHT: 15pt" height=20><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: windowtext 1pt solid; BACKGROUND-COLOR: transparent; WIDTH: 76pt; HEIGHT: 15pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl80 height=20 width=101>3</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 75pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl75 width=100>15</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 31pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl75 width=41>15</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 31pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl75 width=41>1</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 74pt; BORDER-TOP: silver; BORDER-RIGHT: windowtext 1pt solid" class=xl81 width=98>0</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver 0.5pt solid; BACKGROUND-COLOR: transparent; WIDTH: 44pt; BORDER-TOP: silver; BORDER-RIGHT: windowtext 1pt solid" class=xl81 width=58>0</TD></TR><TR style="HEIGHT: 15pt" height=20><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: windowtext 1pt solid; BACKGROUND-COLOR: transparent; WIDTH: 76pt; HEIGHT: 15pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl80 height=20 width=101>3</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 75pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl75 width=100>20</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 31pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl75 width=41>20</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 31pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl75 width=41>1</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 74pt; BORDER-TOP: silver; BORDER-RIGHT: windowtext 1pt solid" class=xl81 width=98>0</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver 0.5pt solid; BACKGROUND-COLOR: transparent; WIDTH: 44pt; BORDER-TOP: silver; BORDER-RIGHT: windowtext 1pt solid" class=xl81 width=58>0</TD></TR><TR style="HEIGHT: 15pt" height=20><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: windowtext 1pt solid; BACKGROUND-COLOR: transparent; WIDTH: 76pt; HEIGHT: 15pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl80 height=20 width=101>3</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 75pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl75 width=100>25</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 31pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl75 width=41>25</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 31pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl75 width=41>1</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 74pt; BORDER-TOP: silver; BORDER-RIGHT: windowtext 1pt solid" class=xl81 width=98>0</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver 0.5pt solid; BACKGROUND-COLOR: transparent; WIDTH: 44pt; BORDER-TOP: silver; BORDER-RIGHT: windowtext 1pt solid" class=xl81 width=58>0</TD></TR><TR style="HEIGHT: 15pt" height=20><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: windowtext 1pt solid; BACKGROUND-COLOR: transparent; WIDTH: 76pt; HEIGHT: 15pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl80 height=20 width=101>3</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 75pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl75 width=100>30</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 31pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl75 width=41>30</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 31pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl75 width=41>1</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 74pt; BORDER-TOP: silver; BORDER-RIGHT: windowtext 1pt solid" class=xl81 width=98>0</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver 0.5pt solid; BACKGROUND-COLOR: transparent; WIDTH: 44pt; BORDER-TOP: silver; BORDER-RIGHT: windowtext 1pt solid" class=xl81 width=58>0</TD></TR><TR style="HEIGHT: 15pt" height=20><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: windowtext 1pt solid; BACKGROUND-COLOR: transparent; WIDTH: 76pt; HEIGHT: 15pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl80 height=20 width=101>3</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 75pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl75 width=100>35</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 31pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl75 width=41>35</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 31pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl75 width=41>1</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 74pt; BORDER-TOP: silver; BORDER-RIGHT: windowtext 1pt solid" class=xl81 width=98>0</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver 0.5pt solid; BACKGROUND-COLOR: transparent; WIDTH: 44pt; BORDER-TOP: silver; BORDER-RIGHT: windowtext 1pt solid" class=xl81 width=58>0</TD></TR><TR style="HEIGHT: 15.75pt" height=21><TD style="BORDER-BOTTOM: windowtext 1pt solid; BORDER-LEFT: windowtext 1pt solid; BACKGROUND-COLOR: transparent; WIDTH: 76pt; HEIGHT: 15.75pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl82 height=21 width=101>3</TD><TD style="BORDER-BOTTOM: windowtext 1pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 75pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl83 width=100>40</TD><TD style="BORDER-BOTTOM: windowtext 1pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 31pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl83 width=41>40</TD><TD style="BORDER-BOTTOM: windowtext 1pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 31pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl83 width=41>1</TD><TD style="BORDER-BOTTOM: windowtext 1pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 74pt; BORDER-TOP: silver; BORDER-RIGHT: windowtext 1pt solid" class=xl84 width=98>0</TD><TD style="BORDER-BOTTOM: windowtext 1pt solid; BORDER-LEFT: silver 0.5pt solid; BACKGROUND-COLOR: transparent; WIDTH: 44pt; BORDER-TOP: silver; BORDER-RIGHT: windowtext 1pt solid" class=xl84 width=58>1</TD></TR><TR style="HEIGHT: 15pt" height=20><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: windowtext 1pt solid; BACKGROUND-COLOR: transparent; WIDTH: 76pt; HEIGHT: 15pt; BORDER-TOP: windowtext; BORDER-RIGHT: silver 0.5pt solid" class=xl77 height=20 width=101>5</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 75pt; BORDER-TOP: windowtext; BORDER-RIGHT: silver 0.5pt solid" class=xl78 width=100>5</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 31pt; BORDER-TOP: windowtext; BORDER-RIGHT: silver 0.5pt solid" class=xl78 width=41>5</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 31pt; BORDER-TOP: windowtext; BORDER-RIGHT: silver 0.5pt solid" class=xl78 width=41>4</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 74pt; BORDER-TOP: windowtext; BORDER-RIGHT: windowtext 1pt solid" class=xl79 width=98>0</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver 0.5pt solid; BACKGROUND-COLOR: transparent; WIDTH: 44pt; BORDER-TOP: windowtext; BORDER-RIGHT: windowtext 1pt solid" class=xl79 width=58>0</TD></TR><TR style="HEIGHT: 15pt" height=20><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: windowtext 1pt solid; BACKGROUND-COLOR: transparent; WIDTH: 76pt; HEIGHT: 15pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl80 height=20 width=101>5</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 75pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl75 width=100>10</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 31pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl75 width=41>10</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 31pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl75 width=41>8</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 74pt; BORDER-TOP: silver; BORDER-RIGHT: windowtext 1pt solid" class=xl81 width=98>0</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver 0.5pt solid; BACKGROUND-COLOR: transparent; WIDTH: 44pt; BORDER-TOP: silver; BORDER-RIGHT: windowtext 1pt solid" class=xl81 width=58>0</TD></TR><TR style="HEIGHT: 15pt" height=20><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: windowtext 1pt solid; BACKGROUND-COLOR: transparent; WIDTH: 76pt; HEIGHT: 15pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl80 height=20 width=101>5</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 75pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl75 width=100>15</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 31pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl75 width=41>15</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 31pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl75 width=41>9</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 74pt; BORDER-TOP: silver; BORDER-RIGHT: windowtext 1pt solid" class=xl81 width=98>0</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver 0.5pt solid; BACKGROUND-COLOR: transparent; WIDTH: 44pt; BORDER-TOP: silver; BORDER-RIGHT: windowtext 1pt solid" class=xl81 width=58>0</TD></TR><TR style="HEIGHT: 15pt" height=20><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: windowtext 1pt solid; BACKGROUND-COLOR: transparent; WIDTH: 76pt; HEIGHT: 15pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl80 height=20 width=101>5</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 75pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl75 width=100>20</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 31pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl75 width=41>20</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 31pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl75 width=41>10</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 74pt; BORDER-TOP: silver; BORDER-RIGHT: windowtext 1pt solid" class=xl81 width=98>1</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver 0.5pt solid; BACKGROUND-COLOR: transparent; WIDTH: 44pt; BORDER-TOP: silver; BORDER-RIGHT: windowtext 1pt solid" class=xl81 width=58>1</TD></TR><TR style="HEIGHT: 15pt" height=20><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: windowtext 1pt solid; BACKGROUND-COLOR: transparent; WIDTH: 76pt; HEIGHT: 15pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl80 height=20 width=101>5</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 75pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl75 width=100>25</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 31pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl75 width=41>25</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 31pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl75 width=41>13</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 74pt; BORDER-TOP: silver; BORDER-RIGHT: windowtext 1pt solid" class=xl81 width=98>1</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver 0.5pt solid; BACKGROUND-COLOR: transparent; WIDTH: 44pt; BORDER-TOP: silver; BORDER-RIGHT: windowtext 1pt solid" class=xl81 width=58>0</TD></TR><TR style="HEIGHT: 15pt" height=20><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: windowtext 1pt solid; BACKGROUND-COLOR: transparent; WIDTH: 76pt; HEIGHT: 15pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl80 height=20 width=101>5</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 75pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl75 width=100>30</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 31pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl75 width=41>30</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 31pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl75 width=41>16</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 74pt; BORDER-TOP: silver; BORDER-RIGHT: windowtext 1pt solid" class=xl81 width=98>1</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver 0.5pt solid; BACKGROUND-COLOR: transparent; WIDTH: 44pt; BORDER-TOP: silver; BORDER-RIGHT: windowtext 1pt solid" class=xl81 width=58>0</TD></TR><TR style="HEIGHT: 15pt" height=20><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: windowtext 1pt solid; BACKGROUND-COLOR: transparent; WIDTH: 76pt; HEIGHT: 15pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl80 height=20 width=101>5</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 75pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl75 width=100>35</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 31pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl75 width=41>34</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 31pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl75 width=41>17</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 74pt; BORDER-TOP: silver; BORDER-RIGHT: windowtext 1pt solid" class=xl81 width=98>1</TD><TD style="BORDER-BOTTOM: silver 0.5pt solid; BORDER-LEFT: silver 0.5pt solid; BACKGROUND-COLOR: transparent; WIDTH: 44pt; BORDER-TOP: silver; BORDER-RIGHT: windowtext 1pt solid" class=xl81 width=58>0</TD></TR><TR style="HEIGHT: 15.75pt" height=21><TD style="BORDER-BOTTOM: windowtext 1pt solid; BORDER-LEFT: windowtext 1pt solid; BACKGROUND-COLOR: transparent; WIDTH: 76pt; HEIGHT: 15.75pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl82 height=21 width=101>5</TD><TD style="BORDER-BOTTOM: windowtext 1pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 75pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl83 width=100>40</TD><TD style="BORDER-BOTTOM: windowtext 1pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 31pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl83 width=41>34</TD><TD style="BORDER-BOTTOM: windowtext 1pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 31pt; BORDER-TOP: silver; BORDER-RIGHT: silver 0.5pt solid" class=xl83 width=41>17</TD><TD style="BORDER-BOTTOM: windowtext 1pt solid; BORDER-LEFT: silver; BACKGROUND-COLOR: transparent; WIDTH: 74pt; BORDER-TOP: silver; BORDER-RIGHT: windowtext 1pt solid" class=xl84 width=98>1</TD><TD style="BORDER-BOTTOM: windowtext 1pt solid; BORDER-LEFT: silver 0.5pt solid; BACKGROUND-COLOR: transparent; WIDTH: 44pt; BORDER-TOP: silver; BORDER-RIGHT: windowtext 1pt solid" class=xl84 width=58>0</TD></TR></TBODY></TABLE>
if we dont reach 10 deals then we set the last row for that center to 1 as can be seen from centre 3.
I have managed to do this using nested queries but unfortunately my access crashes every time I try to save the query, however the query does run.
Code:
[SIZE=2][COLOR=#0000ff][SIZE=2][COLOR=#0000ff]SELECT[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2] j[/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080].[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2]CentreNumber[/SIZE]
[SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080],[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2]j[/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080].[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2]NumObsGroup[/SIZE]
[SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080],[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2]j[/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080].[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2]Tours[/SIZE]
[SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080],[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2]j[/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080].[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2]Deals[/SIZE]
[SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080],[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2]j[/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080].[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2]AvgConversion[/SIZE]
[SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080],[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2]j[/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080].[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2]PctOccupancy[/SIZE]
[SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080],[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2]j[/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080].[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2]AvgDiscount[/SIZE]
[SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080],[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2]j[/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080].[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][Weighted Tours][/SIZE]
[SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080],[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2]j[/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080].[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][Weighted T-D][/SIZE]
[SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080],[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2]j[/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080].[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][Enough Deals?][/SIZE]
[SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080],[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2]IIf[/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080]([/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][MinOfNumObsGroup] [/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080]Is[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080]Null[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080]And[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2] [MaxLastTours] [/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080]Is[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080]Null,[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2]0[/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080],[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2]1[/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080])[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][COLOR=#0000ff][SIZE=2][COLOR=#0000ff]AS[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2] [Use Flag][/SIZE]
[SIZE=2][COLOR=#0000ff][SIZE=2][COLOR=#0000ff]FROM [/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080]([/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][COLOR=#0000ff][SIZE=2][COLOR=#0000ff]SELECT[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2] d[/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080].*[/COLOR][/SIZE]
[SIZE=2][COLOR=#808080],[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2]c[/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080].[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2]MinOfNumObsGroup[/SIZE]
[SIZE=2][COLOR=#0000ff][SIZE=2][COLOR=#0000ff]FROM [/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080](([/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][COLOR=#0000ff][SIZE=2][COLOR=#0000ff]SELECT[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2] a[/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080].[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2]CentreNumber[/SIZE]
[SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080],[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][COLOR=#ff00ff][SIZE=2][COLOR=#ff00ff]Min[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080]([/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2]a[/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080].[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2]NumObsGroup[/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080])[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][COLOR=#0000ff][SIZE=2][COLOR=#0000ff]AS[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2] MinOfNumObsGroup[/SIZE]
[SIZE=2][COLOR=#0000ff][SIZE=2][COLOR=#0000ff]FROM [/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080]([/COLOR][/SIZE]
[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff][SIZE=2][COLOR=#0000ff]SELECT[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2] b[/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080].[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2]CentreNumber[/SIZE]
[SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080],[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2]b[/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080].[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2]NumObsGroup[/SIZE]
[SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080],[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][COLOR=#0000ff][SIZE=2][COLOR=#0000ff]First[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080]([/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2]b[/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080].[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][Enough Deals?][/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080])[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][COLOR=#0000ff][SIZE=2][COLOR=#0000ff]AS[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2] [FirstOfEnough Deals?][/SIZE]
[SIZE=2][COLOR=#0000ff][SIZE=2][COLOR=#0000ff]FROM[/COLOR][/SIZE][/COLOR][/SIZE]
[SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080]([/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][COLOR=#0000ff][SIZE=2][COLOR=#0000ff]SELECT[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2] Dev_GPP_tourchunks[/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080].[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2]CentreNumber[/SIZE]
[SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080],[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2]Dev_GPP_tourchunks[/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080].[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2]NumObsGroup[/SIZE]
[SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080],[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2]Dev_GPP_tourchunks[/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080].[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2]Tours[/SIZE]
[SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080],[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2]Dev_GPP_tourchunks[/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080].[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2]Deals[/SIZE]
[SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080],[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2]Dev_GPP_tourchunks[/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080].[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2]AvgConversion[/SIZE]
[SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080],[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2]Dev_GPP_tourchunks[/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080].[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2]PctOccupancy[/SIZE]
[SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080],[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2]Dev_GPP_tourchunks[/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080].[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2]AvgDiscount[/SIZE]
[SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080],[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][Dev_GPP_tourchunks][/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080]![/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][Tours][/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080]*([/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2]1[/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080]-[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2]IIf[/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080]([/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2]0[/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080]>([/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2]IIf[/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080]([/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][Dev_GPP_tourchunks][/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080]![/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][PctOccupancy][/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080]<[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2]1[/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080],[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][Dev_GPP_tourchunks][/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080]![/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][PctOccupancy][/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080],[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2]1[/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080])-[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][Dev_GPP_Assumptions][/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080]![/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][Occupacy at which T:D starts to drop][/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080]),[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2]0[/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080],([/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2]IIf[/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080]([/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][Dev_GPP_tourchunks][/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080]![/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][PctOccupancy][/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080]<[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2]1[/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080],[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][Dev_GPP_tourchunks][/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080]![/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][PctOccupancy][/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080],[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2]1[/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080])-[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][Dev_GPP_Assumptions][/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080]![/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][Occupacy at which T:D starts to drop][/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080]))*[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][Dev_GPP_Assumptions][/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080]![/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][Tour defferential for occupancy][/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080]*[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2]100[/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080])[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][COLOR=#0000ff][SIZE=2][COLOR=#0000ff]AS[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2] [Weighted Tours][/SIZE]
[SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080],[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][Dev_GPP_tourchunks][/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080]![/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][Deals][/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080]/[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][Weighted Tours] [/SIZE][SIZE=2][COLOR=#0000ff][SIZE=2][COLOR=#0000ff]AS[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2] [Weighted T-D][/SIZE]
[SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080],[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2]IIf[/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080]([/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][Dev_GPP_tourchunks][/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080]![/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][Deals][/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080]>=[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][Dev_GPP_Assumptions][/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080]![/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][Required Deals][/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080],[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2]1[/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080],[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2]0[/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080])[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][COLOR=#0000ff][SIZE=2][COLOR=#0000ff]AS[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2] [Enough Deals?][/SIZE]
[SIZE=2][COLOR=#0000ff][SIZE=2][COLOR=#0000ff]FROM[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2] Dev_GPP_tourchunks[/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080],[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2] Dev_GPP_Assumptions [/SIZE][SIZE=2][COLOR=#0000ff][SIZE=2][COLOR=#0000ff]ORDER[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][COLOR=#0000ff][SIZE=2][COLOR=#0000ff]BY[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2] Dev_GPP_tourchunks[/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080].[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2]CentreNumber[/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080],[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2] Dev_GPP_tourchunks[/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080].[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2]NumObsGroup[/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080])[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][COLOR=#0000ff][SIZE=2][COLOR=#0000ff]AS[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2] b [/SIZE][SIZE=2][COLOR=#0000ff][SIZE=2][COLOR=#0000ff]GROUP[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][COLOR=#0000ff][SIZE=2][COLOR=#0000ff]BY[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2] b[/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080].[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2]CentreNumber[/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080],[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2] b[/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080].[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2]NumObsGroup [/SIZE][SIZE=2][COLOR=#0000ff][SIZE=2][COLOR=#0000ff]HAVING [/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080]((([/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][COLOR=#0000ff][SIZE=2][COLOR=#0000ff]First[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080]([/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2]b[/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080].[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][Enough Deals?][/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080]))=[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2]1[/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080])))[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][COLOR=#0000ff][SIZE=2][COLOR=#0000ff]AS[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2] a[/SIZE]
[SIZE=2][COLOR=#0000ff][SIZE=2][COLOR=#0000ff]GROUP[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][COLOR=#0000ff][SIZE=2][COLOR=#0000ff]BY[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2] a[/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080].[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2]CentreNumber[/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080])[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2]c[/SIZE]
[SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080])[/COLOR][/SIZE]
[SIZE=2][COLOR=#808080]RIGHT[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080]JOIN[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080]([/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][COLOR=#0000ff][SIZE=2][COLOR=#0000ff]SELECT[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2] Dev_GPP_tourchunks[/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080].[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2]CentreNumber[/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080],[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2] Dev_GPP_tourchunks[/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080].[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2]NumObsGroup[/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080],[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2] Dev_GPP_tourchunks[/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080].[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2]Tours[/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080],[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2] Dev_GPP_tourchunks[/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080].[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2]Deals[/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080],[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2] Dev_GPP_tourchunks[/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080].[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2]AvgConversion[/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080],[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2] Dev_GPP_tourchunks[/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080].[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2]PctOccupancy[/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080],[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2] Dev_GPP_tourchunks[/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080].[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2]AvgDiscount[/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080],[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2] [Dev_GPP_tourchunks][/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080]![/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][Tours][/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080]*([/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2]1[/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080]-[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2]IIf[/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080]([/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2]0[/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080]>([/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2]IIf[/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080]([/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][Dev_GPP_tourchunks][/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080]![/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][PctOccupancy][/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080]<[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2]1[/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080],[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][Dev_GPP_tourchunks][/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080]![/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][PctOccupancy][/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080],[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2]1[/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080])-[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][Dev_GPP_Assumptions][/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080]![/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][Occupacy at which T:D starts to drop][/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080]),[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2]0[/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080],([/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2]IIf[/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080]([/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][Dev_GPP_tourchunks][/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080]![/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][PctOccupancy][/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080]<[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2]1[/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080],[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][Dev_GPP_tourchunks][/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080]![/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][PctOccupancy][/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080],[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2]1[/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080])-[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][Dev_GPP_Assumptions][/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080]![/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][Occupacy at which T:D starts to drop][/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080]))*[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][Dev_GPP_Assumptions][/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080]![/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][Tour defferential for occupancy][/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080]*[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2]100[/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080])[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][COLOR=#0000ff][SIZE=2][COLOR=#0000ff]AS[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2] [Weighted Tours][/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080],[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2] [Dev_GPP_tourchunks][/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080]![/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][Deals][/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080]/[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][Weighted Tours] [/SIZE][SIZE=2][COLOR=#0000ff][SIZE=2][COLOR=#0000ff]AS[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2] [Weighted T-D][/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080],[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2] IIf[/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080]([/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][Dev_GPP_tourchunks][/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080]![/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][Deals][/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080]>=[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][Dev_GPP_Assumptions][/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080]![/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][Required Deals][/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080],[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2]1[/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080],[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2]0[/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080])[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][COLOR=#0000ff][SIZE=2][COLOR=#0000ff]AS[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2] [Enough Deals?][/SIZE]
[SIZE=2][COLOR=#0000ff][SIZE=2][COLOR=#0000ff]FROM[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2] Dev_GPP_tourchunks[/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080],[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2] Dev_GPP_Assumptions[/SIZE]
[SIZE=2][COLOR=#0000ff][SIZE=2][COLOR=#0000ff]ORDER[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][COLOR=#0000ff][SIZE=2][COLOR=#0000ff]BY[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2] Dev_GPP_tourchunks[/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080].[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2]CentreNumber[/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080],[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2] Dev_GPP_tourchunks[/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080].[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2]NumObsGroup[/SIZE]
[SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080])[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2]d [/SIZE]
[SIZE=2][COLOR=#0000ff][SIZE=2][COLOR=#0000ff]ON [/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080]([/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2]c[/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080].[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2]CentreNumber[/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080]=[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2]d[/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080].[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2]CentreNumber[/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080])[/COLOR][/SIZE][/COLOR][/SIZE]
[SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080]AND[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080]([/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2]c[/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080].[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2]MinOfNumObsGroup[/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080]=[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2]d[/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080].[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2]NumObsGroup[/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080])[/COLOR][/SIZE]
[SIZE=2][COLOR=#808080])[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2]j [/SIZE]
[SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080]LEFT[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080]JOIN[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080]([/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][COLOR=#0000ff][SIZE=2][COLOR=#0000ff]SELECT[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2] g[/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080].[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2]CentreNumber[/SIZE]
[SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080],[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2]IIf[/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080]([/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][MinOfNumObsGroup] [/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080]Is[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080]Null,[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2]40[/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080],[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2]0[/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080])[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][COLOR=#0000ff][SIZE=2][COLOR=#0000ff]AS[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2] MaxLastTours[/SIZE]
[SIZE=2][COLOR=#0000ff][SIZE=2][COLOR=#0000ff]FROM [/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080]([/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][COLOR=#0000ff][SIZE=2][COLOR=#0000ff]SELECT[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2] f[/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080].[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2]CentreNumber[/SIZE]
[SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080],[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][COLOR=#ff00ff][SIZE=2][COLOR=#ff00ff]Min[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080]([/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2]f[/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080].[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2]NumObsGroup[/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080])[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][COLOR=#0000ff][SIZE=2][COLOR=#0000ff]AS[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2] MinOfNumObsGroup[/SIZE]
[SIZE=2][COLOR=#0000ff][SIZE=2][COLOR=#0000ff]FROM[/COLOR][/SIZE][/COLOR][/SIZE]
[SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080]([/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][COLOR=#0000ff][SIZE=2][COLOR=#0000ff]SELECT[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2] e[/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080].[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2]CentreNumber[/SIZE]
[SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080],[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2]e[/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080].[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2]NumObsGroup[/SIZE]
[SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080],[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][COLOR=#0000ff][SIZE=2][COLOR=#0000ff]First[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080]([/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2]e[/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080].[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][Enough Deals?][/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080])[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][COLOR=#0000ff][SIZE=2][COLOR=#0000ff]AS[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2] [FirstOfEnough Deals?] [/SIZE]
[SIZE=2][COLOR=#0000ff][SIZE=2][COLOR=#0000ff]FROM[/COLOR][/SIZE][/COLOR][/SIZE]
[SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080]([/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][COLOR=#0000ff][SIZE=2][COLOR=#0000ff]SELECT[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2] Dev_GPP_tourchunks[/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080].[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2]CentreNumber[/SIZE]
[SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080],[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2]Dev_GPP_tourchunks[/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080].[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2]NumObsGroup[/SIZE]
[SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080],[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2]Dev_GPP_tourchunks[/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080].[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2]Tours[/SIZE]
[SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080],[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2]Dev_GPP_tourchunks[/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080].[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2]Deals[/SIZE]
[SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080],[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2]Dev_GPP_tourchunks[/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080].[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2]AvgConversion[/SIZE]
[SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080],[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2]Dev_GPP_tourchunks[/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080].[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2]PctOccupancy[/SIZE]
[SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080],[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2]Dev_GPP_tourchunks[/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080].[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2]AvgDiscount[/SIZE]
[SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080],[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][Dev_GPP_tourchunks][/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080]![/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][Tours][/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080]*([/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2]1[/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080]-[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2]IIf[/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080]([/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2]0[/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080]>([/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2]IIf[/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080]([/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][Dev_GPP_tourchunks][/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080]![/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][PctOccupancy][/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080]<[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2]1[/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080],[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][Dev_GPP_tourchunks][/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080]![/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][PctOccupancy][/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080],[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2]1[/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080])-[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][Dev_GPP_Assumptions][/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080]![/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][Occupacy at which T:D starts to drop][/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080]),[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2]0[/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080],([/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2]IIf[/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080]([/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][Dev_GPP_tourchunks][/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080]![/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][PctOccupancy][/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080]<[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2]1[/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080],[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][Dev_GPP_tourchunks][/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080]![/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][PctOccupancy][/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080],[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2]1[/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080])-[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][Dev_GPP_Assumptions][/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080]![/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][Occupacy at which T:D starts to drop][/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080]))*[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][Dev_GPP_Assumptions][/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080]![/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][Tour defferential for occupancy][/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080]*[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2]100[/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080])[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][COLOR=#0000ff][SIZE=2][COLOR=#0000ff]AS[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2] [Weighted Tours][/SIZE]
[SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080],[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][Dev_GPP_tourchunks][/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080]![/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][Deals][/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080]/[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][Weighted Tours] [/SIZE][SIZE=2][COLOR=#0000ff][SIZE=2][COLOR=#0000ff]AS[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2] [Weighted T-D][/SIZE]
[SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080],[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2]IIf[/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080]([/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][Dev_GPP_tourchunks][/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080]![/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][Deals][/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080]>=[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][Dev_GPP_Assumptions][/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080]![/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][Required Deals][/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080],[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2]1[/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080],[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2]0[/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080])[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][COLOR=#0000ff][SIZE=2][COLOR=#0000ff]AS[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2] [Enough Deals?][/SIZE]
[SIZE=2][COLOR=#0000ff][SIZE=2][COLOR=#0000ff]FROM[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2] Dev_GPP_tourchunks[/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080],[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2] Dev_GPP_Assumptions [/SIZE]
[SIZE=2][COLOR=#0000ff][SIZE=2][COLOR=#0000ff]ORDER[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][COLOR=#0000ff][SIZE=2][COLOR=#0000ff]BY[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2] Dev_GPP_tourchunks[/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080].[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2]CentreNumber[/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080],[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2] Dev_GPP_tourchunks[/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080].[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2]NumObsGroup[/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080])[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][COLOR=#0000ff][SIZE=2][COLOR=#0000ff]AS[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2] e [/SIZE][SIZE=2][COLOR=#0000ff][SIZE=2][COLOR=#0000ff]GROUP[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][COLOR=#0000ff][SIZE=2][COLOR=#0000ff]BY[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2] e[/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080].[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2]CentreNumber[/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080],[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2] e[/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080].[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2]NumObsGroup [/SIZE][SIZE=2][COLOR=#0000ff][SIZE=2][COLOR=#0000ff]HAVING [/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080]((([/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][COLOR=#0000ff][SIZE=2][COLOR=#0000ff]First[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080]([/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2]e[/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080].[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][Enough Deals?][/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080]))=[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2]1[/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080])))[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][COLOR=#0000ff][SIZE=2][COLOR=#0000ff]AS[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2] f[/SIZE]
[SIZE=2][COLOR=#0000ff][SIZE=2][COLOR=#0000ff]GROUP[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][COLOR=#0000ff][SIZE=2][COLOR=#0000ff]BY[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2] f[/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080].[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2]CentreNumber[/SIZE]
[SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080])[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2]h[/SIZE]
[SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080]RIGHT[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080]JOIN[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080]([/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][COLOR=#0000ff][SIZE=2][COLOR=#0000ff]SELECT[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2] Dev_GPP_tourchunks[/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080].[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2]CentreNumber[/SIZE]
[SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080],[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2]Dev_GPP_tourchunks[/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080].[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2]NumObsGroup[/SIZE]
[SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080],[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2]Dev_GPP_tourchunks[/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080].[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2]Tours[/SIZE]
[SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080],[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2]Dev_GPP_tourchunks[/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080].[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2]Deals[/SIZE]
[SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080],[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2]Dev_GPP_tourchunks[/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080].[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2]AvgConversion[/SIZE]
[SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080],[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2]Dev_GPP_tourchunks[/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080].[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2]PctOccupancy[/SIZE]
[SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080],[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2]Dev_GPP_tourchunks[/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080].[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2]AvgDiscount[/SIZE]
[SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080],[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][Dev_GPP_tourchunks][/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080]![/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][Tours][/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080]*([/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2]1[/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080]-[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2]IIf[/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080]([/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2]0[/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080]>([/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2]IIf[/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080]([/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][Dev_GPP_tourchunks][/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080]![/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][PctOccupancy][/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080]<[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2]1[/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080],[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][Dev_GPP_tourchunks][/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080]![/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][PctOccupancy][/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080],[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2]1[/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080])-[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][Dev_GPP_Assumptions][/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080]![/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][Occupacy at which T:D starts to drop][/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080]),[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2]0[/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080],([/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2]IIf[/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080]([/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][Dev_GPP_tourchunks][/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080]![/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][PctOccupancy][/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080]<[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2]1[/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080],[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][Dev_GPP_tourchunks][/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080]![/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][PctOccupancy][/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080],[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2]1[/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080])-[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][Dev_GPP_Assumptions][/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080]![/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][Occupacy at which T:D starts to drop][/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080]))*[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][Dev_GPP_Assumptions][/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080]![/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][Tour defferential for occupancy][/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080]*[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2]100[/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080])[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][COLOR=#0000ff][SIZE=2][COLOR=#0000ff]AS[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2] [Weighted Tours][/SIZE]
[SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080],[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][Dev_GPP_tourchunks][/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080]![/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][Deals][/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080]/[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][Weighted Tours] [/SIZE][SIZE=2][COLOR=#0000ff][SIZE=2][COLOR=#0000ff]AS[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2] [Weighted T-D][/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080],[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2] IIf[/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080]([/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][Dev_GPP_tourchunks][/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080]![/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][Deals][/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080]>=[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][Dev_GPP_Assumptions][/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080]![/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][Required Deals][/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080],[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2]1[/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080],[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2]0[/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080])[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][COLOR=#0000ff][SIZE=2][COLOR=#0000ff]AS[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2] [Enough Deals?][/SIZE]
[SIZE=2][COLOR=#0000ff][SIZE=2][COLOR=#0000ff]FROM[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2] Dev_GPP_tourchunks[/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080],[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2] Dev_GPP_Assumptions[/SIZE]
[SIZE=2][COLOR=#0000ff][SIZE=2][COLOR=#0000ff]ORDER[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][COLOR=#0000ff][SIZE=2][COLOR=#0000ff]BY[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2] Dev_GPP_tourchunks[/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080].[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2]CentreNumber[/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080],[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2] Dev_GPP_tourchunks[/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080].[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2]NumObsGroup[/SIZE]
[SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080])[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2]g[/SIZE]
[SIZE=2][COLOR=#0000ff][SIZE=2][COLOR=#0000ff]ON[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2] h[/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080].[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2]CentreNumber [/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080]=[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2] g[/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080].[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2]CentreNumber[/SIZE]
[SIZE=2][COLOR=#0000ff][SIZE=2][COLOR=#0000ff]GROUP[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][COLOR=#0000ff][SIZE=2][COLOR=#0000ff]BY[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2] g[/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080].[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2]CentreNumber[/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080],[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2] IIf[/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080]([/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][MinOfNumObsGroup] [/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080]Is[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080]Null,[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2]40[/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080],[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2]0[/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080])[/COLOR][/SIZE]
[SIZE=2][COLOR=#808080])[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2]i[/SIZE]
[SIZE=2][COLOR=#0000ff][SIZE=2][COLOR=#0000ff]ON [/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080]([/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2]j[/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080].[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2]NumObsGroup [/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080]=[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2] i[/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080].[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2]MaxLastTours[/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080])[/COLOR][/SIZE][/COLOR][/SIZE]
[SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080]AND[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080]([/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2]j[/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080].[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2]CentreNumber [/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080]=[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2] i[/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080].[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2]CentreNumber[/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080])[/COLOR][/SIZE]
[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff][SIZE=2][COLOR=#0000ff]ORDER[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][COLOR=#0000ff][SIZE=2][COLOR=#0000ff]BY[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2] j[/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080].[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2]CentreNumber[/SIZE]
[SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080],[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2]j[/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080].[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2]NumObsGroup[/SIZE][SIZE=2][COLOR=#808080][SIZE=2][COLOR=#808080];[/COLOR][/SIZE]
[/COLOR][/SIZE]
The question is how can I read two rows from a query dataset in a function?
Can I use .BOF and .EOF in a function refering to a query?
Thanks in advance
Kind Regards
D
Last edited: