Hello,
I am using Excel 2007.
I have a list of data that I am trying to parsed out intto separate columns depending on criteria in the first column/list of data.
Example data:
<table style="border-collapse: collapse;" border="0" cellpadding="0" cellspacing="0" width="477" height="741"><col style="width: 210pt;" width="280"> <tbody><tr style="height: 15pt;" height="20"> <td class="xl63" style="height: 15pt; width: 210pt;" width="280" height="20">dial-peer voice 10000 pots</td> </tr> <tr style="height: 15pt;" height="20"> <td style="height: 15pt;" height="20">destination-pattern 5128793604</td> </tr> <tr style="height: 15pt;" height="20"> <td class="xl63" style="height: 15pt;" height="20">dial-peer voice 999 pots</td> </tr> <tr style="height: 15pt;" height="20"> <td class="xl63" style="height: 15pt;" height="20">dial-peer voice 500 pots</td> </tr> <tr style="height: 15pt;" height="20"> <td style="height: 15pt;" height="20">destination-pattern 91..........</td> </tr> <tr style="height: 15pt;" height="20"> <td class="xl63" style="height: 15pt;" height="20">dial-peer voice 10911 pots</td> </tr> <tr style="height: 15pt;" height="20"> <td style="height: 15pt;" height="20">destination-pattern 911</td> </tr> <tr style="height: 15pt;" height="20"> <td class="xl63" style="height: 15pt;" height="20">dial-peer voice 501 pots</td> </tr> <tr style="height: 15pt;" height="20"> <td style="height: 15pt;" height="20">destination-pattern 99...........</td> </tr> <tr style="height: 15pt;" height="20"> <td style="height: 15pt;" height="20">clid network-number 7183706200</td> </tr> <tr style="height: 15pt;" height="20"> <td class="xl63" style="height: 15pt;" height="20">dial-peer voice 3 voip</td> </tr> <tr style="height: 15pt;" height="20"> <td style="height: 15pt;" height="20">destination-pattern 91719579....</td> </tr> <tr style="height: 15pt;" height="20"> <td class="xl63" style="height: 15pt;" height="20">dial-peer voice 4 voip</td> </tr> <tr style="height: 15pt;" height="20"> <td style="height: 15pt;" height="20">destination-pattern 7195796224</td> </tr> <tr style="height: 15pt;" height="20"> <td class="xl63" style="height: 15pt;" height="20">dial-peer voice 2 voip</td> </tr> <tr style="height: 15pt;" height="20"> <td style="height: 15pt;" height="20">destination-pattern 918335....</td> </tr> <tr style="height: 15pt;" height="20"> <td class="xl63" style="height: 15pt;" height="20">dial-peer voice 5000 pots</td> </tr> <tr style="height: 15pt;" height="20"> <td style="height: 15pt;" height="20">translation-profile outgoing MASKOUT</td> </tr> <tr style="height: 15pt;" height="20"> <td style="height: 15pt;" height="20">destination-pattern 91800[2-9]......</td> </tr> <tr style="height: 15pt;" height="20"> <td style="height: 15pt;" height="20">clid network-number 2623241431</td> </tr> <tr style="height: 15pt;" height="20"> <td class="xl63" style="height: 15pt;" height="20">dial-peer voice 5005 pots</td> </tr> <tr style="height: 15pt;" height="20"> <td style="height: 15pt;" height="20">translation-profile outgoing MASKOUT</td> </tr> <tr style="height: 15pt;" height="20"> <td style="height: 15pt;" height="20">destination-pattern 914023937444</td> </tr> <tr style="height: 15pt;" height="20"> <td class="xl63" style="height: 15pt;" height="20">dial-peer voice 6000 pots</td> </tr> <tr style="height: 15pt;" height="20"> <td style="height: 15pt;" height="20">translation-profile outgoing S2420_transfer</td> </tr> <tr style="height: 15pt;" height="20"> <td style="height: 15pt;" height="20">destination-pattern 917403895585</td> </tr> </tbody></table>
Expected output:
<table style="border-collapse: collapse;" border="0" cellpadding="0" cellspacing="0" width="943" height="380"><col style="width: 154pt;" width="205"> <col style="width: 215pt;" width="287"> <col style="width: 173pt;" width="230"> <col style="width: 164pt;" width="219"> <tbody><tr style="height: 15pt;" height="20"> <td class="xl65" style="height: 15pt; width: 154pt;" width="205" height="20">dial-peer voice 10000 pots</td> <td style="width: 215pt;" width="287">destination-pattern 5128793604</td> <td style="width: 173pt;" width="230">
</td> <td style="width: 164pt;" width="219">
</td> </tr> <tr style="height: 15pt;" height="20"> <td class="xl65" style="height: 15pt;" height="20">dial-peer voice 999 pots</td> <td>
</td> <td>
</td> <td>
</td> </tr> <tr style="height: 15pt;" height="20"> <td class="xl65" style="height: 15pt;" height="20">dial-peer voice 500 pots</td> <td>destination-pattern 91..........</td> <td>
</td> <td>
</td> </tr> <tr style="height: 15pt;" height="20"> <td class="xl65" style="height: 15pt;" height="20">dial-peer voice 10911 pots</td> <td>destination-pattern 911</td> <td>
</td> <td>
</td> </tr> <tr style="height: 15pt;" height="20"> <td class="xl65" style="height: 15pt;" height="20">dial-peer voice 501 pots</td> <td>destination-pattern 99...........</td> <td>
</td> <td>clid network-number 7183706200</td> </tr> <tr style="height: 15pt;" height="20"> <td class="xl65" style="height: 15pt;" height="20">dial-peer voice 3 voip</td> <td>destination-pattern 91719579....</td> <td>
</td> <td>
</td> </tr> <tr style="height: 15pt;" height="20"> <td class="xl65" style="height: 15pt;" height="20">dial-peer voice 4 voip</td> <td>destination-pattern 7195796224</td> <td>
</td> <td>
</td> </tr> <tr style="height: 15pt;" height="20"> <td class="xl65" style="height: 15pt;" height="20">dial-peer voice 2 voip</td> <td>destination-pattern 918335....</td> <td>
</td> <td>
</td> </tr> <tr style="height: 15pt;" height="20"> <td class="xl65" style="height: 15pt;" height="20">dial-peer voice 5000 pots</td> <td>translation-profile outgoing MASKOUT</td> <td>destination-pattern 91800[2-9]......</td> <td>clid network-number 2623241431</td> </tr> <tr style="height: 15pt;" height="20"> <td class="xl65" style="height: 15pt;" height="20">dial-peer voice 5005 pots</td> <td>translation-profile outgoing MASKOUT</td> <td>destination-pattern 914023937444</td> <td>
</td> </tr> <tr style="height: 15pt;" height="20"> <td class="xl65" style="height: 15pt;" height="20">dial-peer voice 6000 pots</td> <td>translation-profile outgoing S2420_transfer</td> <td>destination-pattern 917403895585</td> <td>
</td> </tr> </tbody></table>
Is there an easy way this can be done?
I am using Excel 2007.
I have a list of data that I am trying to parsed out intto separate columns depending on criteria in the first column/list of data.
Example data:
<table style="border-collapse: collapse;" border="0" cellpadding="0" cellspacing="0" width="477" height="741"><col style="width: 210pt;" width="280"> <tbody><tr style="height: 15pt;" height="20"> <td class="xl63" style="height: 15pt; width: 210pt;" width="280" height="20">dial-peer voice 10000 pots</td> </tr> <tr style="height: 15pt;" height="20"> <td style="height: 15pt;" height="20">destination-pattern 5128793604</td> </tr> <tr style="height: 15pt;" height="20"> <td class="xl63" style="height: 15pt;" height="20">dial-peer voice 999 pots</td> </tr> <tr style="height: 15pt;" height="20"> <td class="xl63" style="height: 15pt;" height="20">dial-peer voice 500 pots</td> </tr> <tr style="height: 15pt;" height="20"> <td style="height: 15pt;" height="20">destination-pattern 91..........</td> </tr> <tr style="height: 15pt;" height="20"> <td class="xl63" style="height: 15pt;" height="20">dial-peer voice 10911 pots</td> </tr> <tr style="height: 15pt;" height="20"> <td style="height: 15pt;" height="20">destination-pattern 911</td> </tr> <tr style="height: 15pt;" height="20"> <td class="xl63" style="height: 15pt;" height="20">dial-peer voice 501 pots</td> </tr> <tr style="height: 15pt;" height="20"> <td style="height: 15pt;" height="20">destination-pattern 99...........</td> </tr> <tr style="height: 15pt;" height="20"> <td style="height: 15pt;" height="20">clid network-number 7183706200</td> </tr> <tr style="height: 15pt;" height="20"> <td class="xl63" style="height: 15pt;" height="20">dial-peer voice 3 voip</td> </tr> <tr style="height: 15pt;" height="20"> <td style="height: 15pt;" height="20">destination-pattern 91719579....</td> </tr> <tr style="height: 15pt;" height="20"> <td class="xl63" style="height: 15pt;" height="20">dial-peer voice 4 voip</td> </tr> <tr style="height: 15pt;" height="20"> <td style="height: 15pt;" height="20">destination-pattern 7195796224</td> </tr> <tr style="height: 15pt;" height="20"> <td class="xl63" style="height: 15pt;" height="20">dial-peer voice 2 voip</td> </tr> <tr style="height: 15pt;" height="20"> <td style="height: 15pt;" height="20">destination-pattern 918335....</td> </tr> <tr style="height: 15pt;" height="20"> <td class="xl63" style="height: 15pt;" height="20">dial-peer voice 5000 pots</td> </tr> <tr style="height: 15pt;" height="20"> <td style="height: 15pt;" height="20">translation-profile outgoing MASKOUT</td> </tr> <tr style="height: 15pt;" height="20"> <td style="height: 15pt;" height="20">destination-pattern 91800[2-9]......</td> </tr> <tr style="height: 15pt;" height="20"> <td style="height: 15pt;" height="20">clid network-number 2623241431</td> </tr> <tr style="height: 15pt;" height="20"> <td class="xl63" style="height: 15pt;" height="20">dial-peer voice 5005 pots</td> </tr> <tr style="height: 15pt;" height="20"> <td style="height: 15pt;" height="20">translation-profile outgoing MASKOUT</td> </tr> <tr style="height: 15pt;" height="20"> <td style="height: 15pt;" height="20">destination-pattern 914023937444</td> </tr> <tr style="height: 15pt;" height="20"> <td class="xl63" style="height: 15pt;" height="20">dial-peer voice 6000 pots</td> </tr> <tr style="height: 15pt;" height="20"> <td style="height: 15pt;" height="20">translation-profile outgoing S2420_transfer</td> </tr> <tr style="height: 15pt;" height="20"> <td style="height: 15pt;" height="20">destination-pattern 917403895585</td> </tr> </tbody></table>
Expected output:
<table style="border-collapse: collapse;" border="0" cellpadding="0" cellspacing="0" width="943" height="380"><col style="width: 154pt;" width="205"> <col style="width: 215pt;" width="287"> <col style="width: 173pt;" width="230"> <col style="width: 164pt;" width="219"> <tbody><tr style="height: 15pt;" height="20"> <td class="xl65" style="height: 15pt; width: 154pt;" width="205" height="20">dial-peer voice 10000 pots</td> <td style="width: 215pt;" width="287">destination-pattern 5128793604</td> <td style="width: 173pt;" width="230">
</td> <td style="width: 164pt;" width="219">
</td> </tr> <tr style="height: 15pt;" height="20"> <td class="xl65" style="height: 15pt;" height="20">dial-peer voice 999 pots</td> <td>
</td> <td>
</td> <td>
</td> </tr> <tr style="height: 15pt;" height="20"> <td class="xl65" style="height: 15pt;" height="20">dial-peer voice 500 pots</td> <td>destination-pattern 91..........</td> <td>
</td> <td>
</td> </tr> <tr style="height: 15pt;" height="20"> <td class="xl65" style="height: 15pt;" height="20">dial-peer voice 10911 pots</td> <td>destination-pattern 911</td> <td>
</td> <td>
</td> </tr> <tr style="height: 15pt;" height="20"> <td class="xl65" style="height: 15pt;" height="20">dial-peer voice 501 pots</td> <td>destination-pattern 99...........</td> <td>
</td> <td>clid network-number 7183706200</td> </tr> <tr style="height: 15pt;" height="20"> <td class="xl65" style="height: 15pt;" height="20">dial-peer voice 3 voip</td> <td>destination-pattern 91719579....</td> <td>
</td> <td>
</td> </tr> <tr style="height: 15pt;" height="20"> <td class="xl65" style="height: 15pt;" height="20">dial-peer voice 4 voip</td> <td>destination-pattern 7195796224</td> <td>
</td> <td>
</td> </tr> <tr style="height: 15pt;" height="20"> <td class="xl65" style="height: 15pt;" height="20">dial-peer voice 2 voip</td> <td>destination-pattern 918335....</td> <td>
</td> <td>
</td> </tr> <tr style="height: 15pt;" height="20"> <td class="xl65" style="height: 15pt;" height="20">dial-peer voice 5000 pots</td> <td>translation-profile outgoing MASKOUT</td> <td>destination-pattern 91800[2-9]......</td> <td>clid network-number 2623241431</td> </tr> <tr style="height: 15pt;" height="20"> <td class="xl65" style="height: 15pt;" height="20">dial-peer voice 5005 pots</td> <td>translation-profile outgoing MASKOUT</td> <td>destination-pattern 914023937444</td> <td>
</td> </tr> <tr style="height: 15pt;" height="20"> <td class="xl65" style="height: 15pt;" height="20">dial-peer voice 6000 pots</td> <td>translation-profile outgoing S2420_transfer</td> <td>destination-pattern 917403895585</td> <td>
</td> </tr> </tbody></table>
Is there an easy way this can be done?