Hi
I have a 26 week daily sales data dump that I need to sum X week week to date
I have my week number (1, 2.. 26) along row 1, split out by Sunday, Monday... Saturday in row 2 with sales data below
Below is required output, how can I go about this?
[TABLE="width: 1408"]
<tbody>[TR]
[TD="class: xl63, width: 64"][/TD]
[TD="class: xl63, width: 64, align: right"]1[/TD]
[TD="class: xl63, width: 64, align: right"]1[/TD]
[TD="class: xl63, width: 64, align: right"]1[/TD]
[TD="class: xl63, width: 64, align: right"]1[/TD]
[TD="class: xl63, width: 64, align: right"]1[/TD]
[TD="class: xl63, width: 64, align: right"]1[/TD]
[TD="class: xl63, width: 64, align: right"]1[/TD]
[TD="class: xl63, width: 64, align: right"]2[/TD]
[TD="class: xl63, width: 64, align: right"]2[/TD]
[TD="class: xl63, width: 64, align: right"]2[/TD]
[TD="class: xl63, width: 64, align: right"]2[/TD]
[TD="class: xl63, width: 64, align: right"]2[/TD]
[TD="class: xl63, width: 64, align: right"]2[/TD]
[TD="class: xl63, width: 64, align: right"]2[/TD]
[TD="class: xl63, width: 64, align: right"]3[/TD]
[TD="class: xl63, width: 64, align: right"]3[/TD]
[TD="class: xl63, width: 64, align: right"]3[/TD]
[TD="class: xl63, width: 64, align: right"]3[/TD]
[TD="class: xl63, width: 64, align: right"]3[/TD]
[TD="class: xl63, width: 64, align: right"]3[/TD]
[TD="class: xl63, width: 64, align: right"]3[/TD]
[/TR]
[TR]
[TD="class: xl63"]Product[/TD]
[TD="class: xl64"]Sunday[/TD]
[TD="class: xl64"]Monday[/TD]
[TD="class: xl64"]Tuesday[/TD]
[TD="class: xl64"]Wednesday[/TD]
[TD="class: xl64"]Thursday[/TD]
[TD="class: xl64"]Friday[/TD]
[TD="class: xl64"]Saturday[/TD]
[TD="class: xl64"]Sunday[/TD]
[TD="class: xl64"]Monday[/TD]
[TD="class: xl64"]Tuesday[/TD]
[TD="class: xl64"]Wednesday[/TD]
[TD="class: xl64"]Thursday[/TD]
[TD="class: xl64"]Friday[/TD]
[TD="class: xl64"]Saturday[/TD]
[TD="class: xl64"]Sunday[/TD]
[TD="class: xl64"]Monday[/TD]
[TD="class: xl64"]Tuesday[/TD]
[TD="class: xl64"]Wednesday[/TD]
[TD="class: xl64"]Thursday[/TD]
[TD="class: xl64"]Friday[/TD]
[TD="class: xl64"]Saturday[/TD]
[/TR]
[TR]
[TD="class: xl63"]A[/TD]
[TD="class: xl63, align: right"]88[/TD]
[TD="class: xl63, align: right"]70[/TD]
[TD="class: xl63, align: right"]57[/TD]
[TD="class: xl63, align: right"]78[/TD]
[TD="class: xl63, align: right"]29[/TD]
[TD="class: xl63, align: right"]87[/TD]
[TD="class: xl63, align: right"]44[/TD]
[TD="class: xl63, align: right"]78[/TD]
[TD="class: xl63, align: right"]53[/TD]
[TD="class: xl63, align: right"]87[/TD]
[TD="class: xl63, align: right"]91[/TD]
[TD="class: xl63, align: right"]68[/TD]
[TD="class: xl63, align: right"]49[/TD]
[TD="class: xl63, align: right"]97[/TD]
[TD="class: xl63, align: right"]15[/TD]
[TD="class: xl63, align: right"]10[/TD]
[TD="class: xl63, align: right"]48[/TD]
[TD="class: xl63, align: right"]20[/TD]
[TD="class: xl63, align: right"]65[/TD]
[TD="class: xl63, align: right"]7[/TD]
[TD="class: xl63, align: right"]86[/TD]
[/TR]
[TR]
[TD="class: xl63"]B[/TD]
[TD="class: xl63, align: right"]31[/TD]
[TD="class: xl63, align: right"]11[/TD]
[TD="class: xl63, align: right"]17[/TD]
[TD="class: xl63, align: right"]79[/TD]
[TD="class: xl63, align: right"]44[/TD]
[TD="class: xl63, align: right"]48[/TD]
[TD="class: xl63, align: right"]36[/TD]
[TD="class: xl63, align: right"]98[/TD]
[TD="class: xl63, align: right"]100[/TD]
[TD="class: xl63, align: right"]3[/TD]
[TD="class: xl63, align: right"]23[/TD]
[TD="class: xl63, align: right"]43[/TD]
[TD="class: xl63, align: right"]4[/TD]
[TD="class: xl63, align: right"]8[/TD]
[TD="class: xl63, align: right"]78[/TD]
[TD="class: xl63, align: right"]49[/TD]
[TD="class: xl63, align: right"]61[/TD]
[TD="class: xl63, align: right"]63[/TD]
[TD="class: xl63, align: right"]10[/TD]
[TD="class: xl63, align: right"]23[/TD]
[TD="class: xl63, align: right"]72[/TD]
[/TR]
[TR]
[TD="class: xl63"]C[/TD]
[TD="class: xl63, align: right"]100[/TD]
[TD="class: xl63, align: right"]79[/TD]
[TD="class: xl63, align: right"]55[/TD]
[TD="class: xl63, align: right"]96[/TD]
[TD="class: xl63, align: right"]37[/TD]
[TD="class: xl63, align: right"]56[/TD]
[TD="class: xl63, align: right"]90[/TD]
[TD="class: xl63, align: right"]74[/TD]
[TD="class: xl63, align: right"]58[/TD]
[TD="class: xl63, align: right"]84[/TD]
[TD="class: xl63, align: right"]76[/TD]
[TD="class: xl63, align: right"]70[/TD]
[TD="class: xl63, align: right"]12[/TD]
[TD="class: xl63, align: right"]72[/TD]
[TD="class: xl63, align: right"]65[/TD]
[TD="class: xl63, align: right"]60[/TD]
[TD="class: xl63, align: right"]58[/TD]
[TD="class: xl63, align: right"]59[/TD]
[TD="class: xl63, align: right"]86[/TD]
[TD="class: xl63, align: right"]88[/TD]
[TD="class: xl63, align: right"]36[/TD]
[/TR]
[TR]
[TD="class: xl63"]D[/TD]
[TD="class: xl63, align: right"]2[/TD]
[TD="class: xl63, align: right"]98[/TD]
[TD="class: xl63, align: right"]92[/TD]
[TD="class: xl63, align: right"]12[/TD]
[TD="class: xl63, align: right"]81[/TD]
[TD="class: xl63, align: right"]5[/TD]
[TD="class: xl63, align: right"]18[/TD]
[TD="class: xl63, align: right"]50[/TD]
[TD="class: xl63, align: right"]20[/TD]
[TD="class: xl63, align: right"]24[/TD]
[TD="class: xl63, align: right"]11[/TD]
[TD="class: xl63, align: right"]14[/TD]
[TD="class: xl63, align: right"]44[/TD]
[TD="class: xl63, align: right"]33[/TD]
[TD="class: xl63, align: right"]13[/TD]
[TD="class: xl63, align: right"]23[/TD]
[TD="class: xl63, align: right"]36[/TD]
[TD="class: xl63, align: right"]5[/TD]
[TD="class: xl63, align: right"]35[/TD]
[TD="class: xl63, align: right"]55[/TD]
[TD="class: xl63, align: right"]48[/TD]
[/TR]
[TR]
[TD="class: xl63"]E[/TD]
[TD="class: xl63, align: right"]64[/TD]
[TD="class: xl63, align: right"]6[/TD]
[TD="class: xl63, align: right"]2[/TD]
[TD="class: xl63, align: right"]54[/TD]
[TD="class: xl63, align: right"]19[/TD]
[TD="class: xl63, align: right"]2[/TD]
[TD="class: xl63, align: right"]30[/TD]
[TD="class: xl63, align: right"]16[/TD]
[TD="class: xl63, align: right"]51[/TD]
[TD="class: xl63, align: right"]45[/TD]
[TD="class: xl63, align: right"]45[/TD]
[TD="class: xl63, align: right"]41[/TD]
[TD="class: xl63, align: right"]10[/TD]
[TD="class: xl63, align: right"]96[/TD]
[TD="class: xl63, align: right"]5[/TD]
[TD="class: xl63, align: right"]22[/TD]
[TD="class: xl63, align: right"]59[/TD]
[TD="class: xl63, align: right"]35[/TD]
[TD="class: xl63, align: right"]76[/TD]
[TD="class: xl63, align: right"]76[/TD]
[TD="class: xl63, align: right"]33[/TD]
[/TR]
[TR]
[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][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="class: xl63"]Product:[/TD]
[TD="class: xl64, align: right"]C[/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]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="class: xl63"]Week:[/TD]
[TD="class: xl64, align: right"]2[/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]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="class: xl63"]Day:[/TD]
[TD="class: xl64, align: right"]Thursday[/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]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="class: xl63"]Result:[/TD]
[TD="class: xl63, align: right"]362[/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]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
Thanks
I have a 26 week daily sales data dump that I need to sum X week week to date
I have my week number (1, 2.. 26) along row 1, split out by Sunday, Monday... Saturday in row 2 with sales data below
Below is required output, how can I go about this?
[TABLE="width: 1408"]
<tbody>[TR]
[TD="class: xl63, width: 64"][/TD]
[TD="class: xl63, width: 64, align: right"]1[/TD]
[TD="class: xl63, width: 64, align: right"]1[/TD]
[TD="class: xl63, width: 64, align: right"]1[/TD]
[TD="class: xl63, width: 64, align: right"]1[/TD]
[TD="class: xl63, width: 64, align: right"]1[/TD]
[TD="class: xl63, width: 64, align: right"]1[/TD]
[TD="class: xl63, width: 64, align: right"]1[/TD]
[TD="class: xl63, width: 64, align: right"]2[/TD]
[TD="class: xl63, width: 64, align: right"]2[/TD]
[TD="class: xl63, width: 64, align: right"]2[/TD]
[TD="class: xl63, width: 64, align: right"]2[/TD]
[TD="class: xl63, width: 64, align: right"]2[/TD]
[TD="class: xl63, width: 64, align: right"]2[/TD]
[TD="class: xl63, width: 64, align: right"]2[/TD]
[TD="class: xl63, width: 64, align: right"]3[/TD]
[TD="class: xl63, width: 64, align: right"]3[/TD]
[TD="class: xl63, width: 64, align: right"]3[/TD]
[TD="class: xl63, width: 64, align: right"]3[/TD]
[TD="class: xl63, width: 64, align: right"]3[/TD]
[TD="class: xl63, width: 64, align: right"]3[/TD]
[TD="class: xl63, width: 64, align: right"]3[/TD]
[/TR]
[TR]
[TD="class: xl63"]Product[/TD]
[TD="class: xl64"]Sunday[/TD]
[TD="class: xl64"]Monday[/TD]
[TD="class: xl64"]Tuesday[/TD]
[TD="class: xl64"]Wednesday[/TD]
[TD="class: xl64"]Thursday[/TD]
[TD="class: xl64"]Friday[/TD]
[TD="class: xl64"]Saturday[/TD]
[TD="class: xl64"]Sunday[/TD]
[TD="class: xl64"]Monday[/TD]
[TD="class: xl64"]Tuesday[/TD]
[TD="class: xl64"]Wednesday[/TD]
[TD="class: xl64"]Thursday[/TD]
[TD="class: xl64"]Friday[/TD]
[TD="class: xl64"]Saturday[/TD]
[TD="class: xl64"]Sunday[/TD]
[TD="class: xl64"]Monday[/TD]
[TD="class: xl64"]Tuesday[/TD]
[TD="class: xl64"]Wednesday[/TD]
[TD="class: xl64"]Thursday[/TD]
[TD="class: xl64"]Friday[/TD]
[TD="class: xl64"]Saturday[/TD]
[/TR]
[TR]
[TD="class: xl63"]A[/TD]
[TD="class: xl63, align: right"]88[/TD]
[TD="class: xl63, align: right"]70[/TD]
[TD="class: xl63, align: right"]57[/TD]
[TD="class: xl63, align: right"]78[/TD]
[TD="class: xl63, align: right"]29[/TD]
[TD="class: xl63, align: right"]87[/TD]
[TD="class: xl63, align: right"]44[/TD]
[TD="class: xl63, align: right"]78[/TD]
[TD="class: xl63, align: right"]53[/TD]
[TD="class: xl63, align: right"]87[/TD]
[TD="class: xl63, align: right"]91[/TD]
[TD="class: xl63, align: right"]68[/TD]
[TD="class: xl63, align: right"]49[/TD]
[TD="class: xl63, align: right"]97[/TD]
[TD="class: xl63, align: right"]15[/TD]
[TD="class: xl63, align: right"]10[/TD]
[TD="class: xl63, align: right"]48[/TD]
[TD="class: xl63, align: right"]20[/TD]
[TD="class: xl63, align: right"]65[/TD]
[TD="class: xl63, align: right"]7[/TD]
[TD="class: xl63, align: right"]86[/TD]
[/TR]
[TR]
[TD="class: xl63"]B[/TD]
[TD="class: xl63, align: right"]31[/TD]
[TD="class: xl63, align: right"]11[/TD]
[TD="class: xl63, align: right"]17[/TD]
[TD="class: xl63, align: right"]79[/TD]
[TD="class: xl63, align: right"]44[/TD]
[TD="class: xl63, align: right"]48[/TD]
[TD="class: xl63, align: right"]36[/TD]
[TD="class: xl63, align: right"]98[/TD]
[TD="class: xl63, align: right"]100[/TD]
[TD="class: xl63, align: right"]3[/TD]
[TD="class: xl63, align: right"]23[/TD]
[TD="class: xl63, align: right"]43[/TD]
[TD="class: xl63, align: right"]4[/TD]
[TD="class: xl63, align: right"]8[/TD]
[TD="class: xl63, align: right"]78[/TD]
[TD="class: xl63, align: right"]49[/TD]
[TD="class: xl63, align: right"]61[/TD]
[TD="class: xl63, align: right"]63[/TD]
[TD="class: xl63, align: right"]10[/TD]
[TD="class: xl63, align: right"]23[/TD]
[TD="class: xl63, align: right"]72[/TD]
[/TR]
[TR]
[TD="class: xl63"]C[/TD]
[TD="class: xl63, align: right"]100[/TD]
[TD="class: xl63, align: right"]79[/TD]
[TD="class: xl63, align: right"]55[/TD]
[TD="class: xl63, align: right"]96[/TD]
[TD="class: xl63, align: right"]37[/TD]
[TD="class: xl63, align: right"]56[/TD]
[TD="class: xl63, align: right"]90[/TD]
[TD="class: xl63, align: right"]74[/TD]
[TD="class: xl63, align: right"]58[/TD]
[TD="class: xl63, align: right"]84[/TD]
[TD="class: xl63, align: right"]76[/TD]
[TD="class: xl63, align: right"]70[/TD]
[TD="class: xl63, align: right"]12[/TD]
[TD="class: xl63, align: right"]72[/TD]
[TD="class: xl63, align: right"]65[/TD]
[TD="class: xl63, align: right"]60[/TD]
[TD="class: xl63, align: right"]58[/TD]
[TD="class: xl63, align: right"]59[/TD]
[TD="class: xl63, align: right"]86[/TD]
[TD="class: xl63, align: right"]88[/TD]
[TD="class: xl63, align: right"]36[/TD]
[/TR]
[TR]
[TD="class: xl63"]D[/TD]
[TD="class: xl63, align: right"]2[/TD]
[TD="class: xl63, align: right"]98[/TD]
[TD="class: xl63, align: right"]92[/TD]
[TD="class: xl63, align: right"]12[/TD]
[TD="class: xl63, align: right"]81[/TD]
[TD="class: xl63, align: right"]5[/TD]
[TD="class: xl63, align: right"]18[/TD]
[TD="class: xl63, align: right"]50[/TD]
[TD="class: xl63, align: right"]20[/TD]
[TD="class: xl63, align: right"]24[/TD]
[TD="class: xl63, align: right"]11[/TD]
[TD="class: xl63, align: right"]14[/TD]
[TD="class: xl63, align: right"]44[/TD]
[TD="class: xl63, align: right"]33[/TD]
[TD="class: xl63, align: right"]13[/TD]
[TD="class: xl63, align: right"]23[/TD]
[TD="class: xl63, align: right"]36[/TD]
[TD="class: xl63, align: right"]5[/TD]
[TD="class: xl63, align: right"]35[/TD]
[TD="class: xl63, align: right"]55[/TD]
[TD="class: xl63, align: right"]48[/TD]
[/TR]
[TR]
[TD="class: xl63"]E[/TD]
[TD="class: xl63, align: right"]64[/TD]
[TD="class: xl63, align: right"]6[/TD]
[TD="class: xl63, align: right"]2[/TD]
[TD="class: xl63, align: right"]54[/TD]
[TD="class: xl63, align: right"]19[/TD]
[TD="class: xl63, align: right"]2[/TD]
[TD="class: xl63, align: right"]30[/TD]
[TD="class: xl63, align: right"]16[/TD]
[TD="class: xl63, align: right"]51[/TD]
[TD="class: xl63, align: right"]45[/TD]
[TD="class: xl63, align: right"]45[/TD]
[TD="class: xl63, align: right"]41[/TD]
[TD="class: xl63, align: right"]10[/TD]
[TD="class: xl63, align: right"]96[/TD]
[TD="class: xl63, align: right"]5[/TD]
[TD="class: xl63, align: right"]22[/TD]
[TD="class: xl63, align: right"]59[/TD]
[TD="class: xl63, align: right"]35[/TD]
[TD="class: xl63, align: right"]76[/TD]
[TD="class: xl63, align: right"]76[/TD]
[TD="class: xl63, align: right"]33[/TD]
[/TR]
[TR]
[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][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="class: xl63"]Product:[/TD]
[TD="class: xl64, align: right"]C[/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]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="class: xl63"]Week:[/TD]
[TD="class: xl64, align: right"]2[/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]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="class: xl63"]Day:[/TD]
[TD="class: xl64, align: right"]Thursday[/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]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="class: xl63"]Result:[/TD]
[TD="class: xl63, align: right"]362[/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]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
Thanks