CharlieBeth
New Member
- Joined
- Sep 28, 2011
- Messages
- 18
Search through a whole page with tables like this (sorry, bad pasting), find a name (e.g. Shaun G) and the amount (in this case £43.28) and display them together?
<table border="0" cellpadding="0" cellspacing="0" width="680"><col style="width: 128pt;" span="4" width="170"> <tbody><tr style="height: 12.75pt;" height="17"> <td class="xl24" style="height: 12.75pt; width: 128pt;" height="17" width="170">Cleaner 1</td> <td class="xl24" style="width: 128pt;" width="170">Cleaner 2</td> <td class="xl24" style="width: 128pt;" width="170">Cleaner 3</td> <td class="xl24" style="width: 128pt;" width="170">Cleaner 4</td> </tr> <tr style="height: 12.75pt;" height="17"> <td class="xl27" style="height: 12.75pt;" height="17">Shaun G</td> <td class="xl27" style="border-left: medium none;">Ryan B</td> <td class="xl27" style="border-left: medium none;">Wayne M</td> <td class="xl27" style="border-left: medium none;">Emma C</td> </tr> <tr style="height: 12.75pt;" height="17"> <td class="xl25" style="height: 12.75pt; border-top: medium none;" height="17">X</td> <td class="xl25" style="border-top: medium none; border-left: medium none;">X</td> <td class="xl25" style="border-top: medium none; border-left: medium none;">X</td> <td class="xl25" style="border-top: medium none; border-left: medium none;">X</td> </tr> <tr style="height: 12.75pt;" height="17"> <td class="xl25" style="height: 12.75pt; border-top: medium none;" height="17">X</td> <td class="xl25" style="border-top: medium none; border-left: medium none;">X</td> <td class="xl25" style="border-top: medium none; border-left: medium none;">X</td> <td class="xl25" style="border-top: medium none; border-left: medium none;">X</td> </tr> <tr style="height: 12.75pt;" height="17"> <td class="xl25" style="height: 12.75pt; border-top: medium none;" height="17">X</td> <td class="xl25" style="border-top: medium none; border-left: medium none;">X</td> <td class="xl25" style="border-top: medium none; border-left: medium none;">X</td> <td class="xl25" style="border-top: medium none; border-left: medium none;">X</td> </tr> <tr style="height: 12.75pt;" height="17"> <td class="xl25" style="height: 12.75pt; border-top: medium none;" height="17">X</td> <td class="xl25" style="border-top: medium none; border-left: medium none;">X</td> <td class="xl25" style="border-top: medium none; border-left: medium none;">X</td> <td class="xl25" style="border-top: medium none; border-left: medium none;">X</td> </tr> <tr style="height: 12.75pt;" height="17"> <td class="xl25" style="height: 12.75pt; border-top: medium none;" height="17">X</td> <td class="xl25" style="border-top: medium none; border-left: medium none;">X</td> <td class="xl25" style="border-top: medium none; border-left: medium none;">X</td> <td class="xl25" style="border-top: medium none; border-left: medium none;">X</td> </tr> <tr style="height: 12.75pt;" height="17"> <td class="xl25" style="height: 12.75pt; border-top: medium none;" height="17">X</td> <td class="xl25" style="border-top: medium none; border-left: medium none;">X</td> <td class="xl25" style="border-top: medium none; border-left: medium none;">X</td> <td class="xl25" style="border-top: medium none; border-left: medium none;">X</td> </tr> <tr style="height: 12.75pt;" height="17"> <td class="xl25" style="height: 12.75pt; border-top: medium none;" height="17">X</td> <td class="xl25" style="border-top: medium none; border-left: medium none;">X</td> <td class="xl25" style="border-top: medium none; border-left: medium none;">X</td> <td class="xl25" style="border-top: medium none; border-left: medium none;">X</td> </tr> <tr style="height: 12.75pt;" height="17"> <td class="xl25" style="height: 12.75pt; border-top: medium none;" height="17">X</td> <td class="xl25" style="border-top: medium none; border-left: medium none;">X</td> <td class="xl25" style="border-top: medium none; border-left: medium none;">X</td> <td class="xl25" style="border-top: medium none; border-left: medium none;">X</td> </tr> <tr style="height: 12.75pt;" height="17"> <td class="xl25" style="height: 12.75pt; border-top: medium none;" height="17">X</td> <td class="xl25" style="border-top: medium none; border-left: medium none;">X</td> <td class="xl25" style="border-top: medium none; border-left: medium none;">X</td> <td class="xl25" style="border-top: medium none; border-left: medium none;">X</td> </tr> <tr style="height: 12.75pt;" height="17"> <td class="xl25" style="height: 12.75pt; border-top: medium none;" height="17">X</td> <td class="xl25" style="border-top: medium none; border-left: medium none;">X</td> <td class="xl25" style="border-top: medium none; border-left: medium none;">X</td> <td class="xl25" style="border-top: medium none; border-left: medium none;">X</td> </tr> <tr style="height: 12.75pt;" height="17"> <td class="xl25" style="height: 12.75pt; border-top: medium none;" height="17">
</td> <td class="xl25" style="border-top: medium none; border-left: medium none;">
</td> <td class="xl25" style="border-top: medium none; border-left: medium none;">
</td> <td class="xl25" style="border-top: medium none; border-left: medium none;">
</td> </tr> <tr style="height: 12.75pt;" height="17"> <td class="xl25" style="height: 12.75pt; border-top: medium none;" height="17">
</td> <td class="xl25" style="border-top: medium none; border-left: medium none;">
</td> <td class="xl25" style="border-top: medium none; border-left: medium none;">
</td> <td class="xl25" style="border-top: medium none; border-left: medium none;">
</td> </tr> <tr style="height: 12.75pt;" height="17"> <td class="xl26" style="height: 12.75pt; border-top: medium none;" height="17">£43.28</td> <td class="xl26" style="border-top: medium none; border-left: medium none;">£16.85</td> <td class="xl26" style="border-top: medium none; border-left: medium none;">£17.80</td> <td class="xl26" style="border-top: medium none; border-left: medium none;">£12.10</td> </tr> </tbody></table>
<table border="0" cellpadding="0" cellspacing="0" width="680"><col style="width: 128pt;" span="4" width="170"> <tbody><tr style="height: 12.75pt;" height="17"> <td class="xl24" style="height: 12.75pt; width: 128pt;" height="17" width="170">Cleaner 1</td> <td class="xl24" style="width: 128pt;" width="170">Cleaner 2</td> <td class="xl24" style="width: 128pt;" width="170">Cleaner 3</td> <td class="xl24" style="width: 128pt;" width="170">Cleaner 4</td> </tr> <tr style="height: 12.75pt;" height="17"> <td class="xl27" style="height: 12.75pt;" height="17">Shaun G</td> <td class="xl27" style="border-left: medium none;">Ryan B</td> <td class="xl27" style="border-left: medium none;">Wayne M</td> <td class="xl27" style="border-left: medium none;">Emma C</td> </tr> <tr style="height: 12.75pt;" height="17"> <td class="xl25" style="height: 12.75pt; border-top: medium none;" height="17">X</td> <td class="xl25" style="border-top: medium none; border-left: medium none;">X</td> <td class="xl25" style="border-top: medium none; border-left: medium none;">X</td> <td class="xl25" style="border-top: medium none; border-left: medium none;">X</td> </tr> <tr style="height: 12.75pt;" height="17"> <td class="xl25" style="height: 12.75pt; border-top: medium none;" height="17">X</td> <td class="xl25" style="border-top: medium none; border-left: medium none;">X</td> <td class="xl25" style="border-top: medium none; border-left: medium none;">X</td> <td class="xl25" style="border-top: medium none; border-left: medium none;">X</td> </tr> <tr style="height: 12.75pt;" height="17"> <td class="xl25" style="height: 12.75pt; border-top: medium none;" height="17">X</td> <td class="xl25" style="border-top: medium none; border-left: medium none;">X</td> <td class="xl25" style="border-top: medium none; border-left: medium none;">X</td> <td class="xl25" style="border-top: medium none; border-left: medium none;">X</td> </tr> <tr style="height: 12.75pt;" height="17"> <td class="xl25" style="height: 12.75pt; border-top: medium none;" height="17">X</td> <td class="xl25" style="border-top: medium none; border-left: medium none;">X</td> <td class="xl25" style="border-top: medium none; border-left: medium none;">X</td> <td class="xl25" style="border-top: medium none; border-left: medium none;">X</td> </tr> <tr style="height: 12.75pt;" height="17"> <td class="xl25" style="height: 12.75pt; border-top: medium none;" height="17">X</td> <td class="xl25" style="border-top: medium none; border-left: medium none;">X</td> <td class="xl25" style="border-top: medium none; border-left: medium none;">X</td> <td class="xl25" style="border-top: medium none; border-left: medium none;">X</td> </tr> <tr style="height: 12.75pt;" height="17"> <td class="xl25" style="height: 12.75pt; border-top: medium none;" height="17">X</td> <td class="xl25" style="border-top: medium none; border-left: medium none;">X</td> <td class="xl25" style="border-top: medium none; border-left: medium none;">X</td> <td class="xl25" style="border-top: medium none; border-left: medium none;">X</td> </tr> <tr style="height: 12.75pt;" height="17"> <td class="xl25" style="height: 12.75pt; border-top: medium none;" height="17">X</td> <td class="xl25" style="border-top: medium none; border-left: medium none;">X</td> <td class="xl25" style="border-top: medium none; border-left: medium none;">X</td> <td class="xl25" style="border-top: medium none; border-left: medium none;">X</td> </tr> <tr style="height: 12.75pt;" height="17"> <td class="xl25" style="height: 12.75pt; border-top: medium none;" height="17">X</td> <td class="xl25" style="border-top: medium none; border-left: medium none;">X</td> <td class="xl25" style="border-top: medium none; border-left: medium none;">X</td> <td class="xl25" style="border-top: medium none; border-left: medium none;">X</td> </tr> <tr style="height: 12.75pt;" height="17"> <td class="xl25" style="height: 12.75pt; border-top: medium none;" height="17">X</td> <td class="xl25" style="border-top: medium none; border-left: medium none;">X</td> <td class="xl25" style="border-top: medium none; border-left: medium none;">X</td> <td class="xl25" style="border-top: medium none; border-left: medium none;">X</td> </tr> <tr style="height: 12.75pt;" height="17"> <td class="xl25" style="height: 12.75pt; border-top: medium none;" height="17">X</td> <td class="xl25" style="border-top: medium none; border-left: medium none;">X</td> <td class="xl25" style="border-top: medium none; border-left: medium none;">X</td> <td class="xl25" style="border-top: medium none; border-left: medium none;">X</td> </tr> <tr style="height: 12.75pt;" height="17"> <td class="xl25" style="height: 12.75pt; border-top: medium none;" height="17">
</td> <td class="xl25" style="border-top: medium none; border-left: medium none;">
</td> <td class="xl25" style="border-top: medium none; border-left: medium none;">
</td> <td class="xl25" style="border-top: medium none; border-left: medium none;">
</td> </tr> <tr style="height: 12.75pt;" height="17"> <td class="xl25" style="height: 12.75pt; border-top: medium none;" height="17">
</td> <td class="xl25" style="border-top: medium none; border-left: medium none;">
</td> <td class="xl25" style="border-top: medium none; border-left: medium none;">
</td> <td class="xl25" style="border-top: medium none; border-left: medium none;">
</td> </tr> <tr style="height: 12.75pt;" height="17"> <td class="xl26" style="height: 12.75pt; border-top: medium none;" height="17">£43.28</td> <td class="xl26" style="border-top: medium none; border-left: medium none;">£16.85</td> <td class="xl26" style="border-top: medium none; border-left: medium none;">£17.80</td> <td class="xl26" style="border-top: medium none; border-left: medium none;">£12.10</td> </tr> </tbody></table>