I have a column of text that contains multi word strings, and some of the text has brackets in it. In adjacent columns there is numerical data I want to pull using vlookup.
For example:
<table style="width: 491px; height: 85px;" border="0" cellpadding="0" cellspacing="0"><colgroup><col style="mso-width-source:userset;mso-width-alt:8192;width:168pt" width="224"> <col style="width:48pt" span="3" width="64"> </colgroup><tbody><tr style="height:15.0pt" height="20"> <td style="height:15.0pt;width:168pt" width="224" height="20">[accommodation for london]</td> <td style="width:48pt" width="64" align="right">2.87</td> <td style="width:48pt" width="64" align="right">0</td> <td style="width:48pt" width="64" align="right">0</td> </tr> <tr style="height:15.0pt" height="20"> <td style="height:15.0pt" height="20">[accommodation holiday]</td> <td align="right">2.87</td> <td align="right">0</td> <td align="right">0</td> </tr> <tr style="height:15.0pt" height="20"> <td style="height:15.0pt" height="20">[accommodation on beach]</td> <td align="right">2.87</td> <td align="right">0</td> <td align="right">0</td> </tr> </tbody></table>
I want to use vlookup, but its pulling the wrong text.
For example here are two columns, the first is the lookup_value used in vlookup, and the second column is the output with col_index of 1, in theory these should be the same:
<table style="width: 526px; height: 341px;" border="0" cellpadding="0" cellspacing="0"><colgroup><col style="width:48pt" width="64"> <col style="mso-width-source:userset;mso-width-alt:5741;width:118pt" width="157"> </colgroup><tbody><tr style="height:15.0pt" height="20"> <td style="height:15.0pt;width:48pt" width="64" height="20">island accommodation</td> <td class="xl63" style="width:118pt" width="157">home vacation rentals</td> </tr> <tr style="height:15.0pt" height="20"> <td style="height:15.0pt" height="20">villa rental</td> <td class="xl63">cottage on the beach</td> </tr> <tr style="height:15.0pt" height="20"> <td style="height:15.0pt" height="20">villa for rental</td> <td class="xl63">cottage on the beach</td> </tr> <tr style="height:15.0pt" height="20"> <td style="height:15.0pt" height="20">accommodation for london</td> <td class="xl63">[accommodation on beach]</td> </tr> <tr style="height:15.0pt" height="20"> <td style="height:15.0pt" height="20">cottages lake</td> <td class="xl63">cootages 4 you</td> </tr> <tr style="height:15.0pt" height="20"> <td style="height:15.0pt" height="20">cottages on the lake</td> <td class="xl63">cootages 4 you</td> </tr> <tr style="height:15.0pt" height="20"> <td style="height:15.0pt" height="20">lake cottages</td> <td class="xl63">home vacation rentals</td> </tr> <tr style="height:15.0pt" height="20"> <td style="height:15.0pt" height="20">villas for holiday</td> <td class="xl63">cottage on the beach</td> </tr> <tr style="height:15.0pt" height="20"> <td style="height:15.0pt" height="20">holiday villas</td> <td class="xl63">cootages 4 you</td> </tr> </tbody></table>
Any suggestions?
the exact vlookup command i am using is as follows:
=VLOOKUP($A4,Sheet2!$A:$W,B$3)
For example:
<table style="width: 491px; height: 85px;" border="0" cellpadding="0" cellspacing="0"><colgroup><col style="mso-width-source:userset;mso-width-alt:8192;width:168pt" width="224"> <col style="width:48pt" span="3" width="64"> </colgroup><tbody><tr style="height:15.0pt" height="20"> <td style="height:15.0pt;width:168pt" width="224" height="20">[accommodation for london]</td> <td style="width:48pt" width="64" align="right">2.87</td> <td style="width:48pt" width="64" align="right">0</td> <td style="width:48pt" width="64" align="right">0</td> </tr> <tr style="height:15.0pt" height="20"> <td style="height:15.0pt" height="20">[accommodation holiday]</td> <td align="right">2.87</td> <td align="right">0</td> <td align="right">0</td> </tr> <tr style="height:15.0pt" height="20"> <td style="height:15.0pt" height="20">[accommodation on beach]</td> <td align="right">2.87</td> <td align="right">0</td> <td align="right">0</td> </tr> </tbody></table>
I want to use vlookup, but its pulling the wrong text.
For example here are two columns, the first is the lookup_value used in vlookup, and the second column is the output with col_index of 1, in theory these should be the same:
<table style="width: 526px; height: 341px;" border="0" cellpadding="0" cellspacing="0"><colgroup><col style="width:48pt" width="64"> <col style="mso-width-source:userset;mso-width-alt:5741;width:118pt" width="157"> </colgroup><tbody><tr style="height:15.0pt" height="20"> <td style="height:15.0pt;width:48pt" width="64" height="20">island accommodation</td> <td class="xl63" style="width:118pt" width="157">home vacation rentals</td> </tr> <tr style="height:15.0pt" height="20"> <td style="height:15.0pt" height="20">villa rental</td> <td class="xl63">cottage on the beach</td> </tr> <tr style="height:15.0pt" height="20"> <td style="height:15.0pt" height="20">villa for rental</td> <td class="xl63">cottage on the beach</td> </tr> <tr style="height:15.0pt" height="20"> <td style="height:15.0pt" height="20">accommodation for london</td> <td class="xl63">[accommodation on beach]</td> </tr> <tr style="height:15.0pt" height="20"> <td style="height:15.0pt" height="20">cottages lake</td> <td class="xl63">cootages 4 you</td> </tr> <tr style="height:15.0pt" height="20"> <td style="height:15.0pt" height="20">cottages on the lake</td> <td class="xl63">cootages 4 you</td> </tr> <tr style="height:15.0pt" height="20"> <td style="height:15.0pt" height="20">lake cottages</td> <td class="xl63">home vacation rentals</td> </tr> <tr style="height:15.0pt" height="20"> <td style="height:15.0pt" height="20">villas for holiday</td> <td class="xl63">cottage on the beach</td> </tr> <tr style="height:15.0pt" height="20"> <td style="height:15.0pt" height="20">holiday villas</td> <td class="xl63">cootages 4 you</td> </tr> </tbody></table>
Any suggestions?
the exact vlookup command i am using is as follows:
=VLOOKUP($A4,Sheet2!$A:$W,B$3)