Bus route matching, extract & count function

jamshoot

Board Regular
Joined
Oct 15, 2009
Messages
199
Hi

I have about 50 Bus Drivers operating along 100 routes. I want to capture how many of the 50 Bus drivers are operating some of the 100 routes. I have provide a portion of my data below .... & I need help on how to do it.
I know probably it require a function consists of match, vlookup, offset to it.
But I lack knowledge on putting this together.
Sheet1 is the Driver Route data on each driver operating route.
Sheet2 is the data I need to have a function to capture the Bus No. that operate in each route.
See the 1st example.
Can anyone help.
Cheers.

<table border="1" cellpadding="0" cellspacing="0"><tbody> <tr style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt; FONT-WEIGHT: bold"> <td>
</td> <td>B</td> <td>C</td> <td>D</td> <td>E</td> <td>F</td> <td>G</td> <td>H</td> <td>I</td> <td>J</td> <td>K</td> <td>L</td> <td>M</td> <td>N</td> <td>O</td></tr> <tr style="HEIGHT: 22px"> <td style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">1</td> <td style="TEXT-ALIGN: left; BACKGROUND-COLOR: #000000; FONT-FAMILY: Arial Narrow; COLOR: #ffffff; FONT-SIZE: 8pt; FONT-WEIGHT: bold">Sheet1</td> <td style="FONT-FAMILY: Arial Narrow; COLOR: #ffffff; FONT-SIZE: 8pt">
</td> <td style="FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">
</td> <td style="FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">
</td> <td style="FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">
</td> <td style="FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">
</td> <td style="FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">
</td> <td style="FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">
</td> <td style="FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">
</td> <td style="FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">
</td> <td style="FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">
</td> <td style="FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">
</td> <td style="FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">
</td> <td style="FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">
</td></tr> <tr style="HEIGHT: 22px"> <td style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">2</td> <td style="TEXT-ALIGN: left; FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt; FONT-WEIGHT: bold">Driver Route</td> <td style="FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">
</td> <td style="FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">
</td> <td style="FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">
</td> <td style="FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">
</td> <td style="FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">
</td> <td style="FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">
</td> <td style="FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">
</td> <td style="FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">
</td> <td style="FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">
</td> <td style="FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">
</td> <td style="FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">
</td> <td style="FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">
</td> <td style="FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">
</td></tr> <tr style="HEIGHT: 22px"> <td style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">3</td> <td style="TEXT-ALIGN: center; BACKGROUND-COLOR: #99ccff; FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt; FONT-WEIGHT: bold" rowspan="2">S/No</td> <td style="TEXT-ALIGN: center; BACKGROUND-COLOR: #99ccff; FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt; FONT-WEIGHT: bold" rowspan="2">Name</td> <td style="TEXT-ALIGN: center; BACKGROUND-COLOR: #99ccff; FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt; FONT-WEIGHT: bold" rowspan="2">Bus No</td> <td style="TEXT-ALIGN: center; BACKGROUND-COLOR: #99ccff; FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt; FONT-WEIGHT: bold" rowspan="2">Total Route</td> <td style="TEXT-ALIGN: center; FONT-FAMILY: Arial Narrow; COLOR: #ff0000; FONT-SIZE: 8pt; FONT-WEIGHT: bold" rowspan="2">R1</td> <td style="TEXT-ALIGN: center; FONT-FAMILY: Arial Narrow; COLOR: #ff0000; FONT-SIZE: 8pt; FONT-WEIGHT: bold" rowspan="2">R2</td> <td style="TEXT-ALIGN: center; FONT-FAMILY: Arial Narrow; COLOR: #ff0000; FONT-SIZE: 8pt; FONT-WEIGHT: bold" rowspan="2">R3</td> <td style="TEXT-ALIGN: center; FONT-FAMILY: Arial Narrow; COLOR: #ff0000; FONT-SIZE: 8pt; FONT-WEIGHT: bold" rowspan="2">R4</td> <td style="TEXT-ALIGN: center; FONT-FAMILY: Arial Narrow; COLOR: #ff0000; FONT-SIZE: 8pt; FONT-WEIGHT: bold" rowspan="2">R5</td> <td style="TEXT-ALIGN: center; FONT-FAMILY: Arial Narrow; COLOR: #ff0000; FONT-SIZE: 8pt; FONT-WEIGHT: bold" rowspan="2">R6</td> <td style="TEXT-ALIGN: center; FONT-FAMILY: Arial Narrow; COLOR: #ff0000; FONT-SIZE: 8pt; FONT-WEIGHT: bold" rowspan="2">R7</td> <td style="TEXT-ALIGN: center; FONT-FAMILY: Arial Narrow; COLOR: #ff0000; FONT-SIZE: 8pt; FONT-WEIGHT: bold" rowspan="2">R8</td> <td style="TEXT-ALIGN: center; FONT-FAMILY: Arial Narrow; COLOR: #ff0000; FONT-SIZE: 8pt; FONT-WEIGHT: bold" rowspan="2">R9</td> <td style="TEXT-ALIGN: center; FONT-FAMILY: Arial Narrow; COLOR: #ff0000; FONT-SIZE: 8pt; FONT-WEIGHT: bold" rowspan="2">R10</td></tr> <tr style="HEIGHT: 22px"> <td style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">4</td></tr> <tr style="HEIGHT: 22px"> <td style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">5</td> <td style="TEXT-ALIGN: center; FONT-SIZE: 8pt">1</td> <td style="FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">John</td> <td style="TEXT-ALIGN: center; FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">38</td> <td style="TEXT-ALIGN: center; FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">10</td> <td style="TEXT-ALIGN: center; BACKGROUND-COLOR: #ff9900; FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">1</td> <td style="TEXT-ALIGN: center; FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">2</td> <td style="TEXT-ALIGN: center; FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">3</td> <td style="TEXT-ALIGN: center; FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">4</td> <td style="TEXT-ALIGN: center; FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">5</td> <td style="TEXT-ALIGN: center; FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">6</td> <td style="TEXT-ALIGN: center; FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">7</td> <td style="TEXT-ALIGN: center; FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">8</td> <td style="TEXT-ALIGN: center; FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">9</td> <td style="TEXT-ALIGN: center; FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">10</td></tr> <tr style="HEIGHT: 22px"> <td style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">6</td> <td style="TEXT-ALIGN: center; FONT-SIZE: 8pt">2</td> <td style="FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">Nike</td> <td style="TEXT-ALIGN: center; FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">52</td> <td style="TEXT-ALIGN: center; FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">5</td> <td style="TEXT-ALIGN: center; FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">4</td> <td style="TEXT-ALIGN: center; FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">5</td> <td style="TEXT-ALIGN: center; FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">7</td> <td style="TEXT-ALIGN: center; FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">9</td> <td style="TEXT-ALIGN: center; FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">10</td> <td style="FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">
</td> <td style="FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">
</td> <td style="FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">
</td> <td style="FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">
</td> <td style="FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">
</td></tr> <tr style="HEIGHT: 22px"> <td style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">7</td> <td style="TEXT-ALIGN: center; FONT-SIZE: 8pt">3</td> <td style="FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">Mick</td> <td style="TEXT-ALIGN: center; FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">9</td> <td style="TEXT-ALIGN: center; FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">5</td> <td style="TEXT-ALIGN: center; FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">2</td> <td style="TEXT-ALIGN: center; FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">6</td> <td style="TEXT-ALIGN: center; FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">7</td> <td style="TEXT-ALIGN: center; FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">9</td> <td style="TEXT-ALIGN: center; FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">10</td> <td style="FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">
</td> <td style="FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">
</td> <td style="FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">
</td> <td style="FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">
</td> <td style="FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">
</td></tr> <tr style="HEIGHT: 22px"> <td style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">8</td> <td style="TEXT-ALIGN: center; FONT-SIZE: 8pt">4</td> <td style="FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">Sally</td> <td style="TEXT-ALIGN: center; FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">7</td> <td style="TEXT-ALIGN: center; FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">6</td> <td style="TEXT-ALIGN: center; BACKGROUND-COLOR: #ff9900; FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">1</td> <td style="TEXT-ALIGN: center; FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">2</td> <td style="TEXT-ALIGN: center; FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">4</td> <td style="TEXT-ALIGN: center; FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">5</td> <td style="TEXT-ALIGN: center; FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">8</td> <td style="TEXT-ALIGN: center; FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">9</td> <td style="FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">
</td> <td style="FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">
</td> <td style="FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">
</td> <td style="FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">
</td></tr> <tr style="HEIGHT: 22px"> <td style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">9</td> <td style="TEXT-ALIGN: center; FONT-SIZE: 8pt">5</td> <td style="FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">Jim</td> <td style="TEXT-ALIGN: center; FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">11</td> <td style="TEXT-ALIGN: center; FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">8</td> <td style="TEXT-ALIGN: center; FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">3</td> <td style="TEXT-ALIGN: center; FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">4</td> <td style="TEXT-ALIGN: center; FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">5</td> <td style="TEXT-ALIGN: center; FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">6</td> <td style="TEXT-ALIGN: center; FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">7</td> <td style="TEXT-ALIGN: center; FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">8</td> <td style="TEXT-ALIGN: center; FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">9</td> <td style="TEXT-ALIGN: center; FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">10</td> <td style="FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">
</td> <td style="FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">
</td></tr> <tr style="HEIGHT: 22px"> <td style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">10</td> <td style="TEXT-ALIGN: center; FONT-SIZE: 8pt">6</td> <td style="FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">Andy</td> <td style="TEXT-ALIGN: center; FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">17</td> <td style="TEXT-ALIGN: center; FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">10</td> <td style="TEXT-ALIGN: center; BACKGROUND-COLOR: #ff9900; FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">1</td> <td style="TEXT-ALIGN: center; FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">2</td> <td style="TEXT-ALIGN: center; FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">3</td> <td style="TEXT-ALIGN: center; FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">4</td> <td style="TEXT-ALIGN: center; FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">5</td> <td style="TEXT-ALIGN: center; FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">6</td> <td style="TEXT-ALIGN: center; FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">7</td> <td style="TEXT-ALIGN: center; FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">8</td> <td style="TEXT-ALIGN: center; FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">9</td> <td style="TEXT-ALIGN: center; FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">10</td></tr> <tr style="HEIGHT: 22px"> <td style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">11</td> <td style="TEXT-ALIGN: center; FONT-SIZE: 8pt">7</td> <td style="FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">Roy</td> <td style="TEXT-ALIGN: center; FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">15</td> <td style="TEXT-ALIGN: center; FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">9</td> <td style="TEXT-ALIGN: center; BACKGROUND-COLOR: #ff9900; FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">1</td> <td style="TEXT-ALIGN: center; FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">3</td> <td style="TEXT-ALIGN: center; FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">4</td> <td style="TEXT-ALIGN: center; FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">5</td> <td style="TEXT-ALIGN: center; FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">6</td> <td style="TEXT-ALIGN: center; FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">7</td> <td style="TEXT-ALIGN: center; FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">8</td> <td style="TEXT-ALIGN: center; FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">9</td> <td style="TEXT-ALIGN: center; FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">10</td> <td style="FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">
</td></tr> <tr style="HEIGHT: 22px"> <td style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">12</td> <td style="TEXT-ALIGN: center; FONT-SIZE: 8pt">8</td> <td style="FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">Richard</td> <td style="TEXT-ALIGN: center; FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">16</td> <td style="TEXT-ALIGN: center; FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">10</td> <td style="TEXT-ALIGN: center; BACKGROUND-COLOR: #ff9900; FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">1</td> <td style="TEXT-ALIGN: center; FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">2</td> <td style="TEXT-ALIGN: center; FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">3</td> <td style="TEXT-ALIGN: center; FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">4</td> <td style="TEXT-ALIGN: center; FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">5</td> <td style="TEXT-ALIGN: center; FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">6</td> <td style="TEXT-ALIGN: center; FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">7</td> <td style="TEXT-ALIGN: center; FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">8</td> <td style="TEXT-ALIGN: center; FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">9</td> <td style="TEXT-ALIGN: center; FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">10</td></tr> <tr style="HEIGHT: 22px"> <td style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">13</td> <td style="TEXT-ALIGN: center; FONT-SIZE: 8pt">9</td> <td style="FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">Ricky</td> <td style="TEXT-ALIGN: center; FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">50</td> <td style="TEXT-ALIGN: center; FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">10</td> <td style="TEXT-ALIGN: center; BACKGROUND-COLOR: #ff9900; FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">1</td> <td style="TEXT-ALIGN: center; FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">2</td> <td style="TEXT-ALIGN: center; FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">3</td> <td style="TEXT-ALIGN: center; FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">4</td> <td style="TEXT-ALIGN: center; FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">5</td> <td style="TEXT-ALIGN: center; FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">6</td> <td style="TEXT-ALIGN: center; FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">7</td> <td style="TEXT-ALIGN: center; FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">8</td> <td style="TEXT-ALIGN: center; FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">9</td> <td style="TEXT-ALIGN: center; FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">10</td></tr> <tr style="HEIGHT: 22px"> <td style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">14</td> <td style="TEXT-ALIGN: center; FONT-SIZE: 8pt">10</td> <td style="FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">William</td> <td style="TEXT-ALIGN: center; FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">15</td> <td style="TEXT-ALIGN: center; FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">6</td> <td style="TEXT-ALIGN: center; FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">5</td> <td style="TEXT-ALIGN: center; FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">6</td> <td style="TEXT-ALIGN: center; FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">7</td> <td style="TEXT-ALIGN: center; FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">8</td> <td style="TEXT-ALIGN: center; FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">9</td> <td style="TEXT-ALIGN: center; FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">10</td> <td style="FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">
</td> <td style="FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">
</td> <td style="FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">
</td> <td style="FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">
</td></tr></tbody></table>
<table style="BACKGROUND-COLOR: #ffffff; PADDING-LEFT: 2pt; PADDING-RIGHT: 2pt; FONT-FAMILY: Arial,Arial; FONT-SIZE: 10pt" border="1" cellpadding="0" cellspacing="0"> <colgroup> <col style="WIDTH: 30px; FONT-WEIGHT: bold"> <col style="WIDTH: 35px"> <col style="WIDTH: 27px"> <col style="WIDTH: 27px"> <col style="WIDTH: 27px"> <col style="WIDTH: 27px"> <col style="WIDTH: 27px"> <col style="WIDTH: 27px"> <col style="WIDTH: 27px"> <col style="WIDTH: 27px"> <col style="WIDTH: 27px"> <col style="WIDTH: 27px"> <col style="WIDTH: 64px"></colgroup> <tbody> <tr style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt; FONT-WEIGHT: bold"> <td>
</td> <td>A</td> <td>B</td> <td>C</td> <td>D</td> <td>E</td> <td>F</td> <td>G</td> <td>H</td> <td>I</td> <td>J</td> <td>K</td> <td>L</td></tr> <tr style="HEIGHT: 22px"> <td style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">1</td> <td style="TEXT-ALIGN: center; BACKGROUND-COLOR: #000000; FONT-FAMILY: Arial Narrow; COLOR: #ffffff; FONT-SIZE: 8pt; FONT-WEIGHT: bold">Sheet2</td> <td style="FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">
</td> <td style="FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">
</td> <td style="FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">
</td> <td style="FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">
</td> <td style="FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">
</td> <td style="FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">
</td> <td style="FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">
</td> <td style="FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">
</td> <td style="FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">
</td> <td style="FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">
</td> <td style="FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">
</td></tr> <tr style="HEIGHT: 22px"> <td style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">2</td> <td style="FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">
</td> <td style="TEXT-ALIGN: center; FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt; FONT-WEIGHT: bold" colspan="10">No.of Bus No. operating route</td> <td>
</td></tr> <tr style="HEIGHT: 22px"> <td style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">3</td> <td style="TEXT-ALIGN: center; FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">Route</td> <td style="TEXT-ALIGN: center; FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">1</td> <td style="TEXT-ALIGN: center; FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">2</td> <td style="TEXT-ALIGN: center; FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">3</td> <td style="TEXT-ALIGN: center; FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">4</td> <td style="TEXT-ALIGN: center; FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">5</td> <td style="TEXT-ALIGN: center; FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">6</td> <td style="TEXT-ALIGN: center; FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">7</td> <td style="TEXT-ALIGN: center; FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">8</td> <td style="TEXT-ALIGN: center; FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">9</td> <td style="TEXT-ALIGN: center; FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">10</td> <td style="TEXT-ALIGN: center; FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">Total Bus Count</td></tr> <tr style="HEIGHT: 22px"> <td style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">4</td> <td style="TEXT-ALIGN: center; FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">1</td> <td style="TEXT-ALIGN: center; FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">38</td> <td style="TEXT-ALIGN: center; FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">7</td> <td style="TEXT-ALIGN: center; FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">17</td> <td style="TEXT-ALIGN: center; FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">15</td> <td style="TEXT-ALIGN: center; FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">16</td> <td style="TEXT-ALIGN: center; FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">50</td> <td style="TEXT-ALIGN: center; FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">15</td> <td style="FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">
</td> <td style="FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">
</td> <td style="FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">
</td> <td style="TEXT-ALIGN: center; FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">7</td></tr> <tr style="HEIGHT: 22px"> <td style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">5</td> <td style="TEXT-ALIGN: center; FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">2</td> <td style="FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">
</td> <td style="FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">
</td> <td style="FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">
</td> <td style="FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">
</td> <td style="FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">
</td> <td style="FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">
</td> <td style="FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">
</td> <td style="FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">
</td> <td style="FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">
</td> <td style="FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">
</td> <td style="TEXT-ALIGN: center; FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">0</td></tr> <tr style="HEIGHT: 22px"> <td style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">6</td> <td style="TEXT-ALIGN: center; FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">3</td> <td style="FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">
</td> <td style="FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">
</td> <td style="FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">
</td> <td style="FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">
</td> <td style="FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">
</td> <td style="FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">
</td> <td style="FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">
</td> <td style="FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">
</td> <td style="FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">
</td> <td style="FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">
</td> <td style="TEXT-ALIGN: center; FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">0</td></tr> <tr style="HEIGHT: 22px"> <td style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">7</td> <td style="TEXT-ALIGN: center; FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">4</td> <td style="FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">
</td> <td style="FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">
</td> <td style="FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">
</td> <td style="FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">
</td> <td style="FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">
</td> <td style="FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">
</td> <td style="FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">
</td> <td style="FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">
</td> <td style="FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">
</td> <td style="FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">
</td> <td style="TEXT-ALIGN: center; FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">0</td></tr> <tr style="HEIGHT: 22px"> <td style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">8</td> <td style="TEXT-ALIGN: center; FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">5</td> <td style="FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">
</td> <td style="FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">
</td> <td style="FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">
</td> <td style="FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">
</td> <td style="FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">
</td> <td style="FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">
</td> <td style="FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">
</td> <td style="FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">
</td> <td style="FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">
</td> <td style="FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">
</td> <td style="TEXT-ALIGN: center; FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">0</td></tr> <tr style="HEIGHT: 22px"> <td style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">9</td> <td style="TEXT-ALIGN: center; FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">6</td> <td style="FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">
</td> <td style="FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">
</td> <td style="FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">
</td> <td style="FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">
</td> <td style="FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">
</td> <td style="FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">
</td> <td style="FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">
</td> <td style="FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">
</td> <td style="FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">
</td> <td style="FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">
</td> <td style="TEXT-ALIGN: center; FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">0</td></tr> <tr style="HEIGHT: 22px"> <td style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">10</td> <td style="TEXT-ALIGN: center; FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">7</td> <td style="FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">
</td> <td style="FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">
</td> <td style="FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">
</td> <td style="FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">
</td> <td style="FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">
</td> <td style="FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">
</td> <td style="FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">
</td> <td style="FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">
</td> <td style="FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">
</td> <td style="FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">
</td> <td style="TEXT-ALIGN: center; FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">0</td></tr> <tr style="HEIGHT: 22px"> <td style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">11</td> <td style="TEXT-ALIGN: center; FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">8</td> <td style="FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">
</td> <td style="FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">
</td> <td style="FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">
</td> <td style="FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">
</td> <td style="FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">
</td> <td style="FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">
</td> <td style="FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">
</td> <td style="FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">
</td> <td style="FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">
</td> <td style="FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">
</td> <td style="TEXT-ALIGN: center; FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">0</td></tr> <tr style="HEIGHT: 22px"> <td style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">12</td> <td style="TEXT-ALIGN: center; FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">9</td> <td style="FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">
</td> <td style="FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">
</td> <td style="FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">
</td> <td style="FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">
</td> <td style="FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">
</td> <td style="FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">
</td> <td style="FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">
</td> <td style="FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">
</td> <td style="FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">
</td> <td style="FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">
</td> <td style="TEXT-ALIGN: center; FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">0</td></tr> <tr style="HEIGHT: 22px"> <td style="TEXT-ALIGN: center; BACKGROUND-COLOR: #cacaca; FONT-SIZE: 8pt">13</td> <td style="TEXT-ALIGN: center; FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">10</td> <td style="FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">
</td> <td style="FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">
</td> <td style="FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">
</td> <td style="FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">
</td> <td style="FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">
</td> <td style="FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">
</td> <td style="FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">
</td> <td style="FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">
</td> <td style="FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">
</td> <td style="FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">
</td> <td style="TEXT-ALIGN: center; FONT-FAMILY: Arial Narrow; FONT-SIZE: 8pt">0</td></tr></tbody></table>
 

Excel Facts

Do you hate GETPIVOTDATA?
Prevent GETPIVOTDATA. Select inside a PivotTable. In the Analyze tab of the ribbon, open the dropown next to Options and turn it off
Hi T.Valko & markmzz

A million thanks to both of u. I have tried both methods & it works great.
Esp to markmzz for your detail explanations - appreciate very much.

Cheers

Jamshoot,

I'm happy that your problem was solved.

And thank you for the feedback.

Markmzz
 
Upvote 0

Forum statistics

Threads
1,224,530
Messages
6,179,373
Members
452,907
Latest member
Roland Deschain

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top