Hello! I have data that looks like this:
[TABLE="width: 500"]
<tbody>[TR]
[TD]Name[/TD]
[TD]ID[/TD]
[TD]Position[/TD]
[TD]School[/TD]
[TD]Endorsement[/TD]
[/TR]
[TR]
[TD]Joe[/TD]
[TD]123
[/TD]
[TD]Teacher[/TD]
[TD]Stellar Elementary[/TD]
[TD]Endorsement 28[/TD]
[/TR]
[TR]
[TD]Joe[/TD]
[TD]123[/TD]
[TD]Teacher[/TD]
[TD]Stellar Elementary[/TD]
[TD]Endorsement 35[/TD]
[/TR]
[TR]
[TD]Joe[/TD]
[TD]123[/TD]
[TD]Teacher[/TD]
[TD]Stellar Elementary[/TD]
[TD]Endorsement 12[/TD]
[/TR]
[TR]
[TD]Jim[/TD]
[TD]124[/TD]
[TD]Custodian[/TD]
[TD]Thunder Middle[/TD]
[TD]Endorsement 25[/TD]
[/TR]
[TR]
[TD]Jim[/TD]
[TD]124[/TD]
[TD]Custodian[/TD]
[TD]Thunder Middle[/TD]
[TD]Endorsement 1[/TD]
[/TR]
[TR]
[TD]James[/TD]
[TD]125[/TD]
[TD]Teacher Elem[/TD]
[TD]Lightning Elementary[/TD]
[TD]Endorsement 15[/TD]
[/TR]
[TR]
[TD]Jill[/TD]
[TD]126[/TD]
[TD]Teacher[/TD]
[TD]North High School[/TD]
[TD]Endorsement 28[/TD]
[/TR]
</tbody>[/TABLE]
And I want it to look like this:
[TABLE="width: 650"]
<tbody>[TR]
[TD]Name[/TD]
[TD]ID[/TD]
[TD]Position[/TD]
[TD]Endorsement 1[/TD]
[TD]Endorsement 2[/TD]
[TD]Endorsement 3[/TD]
[/TR]
[TR]
[TD]Joe[/TD]
[TD]123[/TD]
[TD]Teacher[/TD]
[TD]Endorsement 28[/TD]
[TD]Endorsement 35[/TD]
[TD]Endorsement 12[/TD]
[/TR]
[TR]
[TD]Jim[/TD]
[TD]124[/TD]
[TD]Custodian[/TD]
[TD]Endorsement 25[/TD]
[TD]Endorsement 1[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]James[/TD]
[TD]125[/TD]
[TD]Teacher Elem[/TD]
[TD]Endorsement 15[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Jill[/TD]
[TD]126[/TD]
[TD]Teacher[/TD]
[TD]Endorsement 28[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
So there are no duplicate rows anymore. I need to keep the first 4 columns.
[TABLE="width: 500"]
<tbody>[TR]
[TD]Name[/TD]
[TD]ID[/TD]
[TD]Position[/TD]
[TD]School[/TD]
[TD]Endorsement[/TD]
[/TR]
[TR]
[TD]Joe[/TD]
[TD]123
[/TD]
[TD]Teacher[/TD]
[TD]Stellar Elementary[/TD]
[TD]Endorsement 28[/TD]
[/TR]
[TR]
[TD]Joe[/TD]
[TD]123[/TD]
[TD]Teacher[/TD]
[TD]Stellar Elementary[/TD]
[TD]Endorsement 35[/TD]
[/TR]
[TR]
[TD]Joe[/TD]
[TD]123[/TD]
[TD]Teacher[/TD]
[TD]Stellar Elementary[/TD]
[TD]Endorsement 12[/TD]
[/TR]
[TR]
[TD]Jim[/TD]
[TD]124[/TD]
[TD]Custodian[/TD]
[TD]Thunder Middle[/TD]
[TD]Endorsement 25[/TD]
[/TR]
[TR]
[TD]Jim[/TD]
[TD]124[/TD]
[TD]Custodian[/TD]
[TD]Thunder Middle[/TD]
[TD]Endorsement 1[/TD]
[/TR]
[TR]
[TD]James[/TD]
[TD]125[/TD]
[TD]Teacher Elem[/TD]
[TD]Lightning Elementary[/TD]
[TD]Endorsement 15[/TD]
[/TR]
[TR]
[TD]Jill[/TD]
[TD]126[/TD]
[TD]Teacher[/TD]
[TD]North High School[/TD]
[TD]Endorsement 28[/TD]
[/TR]
</tbody>[/TABLE]
And I want it to look like this:
[TABLE="width: 650"]
<tbody>[TR]
[TD]Name[/TD]
[TD]ID[/TD]
[TD]Position[/TD]
[TD]Endorsement 1[/TD]
[TD]Endorsement 2[/TD]
[TD]Endorsement 3[/TD]
[/TR]
[TR]
[TD]Joe[/TD]
[TD]123[/TD]
[TD]Teacher[/TD]
[TD]Endorsement 28[/TD]
[TD]Endorsement 35[/TD]
[TD]Endorsement 12[/TD]
[/TR]
[TR]
[TD]Jim[/TD]
[TD]124[/TD]
[TD]Custodian[/TD]
[TD]Endorsement 25[/TD]
[TD]Endorsement 1[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]James[/TD]
[TD]125[/TD]
[TD]Teacher Elem[/TD]
[TD]Endorsement 15[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Jill[/TD]
[TD]126[/TD]
[TD]Teacher[/TD]
[TD]Endorsement 28[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
So there are no duplicate rows anymore. I need to keep the first 4 columns.