Hi,
I have the following data
<table width="546" border="0" cellpadding="0" cellspacing="0"><colgroup><col style="mso-width-source:userset;mso-width-alt:5924;width:122pt" width="162"> <col style="width:48pt" span="6" width="64"> </colgroup><tbody><tr style="height:12.75pt" height="17"> <td style="height:12.75pt;width:122pt" width="162" height="17">S&P CNX NIFTY"Date"</td> <td style="width:48pt" width="64">Open</td> <td style="width:48pt" width="64">High</td> <td style="width:48pt" width="64">Low</td> <td style="width:48pt" width="64">Close</td> <td style="width:48pt" width="64">Shares Traded</td> <td style="width:48pt" width="64">Turnover (Rs. Cr)</td> </tr> <tr style="height:12.75pt" height="17"> <td class="xl22" style="height:12.75pt" align="right" height="17">03-Jun-11</td> <td align="right">5565.7</td> <td align="right">5604.95</td> <td align="right">5507.2</td> <td align="right">5516.75</td> <td align="right">1.01E+08</td> <td align="right">4757.1</td> </tr> </tbody></table>
I need to change the above data to the following format
S&PCNXNIFTY,20110603,5565.70,5604.95,5507.20,5516.75,101017598
I have totally 19 symbols in 38 Rows ( Data filled in Two rows for each symbol like above example)
Finally i need only 19rows in the above format and delete the remaining rows.
Kindly request your help in this regard
The problem is in extracting the Symbol Name in Range "A1" to Range "A2" and then symbol name in Range "A3" to Range "A4" etc.,
Thank you
I have the following data
<table width="546" border="0" cellpadding="0" cellspacing="0"><colgroup><col style="mso-width-source:userset;mso-width-alt:5924;width:122pt" width="162"> <col style="width:48pt" span="6" width="64"> </colgroup><tbody><tr style="height:12.75pt" height="17"> <td style="height:12.75pt;width:122pt" width="162" height="17">S&P CNX NIFTY"Date"</td> <td style="width:48pt" width="64">Open</td> <td style="width:48pt" width="64">High</td> <td style="width:48pt" width="64">Low</td> <td style="width:48pt" width="64">Close</td> <td style="width:48pt" width="64">Shares Traded</td> <td style="width:48pt" width="64">Turnover (Rs. Cr)</td> </tr> <tr style="height:12.75pt" height="17"> <td class="xl22" style="height:12.75pt" align="right" height="17">03-Jun-11</td> <td align="right">5565.7</td> <td align="right">5604.95</td> <td align="right">5507.2</td> <td align="right">5516.75</td> <td align="right">1.01E+08</td> <td align="right">4757.1</td> </tr> </tbody></table>
I need to change the above data to the following format
S&PCNXNIFTY,20110603,5565.70,5604.95,5507.20,5516.75,101017598
I have totally 19 symbols in 38 Rows ( Data filled in Two rows for each symbol like above example)
Finally i need only 19rows in the above format and delete the remaining rows.
Kindly request your help in this regard
The problem is in extracting the Symbol Name in Range "A1" to Range "A2" and then symbol name in Range "A3" to Range "A4" etc.,
Thank you