Dear All,
I do have a sample data set from A1:D7 as follows:-
[TABLE="width: 256"]
<tbody>[TR]
[TD="class: xl63, width: 64"]Region[/TD]
[TD="class: xl63, width: 64"]Vertical[/TD]
[TD="class: xl64, width: 64"]01-Dec[/TD]
[TD="class: xl64, width: 64"]02-Dec[/TD]
[/TR]
[TR]
[TD="class: xl63"]A[/TD]
[TD="class: xl63"]FMCG[/TD]
[TD="class: xl63"]10[/TD]
[TD="class: xl63"]12[/TD]
[/TR]
[TR]
[TD="class: xl63"]A[/TD]
[TD="class: xl63"]FMCG[/TD]
[TD="class: xl63"]15[/TD]
[TD="class: xl63"]18[/TD]
[/TR]
[TR]
[TD="class: xl63"]B[/TD]
[TD="class: xl63"]FMCG[/TD]
[TD="class: xl63"]20[/TD]
[TD="class: xl63"]16[/TD]
[/TR]
[TR]
[TD="class: xl63"]B[/TD]
[TD="class: xl63"]Staples[/TD]
[TD="class: xl63"]25[/TD]
[TD="class: xl63"]29[/TD]
[/TR]
[TR]
[TD="class: xl63"]C[/TD]
[TD="class: xl63"]Staples[/TD]
[TD="class: xl63"]30[/TD]
[TD="class: xl63"]38[/TD]
[/TR]
[TR]
[TD="class: xl63"]C[/TD]
[TD="class: xl63"]FMCG[/TD]
[TD="class: xl63"]35[/TD]
[TD="class: xl63"]47
[/TD]
[/TR]
</tbody>[/TABLE]
I would like to carry out the sum conditionally & the lay out is as follows spread across G1:I3
The desired result is as follows:-
[TABLE="width: 192"]
<tbody>[TR]
[TD="class: xl65, width: 64"]Date[/TD]
[TD="class: xl65, width: 64"]FMCG[/TD]
[TD="class: xl65, width: 64"]Staples[/TD]
[/TR]
[TR]
[TD="class: xl66"]01-Dec[/TD]
[TD="class: xl65"]80[/TD]
[TD="class: xl65"]55[/TD]
[/TR]
[TR]
[TD="class: xl66"]02-Dec[/TD]
[TD="class: xl65"]93[/TD]
[TD="class: xl65"]67[/TD]
[/TR]
</tbody>[/TABLE]
Could somebody help me out with the solution pls?
Regards
I do have a sample data set from A1:D7 as follows:-
[TABLE="width: 256"]
<tbody>[TR]
[TD="class: xl63, width: 64"]Region[/TD]
[TD="class: xl63, width: 64"]Vertical[/TD]
[TD="class: xl64, width: 64"]01-Dec[/TD]
[TD="class: xl64, width: 64"]02-Dec[/TD]
[/TR]
[TR]
[TD="class: xl63"]A[/TD]
[TD="class: xl63"]FMCG[/TD]
[TD="class: xl63"]10[/TD]
[TD="class: xl63"]12[/TD]
[/TR]
[TR]
[TD="class: xl63"]A[/TD]
[TD="class: xl63"]FMCG[/TD]
[TD="class: xl63"]15[/TD]
[TD="class: xl63"]18[/TD]
[/TR]
[TR]
[TD="class: xl63"]B[/TD]
[TD="class: xl63"]FMCG[/TD]
[TD="class: xl63"]20[/TD]
[TD="class: xl63"]16[/TD]
[/TR]
[TR]
[TD="class: xl63"]B[/TD]
[TD="class: xl63"]Staples[/TD]
[TD="class: xl63"]25[/TD]
[TD="class: xl63"]29[/TD]
[/TR]
[TR]
[TD="class: xl63"]C[/TD]
[TD="class: xl63"]Staples[/TD]
[TD="class: xl63"]30[/TD]
[TD="class: xl63"]38[/TD]
[/TR]
[TR]
[TD="class: xl63"]C[/TD]
[TD="class: xl63"]FMCG[/TD]
[TD="class: xl63"]35[/TD]
[TD="class: xl63"]47
[/TD]
[/TR]
</tbody>[/TABLE]
I would like to carry out the sum conditionally & the lay out is as follows spread across G1:I3
The desired result is as follows:-
[TABLE="width: 192"]
<tbody>[TR]
[TD="class: xl65, width: 64"]Date[/TD]
[TD="class: xl65, width: 64"]FMCG[/TD]
[TD="class: xl65, width: 64"]Staples[/TD]
[/TR]
[TR]
[TD="class: xl66"]01-Dec[/TD]
[TD="class: xl65"]80[/TD]
[TD="class: xl65"]55[/TD]
[/TR]
[TR]
[TD="class: xl66"]02-Dec[/TD]
[TD="class: xl65"]93[/TD]
[TD="class: xl65"]67[/TD]
[/TR]
</tbody>[/TABLE]
Could somebody help me out with the solution pls?
Regards