Hi,
I have a set of data - example below - which I need sorting to show each day there is a delivery in the same postcode all on the same line;
Data set example -
[TABLE="width: 500"]
<tbody>[TR]
[TD]Postcode[/TD]
[TD]Route[/TD]
[TD]Drop[/TD]
[TD]Delivery Day[/TD]
[/TR]
[TR]
[TD]AB12 3ZG[/TD]
[TD][TABLE="width: 438"]
<tbody>[TR]
[TD]N3700[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]25[/TD]
[TD]Wednesday[/TD]
[/TR]
[TR]
[TD]AB12 3ZG[/TD]
[TD][TABLE="width: 438"]
<tbody>[TR]
[TD]N3700[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]25[/TD]
[TD]Saturday[/TD]
[/TR]
[TR]
[TD]AB24 5EZ[/TD]
[TD]H1006[/TD]
[TD]1[/TD]
[TD]Wednesday[/TD]
[/TR]
[TR]
[TD]AB24 5EZ[/TD]
[TD]H1006[/TD]
[TD]1[/TD]
[TD]Saturday[/TD]
[/TR]
[TR]
[TD]AL1 4PL[/TD]
[TD]H1006[/TD]
[TD]90[/TD]
[TD]Monday[/TD]
[/TR]
[TR]
[TD]AL1 4PL[/TD]
[TD]H1006[/TD]
[TD]90[/TD]
[TD]Wednesday[/TD]
[/TR]
[TR]
[TD]AL4 0LL[/TD]
[TD]H1006[/TD]
[TD]100[/TD]
[TD]Monday[/TD]
[/TR]
[TR]
[TD]AL4 0LL[/TD]
[TD]H1006[/TD]
[TD]100[/TD]
[TD]Wednesday[/TD]
[/TR]
[TR]
[TD]AL4 0LL[/TD]
[TD]H1006[/TD]
[TD]100[/TD]
[TD]Friday[/TD]
[/TR]
</tbody>[/TABLE]
I need the following layout but just 1 row with the post code and all delivery days to the right transposed;
[TABLE="width: 438"]
<colgroup><col><col><col><col span="3"></colgroup><tbody>[TR]
[TD][/TD]
[TD][/TD]
[TD="align: right"][/TD]
[TD][/TD]
[TD][/TD]
[TD]
[/TD]
[/TR]
</tbody>[/TABLE]
[TABLE="width: 500"]
<tbody>[TR]
[TD]Postcode[/TD]
[TD]Route[/TD]
[TD]Drop[/TD]
[TD]Delivery Day[/TD]
[TD]Delivery Day[/TD]
[TD]Delivery Day[/TD]
[/TR]
[TR]
[TD]AB12 3ZG[/TD]
[TD]
[TABLE="width: 438"]
<tbody>[TR]
[TD]N3700[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]25[/TD]
[TD]Wednesday[/TD]
[TD]Saturday[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]AB24 5EZ[/TD]
[TD]N3700[/TD]
[TD]1[/TD]
[TD]Wednesday[/TD]
[TD]Saturday[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]AL1 4PL[/TD]
[TD]H1006[/TD]
[TD]90[/TD]
[TD]Monday[/TD]
[TD]Wednesday[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]AL4 0LL[/TD]
[TD]H1006[/TD]
[TD]100[/TD]
[TD]Monday[/TD]
[TD]Wednesday[/TD]
[TD]Friday[/TD]
[/TR]
</tbody>[/TABLE]
I tried pivot tables but the values [FONT="]use one of the aggregation functions SUM, COUNT, MIN, AVERAGE etc., so it is always a number.[/FONT]
Help please
Thanks
I have a set of data - example below - which I need sorting to show each day there is a delivery in the same postcode all on the same line;
Data set example -
[TABLE="width: 500"]
<tbody>[TR]
[TD]Postcode[/TD]
[TD]Route[/TD]
[TD]Drop[/TD]
[TD]Delivery Day[/TD]
[/TR]
[TR]
[TD]AB12 3ZG[/TD]
[TD][TABLE="width: 438"]
<tbody>[TR]
[TD]N3700[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]25[/TD]
[TD]Wednesday[/TD]
[/TR]
[TR]
[TD]AB12 3ZG[/TD]
[TD][TABLE="width: 438"]
<tbody>[TR]
[TD]N3700[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]25[/TD]
[TD]Saturday[/TD]
[/TR]
[TR]
[TD]AB24 5EZ[/TD]
[TD]H1006[/TD]
[TD]1[/TD]
[TD]Wednesday[/TD]
[/TR]
[TR]
[TD]AB24 5EZ[/TD]
[TD]H1006[/TD]
[TD]1[/TD]
[TD]Saturday[/TD]
[/TR]
[TR]
[TD]AL1 4PL[/TD]
[TD]H1006[/TD]
[TD]90[/TD]
[TD]Monday[/TD]
[/TR]
[TR]
[TD]AL1 4PL[/TD]
[TD]H1006[/TD]
[TD]90[/TD]
[TD]Wednesday[/TD]
[/TR]
[TR]
[TD]AL4 0LL[/TD]
[TD]H1006[/TD]
[TD]100[/TD]
[TD]Monday[/TD]
[/TR]
[TR]
[TD]AL4 0LL[/TD]
[TD]H1006[/TD]
[TD]100[/TD]
[TD]Wednesday[/TD]
[/TR]
[TR]
[TD]AL4 0LL[/TD]
[TD]H1006[/TD]
[TD]100[/TD]
[TD]Friday[/TD]
[/TR]
</tbody>[/TABLE]
I need the following layout but just 1 row with the post code and all delivery days to the right transposed;
[TABLE="width: 438"]
<colgroup><col><col><col><col span="3"></colgroup><tbody>[TR]
[TD][/TD]
[TD][/TD]
[TD="align: right"][/TD]
[TD][/TD]
[TD][/TD]
[TD]
[/TD]
[/TR]
</tbody>[/TABLE]
[TABLE="width: 500"]
<tbody>[TR]
[TD]Postcode[/TD]
[TD]Route[/TD]
[TD]Drop[/TD]
[TD]Delivery Day[/TD]
[TD]Delivery Day[/TD]
[TD]Delivery Day[/TD]
[/TR]
[TR]
[TD]AB12 3ZG[/TD]
[TD]
[TABLE="width: 438"]
<tbody>[TR]
[TD]N3700[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]25[/TD]
[TD]Wednesday[/TD]
[TD]Saturday[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]AB24 5EZ[/TD]
[TD]N3700[/TD]
[TD]1[/TD]
[TD]Wednesday[/TD]
[TD]Saturday[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]AL1 4PL[/TD]
[TD]H1006[/TD]
[TD]90[/TD]
[TD]Monday[/TD]
[TD]Wednesday[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]AL4 0LL[/TD]
[TD]H1006[/TD]
[TD]100[/TD]
[TD]Monday[/TD]
[TD]Wednesday[/TD]
[TD]Friday[/TD]
[/TR]
</tbody>[/TABLE]
I tried pivot tables but the values [FONT="]use one of the aggregation functions SUM, COUNT, MIN, AVERAGE etc., so it is always a number.[/FONT]
Help please
Thanks