I need to concatenate some cells, but this is tricky and I'm not sure how to do it. Example of data below:
[TABLE="width: 500"]
<tbody>[TR]
[TD]Account: ABC Company[/TD]
[/TR]
[TR]
[TD] Sales Director 1[/TD]
[/TR]
[TR]
[TD] Community 1 [/TD]
[/TR]
[TR]
[TD] Community 2[/TD]
[/TR]
[TR]
[TD] Community 3[/TD]
[/TR]
[TR]
[TD] Community 4[/TD]
[/TR]
[TR]
[TD][TABLE="width: 500"]
<tbody>[TR]
[TD]Account: XYZ Company[/TD]
[/TR]
[TR]
[TD] Sales Director 2[/TD]
[/TR]
[TR]
[TD] Community 1 [/TD]
[/TR]
[TR]
[TD] Community 2[/TD]
[/TR]
[TR]
[TD] Community 3[/TD]
[/TR]
[TR]
[TD] Community 4[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
[TR]
[TD] Community 5 [/TD]
[/TR]
[TR]
[TD] Community 6[/TD]
[/TR]
[TR]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
This comes from a pivot, but there are a a few hundred "Companies" and then each company has a various amount of communities under it. What I need is a concatenation of Company and Community, so I would need for example "Account: ABC Company Community 1" for every single community in the list.
[TABLE="width: 500"]
<tbody>[TR]
[TD]Account: ABC Company[/TD]
[/TR]
[TR]
[TD] Sales Director 1[/TD]
[/TR]
[TR]
[TD] Community 1 [/TD]
[/TR]
[TR]
[TD] Community 2[/TD]
[/TR]
[TR]
[TD] Community 3[/TD]
[/TR]
[TR]
[TD] Community 4[/TD]
[/TR]
[TR]
[TD][TABLE="width: 500"]
<tbody>[TR]
[TD]Account: XYZ Company[/TD]
[/TR]
[TR]
[TD] Sales Director 2[/TD]
[/TR]
[TR]
[TD] Community 1 [/TD]
[/TR]
[TR]
[TD] Community 2[/TD]
[/TR]
[TR]
[TD] Community 3[/TD]
[/TR]
[TR]
[TD] Community 4[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
[TR]
[TD] Community 5 [/TD]
[/TR]
[TR]
[TD] Community 6[/TD]
[/TR]
[TR]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
This comes from a pivot, but there are a a few hundred "Companies" and then each company has a various amount of communities under it. What I need is a concatenation of Company and Community, so I would need for example "Account: ABC Company Community 1" for every single community in the list.