decadence
Well-known Member
- Joined
- Oct 9, 2015
- Messages
- 525
- Office Version
- 365
- 2016
- 2013
- 2010
- 2007
- Platform
- Windows
Hi, I am trying to separate comma separated text in multiple cells in a column but would like to retain the exact same date for each row of separated text except for Quantity and the transposed references. Also I will have varied rows of data in the reference column, Can some one help with this please.
From this
[TABLE="width: 200"]
<tbody>[TR]
[TD]Header[/TD]
[TD]Header[/TD]
[TD]Header[/TD]
[TD]Header[/TD]
[TD]Reference[/TD]
[TD]Quantity[/TD]
[/TR]
[TR]
[TD]There[/TD]
[TD]are[/TD]
[TD]some[/TD]
[TD]Apples[/TD]
[TD]Red,Green,Yellow,Blue[/TD]
[TD]4[/TD]
[/TR]
[TR]
[TD]This[/TD]
[TD]is not[/TD]
[TD]an [/TD]
[TD]Orange[/TD]
[TD]White,Black[/TD]
[TD]2[/TD]
[/TR]
</tbody>[/TABLE]
to this
[TABLE="width: 200"]
<tbody>[TR]
[TD]Header[/TD]
[TD]Header[/TD]
[TD]Header[/TD]
[TD]Header[/TD]
[TD]Reference[/TD]
[TD]Quantity[/TD]
[/TR]
[TR]
[TD]There[/TD]
[TD]are[/TD]
[TD]some[/TD]
[TD]Apples[/TD]
[TD]Red[/TD]
[TD]1[/TD]
[/TR]
[TR]
[TD]There[/TD]
[TD]are[/TD]
[TD]some[/TD]
[TD]Apples[/TD]
[TD]Green[/TD]
[TD]1[/TD]
[/TR]
[TR]
[TD]There[/TD]
[TD]are[/TD]
[TD]some[/TD]
[TD]Apples[/TD]
[TD]Yellow[/TD]
[TD]1[/TD]
[/TR]
[TR]
[TD]There[/TD]
[TD]are[/TD]
[TD]some[/TD]
[TD]Apples[/TD]
[TD]Blue[/TD]
[TD]1[/TD]
[/TR]
[TR]
[TD]This[/TD]
[TD]is not[/TD]
[TD]an[/TD]
[TD]Orange[/TD]
[TD]White[/TD]
[TD]1[/TD]
[/TR]
[TR]
[TD]This[/TD]
[TD]is not[/TD]
[TD]an[/TD]
[TD]Orange[/TD]
[TD]Black[/TD]
[TD]1[/TD]
[/TR]
</tbody>[/TABLE]
From this
[TABLE="width: 200"]
<tbody>[TR]
[TD]Header[/TD]
[TD]Header[/TD]
[TD]Header[/TD]
[TD]Header[/TD]
[TD]Reference[/TD]
[TD]Quantity[/TD]
[/TR]
[TR]
[TD]There[/TD]
[TD]are[/TD]
[TD]some[/TD]
[TD]Apples[/TD]
[TD]Red,Green,Yellow,Blue[/TD]
[TD]4[/TD]
[/TR]
[TR]
[TD]This[/TD]
[TD]is not[/TD]
[TD]an [/TD]
[TD]Orange[/TD]
[TD]White,Black[/TD]
[TD]2[/TD]
[/TR]
</tbody>[/TABLE]
to this
[TABLE="width: 200"]
<tbody>[TR]
[TD]Header[/TD]
[TD]Header[/TD]
[TD]Header[/TD]
[TD]Header[/TD]
[TD]Reference[/TD]
[TD]Quantity[/TD]
[/TR]
[TR]
[TD]There[/TD]
[TD]are[/TD]
[TD]some[/TD]
[TD]Apples[/TD]
[TD]Red[/TD]
[TD]1[/TD]
[/TR]
[TR]
[TD]There[/TD]
[TD]are[/TD]
[TD]some[/TD]
[TD]Apples[/TD]
[TD]Green[/TD]
[TD]1[/TD]
[/TR]
[TR]
[TD]There[/TD]
[TD]are[/TD]
[TD]some[/TD]
[TD]Apples[/TD]
[TD]Yellow[/TD]
[TD]1[/TD]
[/TR]
[TR]
[TD]There[/TD]
[TD]are[/TD]
[TD]some[/TD]
[TD]Apples[/TD]
[TD]Blue[/TD]
[TD]1[/TD]
[/TR]
[TR]
[TD]This[/TD]
[TD]is not[/TD]
[TD]an[/TD]
[TD]Orange[/TD]
[TD]White[/TD]
[TD]1[/TD]
[/TR]
[TR]
[TD]This[/TD]
[TD]is not[/TD]
[TD]an[/TD]
[TD]Orange[/TD]
[TD]Black[/TD]
[TD]1[/TD]
[/TR]
</tbody>[/TABLE]