hoodedrobin1
New Member
- Joined
- Jun 19, 2017
- Messages
- 10
I have some advance concatenate questions I am having a problem solving.
I have some data that is incorrectly broken into separate rows when scraping data from a website. I want to be able to combine the rows in question into the same row as text found on the left of said column.
Hopefully below someone can see how I need to do. The fifth column (E) is not in one cell and needs to be grouped based on text to the left.
[TABLE="width: 514"]
<tbody>[TR]
[TD]concatenate column e into row with text
for exable E1&E2 concatenate into E2[/TD]
[/TR]
</tbody><colgroup><col></colgroup>[/TABLE]
also
[TABLE="width: 514"]
<tbody>[TR]
[TD]concatenate column e into row with text
for exable E20&E21&E22 concatenate into E21[/TD]
[/TR]
</tbody><colgroup><col></colgroup>[/TABLE]
I have some data that is incorrectly broken into separate rows when scraping data from a website. I want to be able to combine the rows in question into the same row as text found on the left of said column.
Hopefully below someone can see how I need to do. The fifth column (E) is not in one cell and needs to be grouped based on text to the left.
[TABLE="width: 514"]
<tbody>[TR]
[TD]concatenate column e into row with text
for exable E1&E2 concatenate into E2[/TD]
[/TR]
</tbody><colgroup><col></colgroup>[/TABLE]
also
[TABLE="width: 514"]
<tbody>[TR]
[TD]concatenate column e into row with text
for exable E20&E21&E22 concatenate into E21[/TD]
[/TR]
</tbody><colgroup><col></colgroup>[/TABLE]
[TABLE="width: 534"]
<tbody>[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]Saved[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Parker, Peter[/TD]
[TD]PP[/TD]
[TD]Hero[/TD]
[TD]12008[/TD]
[TD]Dog[/TD]
[TD]1[/TD]
[TD="align: right"]5/4/2017[/TD]
[TD]Yes[/TD]
[/TR]
[TR]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]Saved[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Kent, Clark[/TD]
[TD]CK[/TD]
[TD]Hero[/TD]
[TD]12008[/TD]
[TD]Dog[/TD]
[TD]1[/TD]
[TD="align: right"]5/15/2017[/TD]
[TD]Yes[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]Saved[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Gardner, Guy[/TD]
[TD]GG[/TD]
[TD]Hero[/TD]
[TD]12008[/TD]
[TD]Dog[/TD]
[TD]1[/TD]
[TD="align: right"]5/4/2017[/TD]
[TD]Yes[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]Saved[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Stark, Tony[/TD]
[TD]TS[/TD]
[TD]Hero[/TD]
[TD]12208[/TD]
[TD]Cat[/TD]
[TD]2[/TD]
[TD="align: right"]5/5/2017[/TD]
[TD]Yes[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]Saved[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Rodgers, Steve[/TD]
[TD]SR[/TD]
[TD]Hero[/TD]
[TD]12208[/TD]
[TD]Cat[/TD]
[TD]2[/TD]
[TD="align: right"]5/15/2017[/TD]
[TD]Yes[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]Saved[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Wayne, Bruce[/TD]
[TD]BW[/TD]
[TD]Hero[/TD]
[TD]12208[/TD]
[TD]Cat[/TD]
[TD]2[/TD]
[TD="align: right"]5/4/2017[/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]Saved[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Allen, Barry[/TD]
[TD]BA[/TD]
[TD]Hero[/TD]
[TD]12408[/TD]
[TD]Girl[/TD]
[TD]1[/TD]
[TD="align: right"]5/6/2017[/TD]
[TD]Yes[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]Saved[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Xavier, Charles[/TD]
[TD]CX[/TD]
[TD]Hero[/TD]
[TD]12408[/TD]
[TD]Girl[/TD]
[TD]1[/TD]
[TD="align: right"]5/16/2017[/TD]
[TD]Yes[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]Saved[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Grey, Jean[/TD]
[TD]JG[/TD]
[TD]Hero[/TD]
[TD]12408[/TD]
[TD]Family[/TD]
[TD]1[/TD]
[TD="align: right"]5/4/2017[/TD]
[TD]Yes[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]Of 5[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]Saved[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[/TR]
[TR]
[TD]Banner, Bruce[/TD]
[TD]BB[/TD]
[TD]Hero[/TD]
[TD]12708[/TD]
[TD]Bus[/TD]
[TD]1[/TD]
[TD="align: right"]5/8/2017[/TD]
[TD]Yes[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD="colspan: 2"]Defeated Villian[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]Saved[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Summers, Scott[/TD]
[TD]SS[/TD]
[TD]Hero[/TD]
[TD]12408[/TD]
[TD]Family[/TD]
[TD]1[/TD]
[TD="align: right"]5/4/2017[/TD]
[TD]Yes[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]Of 5[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody><colgroup><col><col><col><col><col><col><col><col></colgroup>[/TABLE]