Hi I'm trying to do the following. I have a sheet 1 with 7 columns and then another sheet 2 with 4 columns
sheet 1
<table border="0" cellpadding="0" cellspacing="0" width="448"><col style="width: 48pt;" span="7" width="64"> <tbody><tr style="height: 12.75pt;" height="17"> <td style="height: 12.75pt; width: 48pt;" height="17" width="64">Phrase</td> <td style="width: 48pt;" width="64">Amount</td> <td style="width: 48pt;" width="64">Variable1</td> <td style="width: 48pt;" width="64">Variable2</td> <td style="width: 48pt;" width="64">Variable3</td> <td style="width: 48pt;" width="64">Variable4</td> <td style="width: 48pt;" width="64">Variable5</td> </tr> <tr style="height: 12.75pt;" height="17"> <td style="height: 12.75pt;" height="17">text1</td> <td align="right">1000</td> <td align="right">123</td> <td align="right">345</td> <td align="right">654</td> <td align="right">345</td> <td align="right">234</td> </tr> <tr style="height: 12.75pt;" height="17"> <td style="height: 12.75pt;" height="17">text2</td> <td align="right">324234</td> <td align="right">335</td> <td align="right">987</td> <td align="right">345</td> <td align="right">765</td> <td align="right">654</td> </tr> <tr style="height: 12.75pt;" height="17"> <td style="height: 12.75pt;" height="17">text3</td> <td align="right">234</td> <td align="right">123</td> <td align="right">567</td> <td align="right">176</td> <td align="right">456</td> <td align="right">765</td> </tr> <tr style="height: 12.75pt;" height="17"> <td style="height: 12.75pt;" height="17">text4</td> <td align="right">324</td> <td align="right">435</td> <td align="right">324</td> <td align="right">897</td> <td align="right">876</td> <td align="right">555</td> </tr> </tbody></table>
Sheet 2
<table border="0" cellpadding="0" cellspacing="0" width="288"><col style="width: 48pt;" width="64"> <col style="width: 72pt;" width="96"> <col style="width: 48pt;" span="2" width="64"> <tbody><tr style="height: 12.75pt;" height="17"> <td style="height: 12.75pt; width: 48pt;" height="17" width="64">Phrase</td> <td style="width: 72pt;" width="96">Site</td> <td style="width: 48pt;" width="64">Variable</td> <td style="width: 48pt;" width="64">Result</td> </tr> <tr style="height: 12.75pt;" height="17"> <td style="height: 12.75pt;" height="17">text1</td> <td>www.site1.com</td> <td>Variable1</td> <td>
</td> </tr> <tr style="height: 12.75pt;" height="17"> <td style="height: 12.75pt;" height="17">text3</td> <td>www.site2.com</td> <td>Variable3</td> <td>
</td> </tr> <tr style="height: 12.75pt;" height="17"> <td style="height: 12.75pt;" height="17">text2</td> <td>www.site3.com</td> <td>Variable2</td> <td>
</td> </tr> <tr style="height: 12.75pt;" height="17"> <td style="height: 12.75pt;" height="17">text4</td> <td>www.site4.com</td> <td>Variable5</td> <td>
</td> </tr> </tbody></table>
The column Result is empty and would like to fill in the value of the phrase and the variable from Sheet 1.
So for example in the first row in Sheet 2, the first cell in column Result would be '123' because I am simply looking for the value of Phrase text1 and column variable1 in sheet 1.
Any help would be appreciated.
eddy
PS I apologise for re-posting this but the original post made not sense at all!
sheet 1
<table border="0" cellpadding="0" cellspacing="0" width="448"><col style="width: 48pt;" span="7" width="64"> <tbody><tr style="height: 12.75pt;" height="17"> <td style="height: 12.75pt; width: 48pt;" height="17" width="64">Phrase</td> <td style="width: 48pt;" width="64">Amount</td> <td style="width: 48pt;" width="64">Variable1</td> <td style="width: 48pt;" width="64">Variable2</td> <td style="width: 48pt;" width="64">Variable3</td> <td style="width: 48pt;" width="64">Variable4</td> <td style="width: 48pt;" width="64">Variable5</td> </tr> <tr style="height: 12.75pt;" height="17"> <td style="height: 12.75pt;" height="17">text1</td> <td align="right">1000</td> <td align="right">123</td> <td align="right">345</td> <td align="right">654</td> <td align="right">345</td> <td align="right">234</td> </tr> <tr style="height: 12.75pt;" height="17"> <td style="height: 12.75pt;" height="17">text2</td> <td align="right">324234</td> <td align="right">335</td> <td align="right">987</td> <td align="right">345</td> <td align="right">765</td> <td align="right">654</td> </tr> <tr style="height: 12.75pt;" height="17"> <td style="height: 12.75pt;" height="17">text3</td> <td align="right">234</td> <td align="right">123</td> <td align="right">567</td> <td align="right">176</td> <td align="right">456</td> <td align="right">765</td> </tr> <tr style="height: 12.75pt;" height="17"> <td style="height: 12.75pt;" height="17">text4</td> <td align="right">324</td> <td align="right">435</td> <td align="right">324</td> <td align="right">897</td> <td align="right">876</td> <td align="right">555</td> </tr> </tbody></table>
Sheet 2
<table border="0" cellpadding="0" cellspacing="0" width="288"><col style="width: 48pt;" width="64"> <col style="width: 72pt;" width="96"> <col style="width: 48pt;" span="2" width="64"> <tbody><tr style="height: 12.75pt;" height="17"> <td style="height: 12.75pt; width: 48pt;" height="17" width="64">Phrase</td> <td style="width: 72pt;" width="96">Site</td> <td style="width: 48pt;" width="64">Variable</td> <td style="width: 48pt;" width="64">Result</td> </tr> <tr style="height: 12.75pt;" height="17"> <td style="height: 12.75pt;" height="17">text1</td> <td>www.site1.com</td> <td>Variable1</td> <td>
</td> </tr> <tr style="height: 12.75pt;" height="17"> <td style="height: 12.75pt;" height="17">text3</td> <td>www.site2.com</td> <td>Variable3</td> <td>
</td> </tr> <tr style="height: 12.75pt;" height="17"> <td style="height: 12.75pt;" height="17">text2</td> <td>www.site3.com</td> <td>Variable2</td> <td>
</td> </tr> <tr style="height: 12.75pt;" height="17"> <td style="height: 12.75pt;" height="17">text4</td> <td>www.site4.com</td> <td>Variable5</td> <td>
</td> </tr> </tbody></table>
The column Result is empty and would like to fill in the value of the phrase and the variable from Sheet 1.
So for example in the first row in Sheet 2, the first cell in column Result would be '123' because I am simply looking for the value of Phrase text1 and column variable1 in sheet 1.
Any help would be appreciated.
eddy
PS I apologise for re-posting this but the original post made not sense at all!