shadyshawn
New Member
- Joined
- Dec 28, 2010
- Messages
- 46
I got a report exported from another program, but is in rtf format (something like below):<table class="MsoNormalTable" style="width:368.0pt;margin-left:4.65pt;border-collapse:collapse;mso-yfti-tbllook: 1184;mso-padding-alt:0cm 5.4pt 0cm 5.4pt" border="0" cellpadding="0" cellspacing="0" width="491"><tbody><tr style="mso-yfti-irow:0;mso-yfti-firstrow:yes;height:12.75pt"><td style="width:368.0pt;padding:0cm 5.4pt 0cm 5.4pt; height:12.75pt" nowrap="nowrap" valign="bottom" width="491">
</td> </tr> <tr style="mso-yfti-irow:1;height:12.75pt"> <td style="width:368.0pt;padding:0cm 5.4pt 0cm 5.4pt; height:12.75pt" nowrap="nowrap" valign="bottom" width="491">
</td> </tr> <tr style="mso-yfti-irow:2;height:12.75pt"> <td style="width:368.0pt;padding:0cm 5.4pt 0cm 5.4pt; height:12.75pt" nowrap="nowrap" valign="bottom" width="491"> [FONT="] ID Name Date: 08/09/11[/FONT]
</td> </tr> <tr style="mso-yfti-irow:3;height:12.75pt"> <td style="width:368.0pt;padding:0cm 5.4pt 0cm 5.4pt; height:12.75pt" nowrap="nowrap" valign="bottom" width="491">
</td> </tr> <tr style="mso-yfti-irow:4;height:12.75pt"> <td style="width:368.0pt;padding:0cm 5.4pt 0cm 5.4pt; height:12.75pt" nowrap="nowrap" valign="bottom" width="491"> [FONT="] 15808 Smith, Joe [/FONT]
</td> </tr> <tr style="mso-yfti-irow:5;height:12.75pt"> <td style="width:368.0pt;padding:0cm 5.4pt 0cm 5.4pt; height:12.75pt" nowrap="nowrap" valign="bottom" width="491"> [FONT="] Sick, Unsched Unpd 9:30 100.00%[/FONT]
</td> </tr> <tr style="mso-yfti-irow:6;height:12.75pt"> <td style="width:368.0pt;padding:0cm 5.4pt 0cm 5.4pt; height:12.75pt" nowrap="nowrap" valign="bottom" width="491"> [FONT="] Total 9:30[/FONT]
</td> </tr> <tr style="mso-yfti-irow:7;height:12.75pt"> <td style="width:368.0pt;padding:0cm 5.4pt 0cm 5.4pt; height:12.75pt" nowrap="nowrap" valign="bottom" width="491">
</td> </tr> <tr style="mso-yfti-irow:8;height:12.75pt"> <td style="width:368.0pt;padding:0cm 5.4pt 0cm 5.4pt; height:12.75pt" nowrap="nowrap" valign="bottom" width="491"> [FONT="] 6981 Doe, Jane [/FONT]
</td> </tr> <tr style="mso-yfti-irow:9;height:12.75pt"> <td style="width:368.0pt;padding:0cm 5.4pt 0cm 5.4pt; height:12.75pt" nowrap="nowrap" valign="bottom" width="491"> [FONT="] Sick, Unsched Unpd 9:30 100.00%[/FONT]
</td> </tr> <tr style="mso-yfti-irow:10;height:12.75pt"> <td style="width:368.0pt;padding:0cm 5.4pt 0cm 5.4pt; height:12.75pt" nowrap="nowrap" valign="bottom" width="491"> [FONT="] Total 9:30[/FONT]
</td> </tr> <tr style="mso-yfti-irow:11;height:12.75pt"> <td style="width:368.0pt;padding:0cm 5.4pt 0cm 5.4pt; height:12.75pt" nowrap="nowrap" valign="bottom" width="491">
</td> </tr> <tr style="mso-yfti-irow:12;height:12.75pt"> <td style="width:368.0pt;padding:0cm 5.4pt 0cm 5.4pt; height:12.75pt" nowrap="nowrap" valign="bottom" width="491"> [FONT="] 14652 Leblanc, Johnny [/FONT]
</td> </tr> <tr style="mso-yfti-irow:13;height:12.75pt"> <td style="width:368.0pt;padding:0cm 5.4pt 0cm 5.4pt; height:12.75pt" nowrap="nowrap" valign="bottom" width="491"> [FONT="] Late Unpd 1:02 88.57%[/FONT]
</td> </tr> <tr style="mso-yfti-irow:14;height:12.75pt"> <td style="width:368.0pt;padding:0cm 5.4pt 0cm 5.4pt; height:12.75pt" nowrap="nowrap" valign="bottom" width="491"> [FONT="] Late from Break Unpd 0:06 8.57%[/FONT]
</td> </tr> <tr style="mso-yfti-irow:15;height:12.75pt"> <td style="width:368.0pt;padding:0cm 5.4pt 0cm 5.4pt; height:12.75pt" nowrap="nowrap" valign="bottom" width="491"> [FONT="] Unauth Unpaid Break 0:02 2.86%[/FONT]
</td> </tr> <tr style="mso-yfti-irow:16;height:12.75pt"> <td style="width:368.0pt;padding:0cm 5.4pt 0cm 5.4pt; height:12.75pt" nowrap="nowrap" valign="bottom" width="491"> [FONT="] Total 1:10[/FONT]
</td> </tr> <tr style="mso-yfti-irow:17;height:12.75pt"> <td style="width:368.0pt;padding:0cm 5.4pt 0cm 5.4pt; height:12.75pt" nowrap="nowrap" valign="bottom" width="491">
</td> </tr> <tr style="mso-yfti-irow:18;height:12.75pt"> <td style="width:368.0pt;padding:0cm 5.4pt 0cm 5.4pt; height:12.75pt" nowrap="nowrap" valign="bottom" width="491"> [FONT="] 6166 Macy, Linda [/FONT]
</td> </tr> <tr style="mso-yfti-irow:19;height:12.75pt"> <td style="width:368.0pt;padding:0cm 5.4pt 0cm 5.4pt; height:12.75pt" nowrap="nowrap" valign="bottom" width="491"> [FONT="] Sick, Unsched Unpd 3:30 100.00%[/FONT]
</td> </tr> <tr style="mso-yfti-irow:20;mso-yfti-lastrow:yes;height:12.75pt"> <td style="width:368.0pt;padding:0cm 5.4pt 0cm 5.4pt; height:12.75pt" nowrap="nowrap" valign="bottom" width="491"> [FONT="] Total 3:30[/FONT]
</td> </tr> </tbody></table>
Is there way I can format the data into something like this after pasting it into excel? I tried to use text to column but didn't get what I needed.
[FONT="]Smith, Joe[/FONT][FONT="] Sick, Unsched Unpd [/FONT][FONT="] [/FONT][FONT="]9:30 [/FONT]
[FONT="] Doe, Jane [/FONT][FONT="] Sick, Unsched Unpd 9:30 [/FONT]
[FONT="]Leblanc, Johnny[/FONT] [FONT="]Late Unpd 1:02 [/FONT]
[FONT="]Leblanc, Johnny[/FONT] [FONT="]Late from Break Unpd 0:06 [/FONT]
[FONT="]Leblanc, Johnny [/FONT][FONT="]Unauth Unpaid Break 0:02[/FONT]
Any help is greatly appreciated!
</td> </tr> <tr style="mso-yfti-irow:1;height:12.75pt"> <td style="width:368.0pt;padding:0cm 5.4pt 0cm 5.4pt; height:12.75pt" nowrap="nowrap" valign="bottom" width="491">
</td> </tr> <tr style="mso-yfti-irow:2;height:12.75pt"> <td style="width:368.0pt;padding:0cm 5.4pt 0cm 5.4pt; height:12.75pt" nowrap="nowrap" valign="bottom" width="491"> [FONT="] ID Name Date: 08/09/11[/FONT]
</td> </tr> <tr style="mso-yfti-irow:3;height:12.75pt"> <td style="width:368.0pt;padding:0cm 5.4pt 0cm 5.4pt; height:12.75pt" nowrap="nowrap" valign="bottom" width="491">
</td> </tr> <tr style="mso-yfti-irow:4;height:12.75pt"> <td style="width:368.0pt;padding:0cm 5.4pt 0cm 5.4pt; height:12.75pt" nowrap="nowrap" valign="bottom" width="491"> [FONT="] 15808 Smith, Joe [/FONT]
</td> </tr> <tr style="mso-yfti-irow:5;height:12.75pt"> <td style="width:368.0pt;padding:0cm 5.4pt 0cm 5.4pt; height:12.75pt" nowrap="nowrap" valign="bottom" width="491"> [FONT="] Sick, Unsched Unpd 9:30 100.00%[/FONT]
</td> </tr> <tr style="mso-yfti-irow:6;height:12.75pt"> <td style="width:368.0pt;padding:0cm 5.4pt 0cm 5.4pt; height:12.75pt" nowrap="nowrap" valign="bottom" width="491"> [FONT="] Total 9:30[/FONT]
</td> </tr> <tr style="mso-yfti-irow:7;height:12.75pt"> <td style="width:368.0pt;padding:0cm 5.4pt 0cm 5.4pt; height:12.75pt" nowrap="nowrap" valign="bottom" width="491">
</td> </tr> <tr style="mso-yfti-irow:8;height:12.75pt"> <td style="width:368.0pt;padding:0cm 5.4pt 0cm 5.4pt; height:12.75pt" nowrap="nowrap" valign="bottom" width="491"> [FONT="] 6981 Doe, Jane [/FONT]
</td> </tr> <tr style="mso-yfti-irow:9;height:12.75pt"> <td style="width:368.0pt;padding:0cm 5.4pt 0cm 5.4pt; height:12.75pt" nowrap="nowrap" valign="bottom" width="491"> [FONT="] Sick, Unsched Unpd 9:30 100.00%[/FONT]
</td> </tr> <tr style="mso-yfti-irow:10;height:12.75pt"> <td style="width:368.0pt;padding:0cm 5.4pt 0cm 5.4pt; height:12.75pt" nowrap="nowrap" valign="bottom" width="491"> [FONT="] Total 9:30[/FONT]
</td> </tr> <tr style="mso-yfti-irow:11;height:12.75pt"> <td style="width:368.0pt;padding:0cm 5.4pt 0cm 5.4pt; height:12.75pt" nowrap="nowrap" valign="bottom" width="491">
</td> </tr> <tr style="mso-yfti-irow:12;height:12.75pt"> <td style="width:368.0pt;padding:0cm 5.4pt 0cm 5.4pt; height:12.75pt" nowrap="nowrap" valign="bottom" width="491"> [FONT="] 14652 Leblanc, Johnny [/FONT]
</td> </tr> <tr style="mso-yfti-irow:13;height:12.75pt"> <td style="width:368.0pt;padding:0cm 5.4pt 0cm 5.4pt; height:12.75pt" nowrap="nowrap" valign="bottom" width="491"> [FONT="] Late Unpd 1:02 88.57%[/FONT]
</td> </tr> <tr style="mso-yfti-irow:14;height:12.75pt"> <td style="width:368.0pt;padding:0cm 5.4pt 0cm 5.4pt; height:12.75pt" nowrap="nowrap" valign="bottom" width="491"> [FONT="] Late from Break Unpd 0:06 8.57%[/FONT]
</td> </tr> <tr style="mso-yfti-irow:15;height:12.75pt"> <td style="width:368.0pt;padding:0cm 5.4pt 0cm 5.4pt; height:12.75pt" nowrap="nowrap" valign="bottom" width="491"> [FONT="] Unauth Unpaid Break 0:02 2.86%[/FONT]
</td> </tr> <tr style="mso-yfti-irow:16;height:12.75pt"> <td style="width:368.0pt;padding:0cm 5.4pt 0cm 5.4pt; height:12.75pt" nowrap="nowrap" valign="bottom" width="491"> [FONT="] Total 1:10[/FONT]
</td> </tr> <tr style="mso-yfti-irow:17;height:12.75pt"> <td style="width:368.0pt;padding:0cm 5.4pt 0cm 5.4pt; height:12.75pt" nowrap="nowrap" valign="bottom" width="491">
</td> </tr> <tr style="mso-yfti-irow:18;height:12.75pt"> <td style="width:368.0pt;padding:0cm 5.4pt 0cm 5.4pt; height:12.75pt" nowrap="nowrap" valign="bottom" width="491"> [FONT="] 6166 Macy, Linda [/FONT]
</td> </tr> <tr style="mso-yfti-irow:19;height:12.75pt"> <td style="width:368.0pt;padding:0cm 5.4pt 0cm 5.4pt; height:12.75pt" nowrap="nowrap" valign="bottom" width="491"> [FONT="] Sick, Unsched Unpd 3:30 100.00%[/FONT]
</td> </tr> <tr style="mso-yfti-irow:20;mso-yfti-lastrow:yes;height:12.75pt"> <td style="width:368.0pt;padding:0cm 5.4pt 0cm 5.4pt; height:12.75pt" nowrap="nowrap" valign="bottom" width="491"> [FONT="] Total 3:30[/FONT]
</td> </tr> </tbody></table>
Is there way I can format the data into something like this after pasting it into excel? I tried to use text to column but didn't get what I needed.
[FONT="]Smith, Joe[/FONT][FONT="] Sick, Unsched Unpd [/FONT][FONT="] [/FONT][FONT="]9:30 [/FONT]
[FONT="] Doe, Jane [/FONT][FONT="] Sick, Unsched Unpd 9:30 [/FONT]
[FONT="]Leblanc, Johnny[/FONT] [FONT="]Late Unpd 1:02 [/FONT]
[FONT="]Leblanc, Johnny[/FONT] [FONT="]Late from Break Unpd 0:06 [/FONT]
[FONT="]Leblanc, Johnny [/FONT][FONT="]Unauth Unpaid Break 0:02[/FONT]
Any help is greatly appreciated!