I have a data set in Excel 2003 which looks like this:
<table border="0" cellpadding="0" cellspacing="0" width="105"><colgroup><col style="mso-width-source:userset;mso-width-alt:2005;width:35pt" width="47"> <col style="mso-width-source:userset;mso-width-alt:2474;width:44pt" width="58"> </colgroup><tbody><tr style="height:12.0pt" height="16"> <td class="xl22" style="height:12.0pt;width:35pt" height="16" width="47">Name</td> <td class="xl22" style="width:44pt" width="58">Qualification</td> </tr> <tr style="height:12.0pt" height="16"> <td style="height:12.0pt" height="16">Kalyani</td> <td>Graduate</td> </tr> <tr style="height:12.0pt" height="16"> <td style="height:12.0pt" height="16">Kalyani</td> <td>PostGrad</td> </tr> <tr style="height:12.0pt" height="16"> <td style="height:12.0pt" height="16">Kalyani</td> <td>Doctrate</td> </tr> <tr style="height:12.0pt" height="16"> <td style="height:12.0pt" height="16">Hari</td> <td>Graduate</td> </tr> <tr style="height:12.0pt" height="16"> <td style="height:12.0pt" height="16">Hari</td> <td>Doctrate</td> </tr> </tbody></table>
I want the data transposed in the following manner. Kindly write a Macro to achieve this problem.
Kalyani Graduate PostGrad Doctrate
Hari Graduate PostGrad Docrate
This requirement is urgent.
Thanking you.
<table border="0" cellpadding="0" cellspacing="0" width="105"><colgroup><col style="mso-width-source:userset;mso-width-alt:2005;width:35pt" width="47"> <col style="mso-width-source:userset;mso-width-alt:2474;width:44pt" width="58"> </colgroup><tbody><tr style="height:12.0pt" height="16"> <td class="xl22" style="height:12.0pt;width:35pt" height="16" width="47">Name</td> <td class="xl22" style="width:44pt" width="58">Qualification</td> </tr> <tr style="height:12.0pt" height="16"> <td style="height:12.0pt" height="16">Kalyani</td> <td>Graduate</td> </tr> <tr style="height:12.0pt" height="16"> <td style="height:12.0pt" height="16">Kalyani</td> <td>PostGrad</td> </tr> <tr style="height:12.0pt" height="16"> <td style="height:12.0pt" height="16">Kalyani</td> <td>Doctrate</td> </tr> <tr style="height:12.0pt" height="16"> <td style="height:12.0pt" height="16">Hari</td> <td>Graduate</td> </tr> <tr style="height:12.0pt" height="16"> <td style="height:12.0pt" height="16">Hari</td> <td>Doctrate</td> </tr> </tbody></table>
I want the data transposed in the following manner. Kindly write a Macro to achieve this problem.
Kalyani Graduate PostGrad Doctrate
Hari Graduate PostGrad Docrate
This requirement is urgent.
Thanking you.
Last edited: