Pivot - Sum and Concatenation

pisistrato

New Member
Joined
Apr 21, 2011
Messages
2
Hi all,

I am currently working with a data set like this

UID01 a 10
UID02 a 20
UID03 b 5
UI004 a 30
UI005 c 5
UID06 d 5

What I would like to do is to sum values in column 3 on the basis of the values in column 2 (a,b,c and d).
a 60
b 5
c 5
d 5

This is easy, ok! However, at the same time, I would like to concatenate the values in column 1, still on the basis of the values in column 2,to obtain this

a 60 UID01;UID02;UID04
b 5 UID03
c 5 UID05
d 5 UID06

How can I do this?


Thank you in advance for your help.
 

Excel Facts

Wildcard in VLOOKUP
Use =VLOOKUP("Apple*" to find apple, Apple, or applesauce

Forum statistics

Threads
1,223,958
Messages
6,175,629
Members
452,661
Latest member
Nonhle

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top