Hi guys,
Im trying to create a calendar based table from 1 column of data, but im stuck. I dont even know what to type in google to find the solution or at least a hint how to approach the problem.
[TABLE="width: 391"]
<colgroup><col span="4"><col><col></colgroup><tbody>[TR]
[TD]A[/TD]
[TD]B[/TD]
[TD]C[/TD]
[TD]D[/TD]
[TD]E[/TD]
[TD]F[/TD]
[/TR]
[TR]
[TD]CW[/TD]
[TD]Year[/TD]
[TD]Month[/TD]
[TD]Day[/TD]
[TD]Dare[/TD]
[TD]# of Total Contacts[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"]13[/TD]
[TD="align: right"]2017[/TD]
[TD="align: right"]4[/TD]
[TD="align: right"]sob[/TD]
[TD="align: right"]01.04.2017[/TD]
[TD="align: right"]469[/TD]
[/TR]
[TR]
[TD="align: right"]13[/TD]
[TD="align: right"]2017[/TD]
[TD="align: right"]4[/TD]
[TD="align: right"]niedz[/TD]
[TD="align: right"]02.04.2017[/TD]
[TD="align: right"]326[/TD]
[/TR]
[TR]
[TD="align: right"]14[/TD]
[TD="align: right"]2017[/TD]
[TD="align: right"]4[/TD]
[TD="align: right"]pon[/TD]
[TD="align: right"]03.04.2017[/TD]
[TD="align: right"]1054[/TD]
[/TR]
[TR]
[TD="align: right"]14[/TD]
[TD="align: right"]2017[/TD]
[TD="align: right"]4[/TD]
[TD="align: right"]wt[/TD]
[TD="align: right"]04.04.2017[/TD]
[TD="align: right"]1046[/TD]
[/TR]
[TR]
[TD="align: right"]14[/TD]
[TD="align: right"]2017[/TD]
[TD="align: right"]4[/TD]
[TD="align: right"]śr[/TD]
[TD="align: right"]05.04.2017[/TD]
[TD="align: right"]931[/TD]
[/TR]
[TR]
[TD="align: right"]14[/TD]
[TD="align: right"]2017[/TD]
[TD="align: right"]4[/TD]
[TD="align: right"]czw[/TD]
[TD="align: right"]06.04.2017[/TD]
[TD="align: right"]837[/TD]
[/TR]
[TR]
[TD="align: right"]14[/TD]
[TD="align: right"]2017[/TD]
[TD="align: right"]4[/TD]
[TD="align: right"]pt[/TD]
[TD="align: right"]07.04.2017[/TD]
[TD="align: right"]891[/TD]
[/TR]
[TR]
[TD="align: right"]14[/TD]
[TD="align: right"]2017[/TD]
[TD="align: right"]4[/TD]
[TD="align: right"]sob[/TD]
[TD="align: right"]08.04.2017[/TD]
[TD="align: right"]461[/TD]
[/TR]
[TR]
[TD="align: right"]14[/TD]
[TD="align: right"]2017[/TD]
[TD="align: right"]4[/TD]
[TD="align: right"]niedz[/TD]
[TD="align: right"]09.04.2017[/TD]
[TD="align: right"]247[/TD]
[/TR]
[TR]
[TD="align: right"]15[/TD]
[TD="align: right"]2017[/TD]
[TD="align: right"]4[/TD]
[TD="align: right"]pon[/TD]
[TD="align: right"]10.04.2017[/TD]
[TD="align: right"]1213[/TD]
[/TR]
[TR]
[TD="align: right"]15[/TD]
[TD="align: right"]2017[/TD]
[TD="align: right"]4[/TD]
[TD="align: right"]wt[/TD]
[TD="align: right"]11.04.2017[/TD]
[TD="align: right"]912[/TD]
[/TR]
[TR]
[TD="align: right"]15[/TD]
[TD="align: right"]2017[/TD]
[TD="align: right"]4[/TD]
[TD="align: right"]śr[/TD]
[TD="align: right"]12.04.2017[/TD]
[TD="align: right"]988[/TD]
[/TR]
[TR]
[TD="align: right"]15[/TD]
[TD="align: right"]2017[/TD]
[TD="align: right"]4[/TD]
[TD="align: right"]czw[/TD]
[TD="align: right"]13.04.2017[/TD]
[TD="align: right"]895[/TD]
[/TR]
[TR]
[TD="align: right"]15[/TD]
[TD="align: right"]2017[/TD]
[TD="align: right"]4[/TD]
[TD="align: right"]pt[/TD]
[TD="align: right"]14.04.2017[/TD]
[TD="align: right"]626[/TD]
[/TR]
[TR]
[TD="align: right"]15[/TD]
[TD="align: right"]2017[/TD]
[TD="align: right"]4[/TD]
[TD="align: right"]sob[/TD]
[TD="align: right"]15.04.2017[/TD]
[TD="align: right"]440[/TD]
[/TR]
</tbody>[/TABLE]
I've got such a very long table with 2 years of data, and I need to convert it in such a way:
[TABLE="width: 869"]
<colgroup><col><col span="12"></colgroup><tbody>[TR]
[TD][/TD]
[TD="align: right"]niedz[/TD]
[TD="align: right"]śr[/TD]
[TD="align: right"]śr[/TD]
[TD="align: right"]sob[/TD]
[TD="align: right"]pon[/TD]
[TD="align: right"]czw[/TD]
[TD="align: right"]sob[/TD]
[TD="align: right"]wt[/TD]
[TD="align: right"]pt[/TD]
[TD="align: right"]niedz[/TD]
[TD="align: right"]śr[/TD]
[TD="align: right"]pt[/TD]
[/TR]
[TR]
[TD][/TD]
[TD="colspan: 12"]
[/TR]
[TR]
[TD][/TD]
[TD="align: right"]1 sty[/TD]
[TD="align: right"]1 lut[/TD]
[TD="align: right"]1 mar[/TD]
[TD="align: right"]1 kwi[/TD]
[TD="align: right"]1 maj[/TD]
[TD="align: right"]1 cze[/TD]
[TD="align: right"]1 lip[/TD]
[TD="align: right"]1 sie[/TD]
[TD="align: right"]1 wrz[/TD]
[TD="align: right"]1 paź[/TD]
[TD="align: right"]1 lis[/TD]
[TD="align: right"]1 gru[/TD]
[/TR]
[TR]
[TD="align: right"]sob[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"]niedz[/TD]
[TD][/TD]
[TD]1[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"]pon[/TD]
[TD][/TD]
[TD]1[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"]wt[/TD]
[TD][/TD]
[TD]1[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"]śr[/TD]
[TD][/TD]
[TD]1[/TD]
[TD]1[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"]czw[/TD]
[TD][/TD]
[TD]1[/TD]
[TD]1[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"]pt[/TD]
[TD][/TD]
[TD]1[/TD]
[TD]1[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"]sob[/TD]
[TD][/TD]
[TD]1[/TD]
[TD]1[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"]niedz[/TD]
[TD][/TD]
[TD]1[/TD]
[TD]1[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"]pon[/TD]
[TD][/TD]
[TD]1[/TD]
[TD]1[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"]wt[/TD]
[TD][/TD]
[TD]1[/TD]
[TD]1[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"]śr[/TD]
[TD][/TD]
[TD]1[/TD]
[TD]1[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"]czw[/TD]
[TD][/TD]
[TD]1[/TD]
[TD]1[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"]pt[/TD]
[TD][/TD]
[TD]1[/TD]
[TD]1[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"]sob[/TD]
[TD][/TD]
[TD]1[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
The problem is that every month starts with a different day, and that is why Im stuck here. I need to convert the date in such a way like the "1" are inserted in the table above.
I hope you get my point.
Please advise how to staart working on this
Im trying to create a calendar based table from 1 column of data, but im stuck. I dont even know what to type in google to find the solution or at least a hint how to approach the problem.
[TABLE="width: 391"]
<colgroup><col span="4"><col><col></colgroup><tbody>[TR]
[TD]A[/TD]
[TD]B[/TD]
[TD]C[/TD]
[TD]D[/TD]
[TD]E[/TD]
[TD]F[/TD]
[/TR]
[TR]
[TD]CW[/TD]
[TD]Year[/TD]
[TD]Month[/TD]
[TD]Day[/TD]
[TD]Dare[/TD]
[TD]# of Total Contacts[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"]13[/TD]
[TD="align: right"]2017[/TD]
[TD="align: right"]4[/TD]
[TD="align: right"]sob[/TD]
[TD="align: right"]01.04.2017[/TD]
[TD="align: right"]469[/TD]
[/TR]
[TR]
[TD="align: right"]13[/TD]
[TD="align: right"]2017[/TD]
[TD="align: right"]4[/TD]
[TD="align: right"]niedz[/TD]
[TD="align: right"]02.04.2017[/TD]
[TD="align: right"]326[/TD]
[/TR]
[TR]
[TD="align: right"]14[/TD]
[TD="align: right"]2017[/TD]
[TD="align: right"]4[/TD]
[TD="align: right"]pon[/TD]
[TD="align: right"]03.04.2017[/TD]
[TD="align: right"]1054[/TD]
[/TR]
[TR]
[TD="align: right"]14[/TD]
[TD="align: right"]2017[/TD]
[TD="align: right"]4[/TD]
[TD="align: right"]wt[/TD]
[TD="align: right"]04.04.2017[/TD]
[TD="align: right"]1046[/TD]
[/TR]
[TR]
[TD="align: right"]14[/TD]
[TD="align: right"]2017[/TD]
[TD="align: right"]4[/TD]
[TD="align: right"]śr[/TD]
[TD="align: right"]05.04.2017[/TD]
[TD="align: right"]931[/TD]
[/TR]
[TR]
[TD="align: right"]14[/TD]
[TD="align: right"]2017[/TD]
[TD="align: right"]4[/TD]
[TD="align: right"]czw[/TD]
[TD="align: right"]06.04.2017[/TD]
[TD="align: right"]837[/TD]
[/TR]
[TR]
[TD="align: right"]14[/TD]
[TD="align: right"]2017[/TD]
[TD="align: right"]4[/TD]
[TD="align: right"]pt[/TD]
[TD="align: right"]07.04.2017[/TD]
[TD="align: right"]891[/TD]
[/TR]
[TR]
[TD="align: right"]14[/TD]
[TD="align: right"]2017[/TD]
[TD="align: right"]4[/TD]
[TD="align: right"]sob[/TD]
[TD="align: right"]08.04.2017[/TD]
[TD="align: right"]461[/TD]
[/TR]
[TR]
[TD="align: right"]14[/TD]
[TD="align: right"]2017[/TD]
[TD="align: right"]4[/TD]
[TD="align: right"]niedz[/TD]
[TD="align: right"]09.04.2017[/TD]
[TD="align: right"]247[/TD]
[/TR]
[TR]
[TD="align: right"]15[/TD]
[TD="align: right"]2017[/TD]
[TD="align: right"]4[/TD]
[TD="align: right"]pon[/TD]
[TD="align: right"]10.04.2017[/TD]
[TD="align: right"]1213[/TD]
[/TR]
[TR]
[TD="align: right"]15[/TD]
[TD="align: right"]2017[/TD]
[TD="align: right"]4[/TD]
[TD="align: right"]wt[/TD]
[TD="align: right"]11.04.2017[/TD]
[TD="align: right"]912[/TD]
[/TR]
[TR]
[TD="align: right"]15[/TD]
[TD="align: right"]2017[/TD]
[TD="align: right"]4[/TD]
[TD="align: right"]śr[/TD]
[TD="align: right"]12.04.2017[/TD]
[TD="align: right"]988[/TD]
[/TR]
[TR]
[TD="align: right"]15[/TD]
[TD="align: right"]2017[/TD]
[TD="align: right"]4[/TD]
[TD="align: right"]czw[/TD]
[TD="align: right"]13.04.2017[/TD]
[TD="align: right"]895[/TD]
[/TR]
[TR]
[TD="align: right"]15[/TD]
[TD="align: right"]2017[/TD]
[TD="align: right"]4[/TD]
[TD="align: right"]pt[/TD]
[TD="align: right"]14.04.2017[/TD]
[TD="align: right"]626[/TD]
[/TR]
[TR]
[TD="align: right"]15[/TD]
[TD="align: right"]2017[/TD]
[TD="align: right"]4[/TD]
[TD="align: right"]sob[/TD]
[TD="align: right"]15.04.2017[/TD]
[TD="align: right"]440[/TD]
[/TR]
</tbody>[/TABLE]
I've got such a very long table with 2 years of data, and I need to convert it in such a way:
[TABLE="width: 869"]
<colgroup><col><col span="12"></colgroup><tbody>[TR]
[TD][/TD]
[TD="align: right"]niedz[/TD]
[TD="align: right"]śr[/TD]
[TD="align: right"]śr[/TD]
[TD="align: right"]sob[/TD]
[TD="align: right"]pon[/TD]
[TD="align: right"]czw[/TD]
[TD="align: right"]sob[/TD]
[TD="align: right"]wt[/TD]
[TD="align: right"]pt[/TD]
[TD="align: right"]niedz[/TD]
[TD="align: right"]śr[/TD]
[TD="align: right"]pt[/TD]
[/TR]
[TR]
[TD][/TD]
[TD="colspan: 12"]
2017
[/TD][/TR]
[TR]
[TD][/TD]
[TD="align: right"]1 sty[/TD]
[TD="align: right"]1 lut[/TD]
[TD="align: right"]1 mar[/TD]
[TD="align: right"]1 kwi[/TD]
[TD="align: right"]1 maj[/TD]
[TD="align: right"]1 cze[/TD]
[TD="align: right"]1 lip[/TD]
[TD="align: right"]1 sie[/TD]
[TD="align: right"]1 wrz[/TD]
[TD="align: right"]1 paź[/TD]
[TD="align: right"]1 lis[/TD]
[TD="align: right"]1 gru[/TD]
[/TR]
[TR]
[TD="align: right"]sob[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"]niedz[/TD]
[TD][/TD]
[TD]1[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"]pon[/TD]
[TD][/TD]
[TD]1[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"]wt[/TD]
[TD][/TD]
[TD]1[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"]śr[/TD]
[TD][/TD]
[TD]1[/TD]
[TD]1[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"]czw[/TD]
[TD][/TD]
[TD]1[/TD]
[TD]1[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"]pt[/TD]
[TD][/TD]
[TD]1[/TD]
[TD]1[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"]sob[/TD]
[TD][/TD]
[TD]1[/TD]
[TD]1[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"]niedz[/TD]
[TD][/TD]
[TD]1[/TD]
[TD]1[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"]pon[/TD]
[TD][/TD]
[TD]1[/TD]
[TD]1[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"]wt[/TD]
[TD][/TD]
[TD]1[/TD]
[TD]1[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"]śr[/TD]
[TD][/TD]
[TD]1[/TD]
[TD]1[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"]czw[/TD]
[TD][/TD]
[TD]1[/TD]
[TD]1[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"]pt[/TD]
[TD][/TD]
[TD]1[/TD]
[TD]1[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"]sob[/TD]
[TD][/TD]
[TD]1[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
The problem is that every month starts with a different day, and that is why Im stuck here. I need to convert the date in such a way like the "1" are inserted in the table above.
I hope you get my point.
Please advise how to staart working on this