chriscorpion786
Board Regular
- Joined
- Apr 3, 2011
- Messages
- 112
- Office Version
- 365
- Platform
- Windows
Hi All,
I have the below data set, and the problem is that quantity and value is dumped by columns, and there are around 50 columns of quantity and value by each store. How can I arrange this in a tabular format and summarize by store / category with quantity and value. I have to select each store separately 50 times for the quantity and then unpivot it and same for the value. Is there a faster solution ? and how can i make the summary by quantity and value together.
Is there a way I can attach a file if needed.
[TABLE="width: 1725"]
<colgroup><col><col><col><col><col><col span="2"><col span="2"></colgroup><tbody>[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]Location[/TD]
[TD]11006 Bin Sougat[/TD]
[TD]11006 Bin Sougat[/TD]
[TD]11014 Dubai Airport Concourse D[/TD]
[TD]11014 Dubai Airport Concourse D[/TD]
[/TR]
[TR]
[TD]Partno[/TD]
[TD]Description[/TD]
[TD]Business Cat[/TD]
[TD]Prod Grp[/TD]
[TD]Brand[/TD]
[TD]Qty[/TD]
[TD]Value[/TD]
[TD]Qty[/TD]
[TD]Value[/TD]
[/TR]
[TR]
[TD]B2BOB22104[/TD]
[TD]CAFLON UK ASSORTED STERELISED STUDS FOR BABIES[/TD]
[TD]665762;HEALTHCARE[/TD]
[TD]117830;EYE/EAR CARE[/TD]
[TD]922017;CAFLON UK[/TD]
[TD="align: right"]49[/TD]
[TD="align: right"]717[/TD]
[TD="align: right"]53[/TD]
[TD="align: right"]635.862[/TD]
[/TR]
[TR]
[TD]B2BOB22111[/TD]
[TD](**)CAFLON UK ASSORTED STERELISED STUDS[/TD]
[TD]665762;HEALTHCARE[/TD]
[TD]117830;EYE/EAR CARE[/TD]
[TD]922017;CAFLON UK[/TD]
[TD="align: right"]85[/TD]
[TD="align: right"]3340[/TD]
[TD="align: right"]70[/TD]
[TD="align: right"]2450[/TD]
[/TR]
[TR]
[TD]B2BOB22520315[/TD]
[TD]MALIBU TROP SKIN SELF-TAN BRONZ SPRAY 175ML[/TD]
[TD]1018811;PERSONAL CARE[/TD]
[TD]442514;SUN PREPARATION[/TD]
[TD]557833;MALIBU[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]B2BOB22520345[/TD]
[TD]MALIBU MLIGHT SHIMER BRONZ SELF-TAN LTN 150ML[/TD]
[TD]1018811;PERSONAL CARE[/TD]
[TD]442514;SUN PREPARATION[/TD]
[TD]557833;MALIBU[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]B2BOB22520530[/TD]
[TD]MALIBU ALOE AFTER SUN GEL SPRAY 175ML[/TD]
[TD]1018811;PERSONAL CARE[/TD]
[TD]442514;SUN PREPARATION[/TD]
[TD]557833;MALIBU[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
Thanks, Mustafa
I have the below data set, and the problem is that quantity and value is dumped by columns, and there are around 50 columns of quantity and value by each store. How can I arrange this in a tabular format and summarize by store / category with quantity and value. I have to select each store separately 50 times for the quantity and then unpivot it and same for the value. Is there a faster solution ? and how can i make the summary by quantity and value together.
Is there a way I can attach a file if needed.
[TABLE="width: 1725"]
<colgroup><col><col><col><col><col><col span="2"><col span="2"></colgroup><tbody>[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]Location[/TD]
[TD]11006 Bin Sougat[/TD]
[TD]11006 Bin Sougat[/TD]
[TD]11014 Dubai Airport Concourse D[/TD]
[TD]11014 Dubai Airport Concourse D[/TD]
[/TR]
[TR]
[TD]Partno[/TD]
[TD]Description[/TD]
[TD]Business Cat[/TD]
[TD]Prod Grp[/TD]
[TD]Brand[/TD]
[TD]Qty[/TD]
[TD]Value[/TD]
[TD]Qty[/TD]
[TD]Value[/TD]
[/TR]
[TR]
[TD]B2BOB22104[/TD]
[TD]CAFLON UK ASSORTED STERELISED STUDS FOR BABIES[/TD]
[TD]665762;HEALTHCARE[/TD]
[TD]117830;EYE/EAR CARE[/TD]
[TD]922017;CAFLON UK[/TD]
[TD="align: right"]49[/TD]
[TD="align: right"]717[/TD]
[TD="align: right"]53[/TD]
[TD="align: right"]635.862[/TD]
[/TR]
[TR]
[TD]B2BOB22111[/TD]
[TD](**)CAFLON UK ASSORTED STERELISED STUDS[/TD]
[TD]665762;HEALTHCARE[/TD]
[TD]117830;EYE/EAR CARE[/TD]
[TD]922017;CAFLON UK[/TD]
[TD="align: right"]85[/TD]
[TD="align: right"]3340[/TD]
[TD="align: right"]70[/TD]
[TD="align: right"]2450[/TD]
[/TR]
[TR]
[TD]B2BOB22520315[/TD]
[TD]MALIBU TROP SKIN SELF-TAN BRONZ SPRAY 175ML[/TD]
[TD]1018811;PERSONAL CARE[/TD]
[TD]442514;SUN PREPARATION[/TD]
[TD]557833;MALIBU[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]B2BOB22520345[/TD]
[TD]MALIBU MLIGHT SHIMER BRONZ SELF-TAN LTN 150ML[/TD]
[TD]1018811;PERSONAL CARE[/TD]
[TD]442514;SUN PREPARATION[/TD]
[TD]557833;MALIBU[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]B2BOB22520530[/TD]
[TD]MALIBU ALOE AFTER SUN GEL SPRAY 175ML[/TD]
[TD]1018811;PERSONAL CARE[/TD]
[TD]442514;SUN PREPARATION[/TD]
[TD]557833;MALIBU[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
Thanks, Mustafa