Hello
(Windows7 / Excel 2013)
I have a PivotTable we have created that is used to narrow down information, this is the current table that we use.
As you can see there are multiple occurrences of the same 'Item Code', variables being the 'Spec' and the 'Qty' field.
Does anyone know how I can get Excel to combine the 'Spec' into one column separated by commas, while combining the 'Qty' of the like rows?
I have tried a number of various 'IF' formulas and macros but I cannot seem to get the result I am looking for. (There is another post with a similar title and the exact same issue, but there is not response from April2015)
[table="width: 500, class: grid, align: left"]
[tr]
[td][/td]
[td]A[/td]
[td]B[/td]
[td]C[/td]
[td]D[/td]
[/tr]
[tr]
[td]1[/td]
[td]Item Code[/td]
[td]Description[/td]
[td]Spec[/td]
[td]Qty[/td]
[/tr]
[tr]
[td]2[/td]
[td]BR102[/td]
[td]Ball Valve 2"[/td]
[td]BR-1A[/td]
[td]8[/td]
[/tr]
[tr]
[td]3[/td]
[td]BR102[/td]
[td]Ball Valve 2"[/td]
[td]BR-2A[/td]
[td]3[/td]
[/tr]
[tr]
[td]4[/td]
[td]BR103[/td]
[td]Ball Valve 3"[/td]
[td]BR-1A[/td]
[td]2[/td]
[/tr]
[tr]
[td]5[/td]
[td]BR103[/td]
[td]Ball Valve 3"[/td]
[td]BR-3A[/td]
[td]1[/td]
[/tr]
[tr]
[td]6[/td]
[td]BR104[/td]
[td]Ball Valve 4"[/td]
[td]BR-2A[/td]
[td]2[/td]
[/tr]
[tr]
[td]7[/td]
[td]BR104[/td]
[td]Ball Valve 4"[/td]
[td]BR-4A[/td]
[td]3[/td]
[/tr]
[tr]
[td]8[/td]
[td]BR105[/td]
[td]Ball Valve 5"[/td]
[td]BR-1A[/td]
[td]36[/td]
[/tr]
[tr]
[td]9[/td]
[td]BR105[/td]
[td]Ball Valve 5"[/td]
[td]BR-2A[/td]
[td]1[/td]
[/tr]
[tr]
[td]10[/td]
[td]BR105[/td]
[td]Ball Valve 5"[/td]
[td]BR-3A[/td]
[td]1[/td]
[/tr]
[tr]
[td]11[/td]
[td]BR106[/td]
[td]Ball Valve 6"[/td]
[td]BR-3A[/td]
[td]15[/td]
[/tr]
[/table]
This is an example of what I am trying to achieve
[table="width: 500, class: grid, align: left"]
[tr]
[td][/td]
[td]A[/td]
[td]B[/td]
[td]C[/td]
[td]D[/td]
[/tr]
[tr]
[td]1[/td]
[td]Item Code[/td]
[td]Description[/td]
[td]Spec[/td]
[td]Qty[/td]
[/tr]
[tr]
[td]2[/td]
[td]BR102[/td]
[td]Ball Valve 2"[/td]
[td]BR-1A, BR-2A[/td]
[td]11[/td]
[/tr]
[tr]
[td]3[/td]
[td]BR103[/td]
[td]Ball Valve 3"[/td]
[td]BR-1A, BR-3A[/td]
[td]3[/td]
[/tr]
[tr]
[td]4[/td]
[td]BR104[/td]
[td]Ball Valve 4"[/td]
[td]BR-2A, BR-4A[/td]
[td]5[/td]
[/tr]
[tr]
[td]5[/td]
[td]BR105[/td]
[td]Ball Valve 5"[/td]
[td]BR-1A, BR-2A, BR-3A[/td]
[td]38[/td]
[/tr]
[tr]
[td]6[/td]
[td]BR106[/td]
[td]Ball Valve 6"[/td]
[td]BR-3A[/td]
[td]15[/td]
[/tr]
[/table]
Thank you for help!!
PurplGirl
(Windows7 / Excel 2013)
I have a PivotTable we have created that is used to narrow down information, this is the current table that we use.
As you can see there are multiple occurrences of the same 'Item Code', variables being the 'Spec' and the 'Qty' field.
Does anyone know how I can get Excel to combine the 'Spec' into one column separated by commas, while combining the 'Qty' of the like rows?
I have tried a number of various 'IF' formulas and macros but I cannot seem to get the result I am looking for. (There is another post with a similar title and the exact same issue, but there is not response from April2015)
[table="width: 500, class: grid, align: left"]
[tr]
[td][/td]
[td]A[/td]
[td]B[/td]
[td]C[/td]
[td]D[/td]
[/tr]
[tr]
[td]1[/td]
[td]Item Code[/td]
[td]Description[/td]
[td]Spec[/td]
[td]Qty[/td]
[/tr]
[tr]
[td]2[/td]
[td]BR102[/td]
[td]Ball Valve 2"[/td]
[td]BR-1A[/td]
[td]8[/td]
[/tr]
[tr]
[td]3[/td]
[td]BR102[/td]
[td]Ball Valve 2"[/td]
[td]BR-2A[/td]
[td]3[/td]
[/tr]
[tr]
[td]4[/td]
[td]BR103[/td]
[td]Ball Valve 3"[/td]
[td]BR-1A[/td]
[td]2[/td]
[/tr]
[tr]
[td]5[/td]
[td]BR103[/td]
[td]Ball Valve 3"[/td]
[td]BR-3A[/td]
[td]1[/td]
[/tr]
[tr]
[td]6[/td]
[td]BR104[/td]
[td]Ball Valve 4"[/td]
[td]BR-2A[/td]
[td]2[/td]
[/tr]
[tr]
[td]7[/td]
[td]BR104[/td]
[td]Ball Valve 4"[/td]
[td]BR-4A[/td]
[td]3[/td]
[/tr]
[tr]
[td]8[/td]
[td]BR105[/td]
[td]Ball Valve 5"[/td]
[td]BR-1A[/td]
[td]36[/td]
[/tr]
[tr]
[td]9[/td]
[td]BR105[/td]
[td]Ball Valve 5"[/td]
[td]BR-2A[/td]
[td]1[/td]
[/tr]
[tr]
[td]10[/td]
[td]BR105[/td]
[td]Ball Valve 5"[/td]
[td]BR-3A[/td]
[td]1[/td]
[/tr]
[tr]
[td]11[/td]
[td]BR106[/td]
[td]Ball Valve 6"[/td]
[td]BR-3A[/td]
[td]15[/td]
[/tr]
[/table]
This is an example of what I am trying to achieve
[table="width: 500, class: grid, align: left"]
[tr]
[td][/td]
[td]A[/td]
[td]B[/td]
[td]C[/td]
[td]D[/td]
[/tr]
[tr]
[td]1[/td]
[td]Item Code[/td]
[td]Description[/td]
[td]Spec[/td]
[td]Qty[/td]
[/tr]
[tr]
[td]2[/td]
[td]BR102[/td]
[td]Ball Valve 2"[/td]
[td]BR-1A, BR-2A[/td]
[td]11[/td]
[/tr]
[tr]
[td]3[/td]
[td]BR103[/td]
[td]Ball Valve 3"[/td]
[td]BR-1A, BR-3A[/td]
[td]3[/td]
[/tr]
[tr]
[td]4[/td]
[td]BR104[/td]
[td]Ball Valve 4"[/td]
[td]BR-2A, BR-4A[/td]
[td]5[/td]
[/tr]
[tr]
[td]5[/td]
[td]BR105[/td]
[td]Ball Valve 5"[/td]
[td]BR-1A, BR-2A, BR-3A[/td]
[td]38[/td]
[/tr]
[tr]
[td]6[/td]
[td]BR106[/td]
[td]Ball Valve 6"[/td]
[td]BR-3A[/td]
[td]15[/td]
[/tr]
[/table]
Thank you for help!!
PurplGirl
