Hi all, here's another quandary I'm having in getting data to behave nice-
I have a dataset with dates and times things start and stop.
For Ex:
[TABLE="width: 500"]
<tbody>[TR]
[TD]1/1/2017
[/TD]
[TD]12:01 AM
[/TD]
[TD]3:00 AM
[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]4:30 AM
[/TD]
[TD]9:00 AM
[/TD]
[/TR]
[TR]
[TD]1/5/2017
[/TD]
[TD]1:00 PM
[/TD]
[TD]8:00 PM
[/TD]
[/TR]
[TR]
[TD]1/6/2017
[/TD]
[TD]4:00 PM
[/TD]
[TD]8:00 PM
[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]12:30 PM
[/TD]
[TD]5:00 PM
[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]1:00 PM
[/TD]
[TD]2:00 PM
[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]9:00 AM
[/TD]
[TD]12:30 PM
[/TD]
[/TR]
[TR]
[TD]1/12/2017
[/TD]
[TD]4:00 PM
[/TD]
[TD]8:00 PM
[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]11:00 PM
[/TD]
[TD]3:00 AM
[/TD]
[/TR]
</tbody>[/TABLE]
There is no overall pattern with how many entries per date these things occur.
They can have as few as 1 or as many as entries as needed.
I'd like to take this data and turn it into this:
[TABLE="width: 500"]
<tbody>[TR]
[TD]1/1/2017
[/TD]
[TD]1/5/2017
[/TD]
[TD]1/6/2017
[/TD]
[TD]1/12/2017
[/TD]
[/TR]
[TR]
[TD]12:01 AM
[/TD]
[TD]1:00 PM
[/TD]
[TD]4:00 PM
[/TD]
[TD]4:00 PM
[/TD]
[/TR]
[TR]
[TD]3:00 AM
[/TD]
[TD]8:00 PM
[/TD]
[TD]8:00 PM
[/TD]
[TD]8:00 PM
[/TD]
[/TR]
[TR]
[TD]4:30 AM
[/TD]
[TD][/TD]
[TD]12:30 PM
[/TD]
[TD]11:00 PM
[/TD]
[/TR]
[TR]
[TD]9:00 AM
[/TD]
[TD][/TD]
[TD]5:00 PM
[/TD]
[TD]3:00 AM
[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD]1:00 PM
[/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD]2:00 PM
[/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD]9:00 PM
[/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD]12:30 PM
[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
I've tried some transpose methods and so far they haven't worked.
They usually result completely losing the corresponding date or jumbled data:
[TABLE="width: 500"]
<tbody></tbody>[/TABLE]
[TABLE="width: 567"]
<colgroup><col><col><col><col span="2"><col><col><col span="2"></colgroup><tbody>[TR]
[TD="align: right"]1/1/2017
[/TD]
[TD][/TD]
[TD="align: right"]1/5/2017[/TD]
[TD="align: right"]1/6/2017
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD="align: center"][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"]12:01 AM
[/TD]
[TD="align: right"]4:30 AM
[/TD]
[TD="align: right"]1:00 PM[/TD]
[TD="align: right"]4:00 PM[/TD]
[TD="align: right"]12:30 PM
[/TD]
[TD="align: right"]1:00 PM[/TD]
[TD="align: right"]9:00 AM[/TD]
[TD="align: right"]4:00 PM[/TD]
[TD="align: right"]11:00 PM[/TD]
[/TR]
[TR]
[TD="align: right"]3:00 AM[/TD]
[TD="align: right"]9:00 AM
[/TD]
[TD="align: right"]8:00 PM[/TD]
[TD="align: right"]8:00 PM[/TD]
[TD="align: right"]5:00 PM[/TD]
[TD="align: right"]2:00 PM[/TD]
[TD="align: right"]12:30 PM[/TD]
[TD="align: right"]8:00 PM[/TD]
[TD="align: right"]3:00 AM
[/TD]
[/TR]
</tbody>[/TABLE]
Any ideas on how to transpose these uneven rows & columns of data into matching columns,
according to the original date & keeping the time order intact?
-THANKS!
I have a dataset with dates and times things start and stop.
For Ex:
[TABLE="width: 500"]
<tbody>[TR]
[TD]1/1/2017
[/TD]
[TD]12:01 AM
[/TD]
[TD]3:00 AM
[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]4:30 AM
[/TD]
[TD]9:00 AM
[/TD]
[/TR]
[TR]
[TD]1/5/2017
[/TD]
[TD]1:00 PM
[/TD]
[TD]8:00 PM
[/TD]
[/TR]
[TR]
[TD]1/6/2017
[/TD]
[TD]4:00 PM
[/TD]
[TD]8:00 PM
[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]12:30 PM
[/TD]
[TD]5:00 PM
[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]1:00 PM
[/TD]
[TD]2:00 PM
[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]9:00 AM
[/TD]
[TD]12:30 PM
[/TD]
[/TR]
[TR]
[TD]1/12/2017
[/TD]
[TD]4:00 PM
[/TD]
[TD]8:00 PM
[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]11:00 PM
[/TD]
[TD]3:00 AM
[/TD]
[/TR]
</tbody>[/TABLE]
There is no overall pattern with how many entries per date these things occur.
They can have as few as 1 or as many as entries as needed.
I'd like to take this data and turn it into this:
[TABLE="width: 500"]
<tbody>[TR]
[TD]1/1/2017
[/TD]
[TD]1/5/2017
[/TD]
[TD]1/6/2017
[/TD]
[TD]1/12/2017
[/TD]
[/TR]
[TR]
[TD]12:01 AM
[/TD]
[TD]1:00 PM
[/TD]
[TD]4:00 PM
[/TD]
[TD]4:00 PM
[/TD]
[/TR]
[TR]
[TD]3:00 AM
[/TD]
[TD]8:00 PM
[/TD]
[TD]8:00 PM
[/TD]
[TD]8:00 PM
[/TD]
[/TR]
[TR]
[TD]4:30 AM
[/TD]
[TD][/TD]
[TD]12:30 PM
[/TD]
[TD]11:00 PM
[/TD]
[/TR]
[TR]
[TD]9:00 AM
[/TD]
[TD][/TD]
[TD]5:00 PM
[/TD]
[TD]3:00 AM
[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD]1:00 PM
[/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD]2:00 PM
[/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD]9:00 PM
[/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD]12:30 PM
[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
I've tried some transpose methods and so far they haven't worked.
They usually result completely losing the corresponding date or jumbled data:
[TABLE="width: 500"]
<tbody></tbody>[/TABLE]
[TABLE="width: 567"]
<colgroup><col><col><col><col span="2"><col><col><col span="2"></colgroup><tbody>[TR]
[TD="align: right"]1/1/2017
[/TD]
[TD][/TD]
[TD="align: right"]1/5/2017[/TD]
[TD="align: right"]1/6/2017
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD="align: center"][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"]12:01 AM
[/TD]
[TD="align: right"]4:30 AM
[/TD]
[TD="align: right"]1:00 PM[/TD]
[TD="align: right"]4:00 PM[/TD]
[TD="align: right"]12:30 PM
[/TD]
[TD="align: right"]1:00 PM[/TD]
[TD="align: right"]9:00 AM[/TD]
[TD="align: right"]4:00 PM[/TD]
[TD="align: right"]11:00 PM[/TD]
[/TR]
[TR]
[TD="align: right"]3:00 AM[/TD]
[TD="align: right"]9:00 AM
[/TD]
[TD="align: right"]8:00 PM[/TD]
[TD="align: right"]8:00 PM[/TD]
[TD="align: right"]5:00 PM[/TD]
[TD="align: right"]2:00 PM[/TD]
[TD="align: right"]12:30 PM[/TD]
[TD="align: right"]8:00 PM[/TD]
[TD="align: right"]3:00 AM
[/TD]
[/TR]
</tbody>[/TABLE]
Any ideas on how to transpose these uneven rows & columns of data into matching columns,
according to the original date & keeping the time order intact?
-THANKS!