Concatenate same number in a data

skr971

New Member
Joined
Mar 19, 2014
Messages
31
Hi All,


i have a little bit problem, i need help for below function :

i have a raw data, which are duplicate customer ids and i need concatenate amount which are customer ids are same

For ex :

Raw DataCustomer IDAmount
12
23
34
45
13
AnsCustomer IDAmount
12 , 3
23
34
45

<colgroup><col><col><col></colgroup><tbody>
</tbody>
thanks in advance

regards
SKR
 

Excel Facts

Remove leading & trailing spaces
Save as CSV to remove all leading and trailing spaces. It is faster than using TRIM().
Hi All,


i have a little bit problem, i need help for below function :

i have a raw data, which are duplicate customer ids and i need concatenate amount which are customer ids are same

For ex :

Raw DataCustomer IDAmount
12
23
34
45
13
AnsCustomer IDAmount
12 , 3
23
34
45

<tbody>
</tbody>
thanks in advance

regards
SKR

I do not know of a simple function to do this, but if a macro is a possibility let me know :)
 
Upvote 0
Indeed it would require VBA, however that function should do it for him, may need some minor modifications just adding some " ," or something. Nice link.
 
Upvote 0

Forum statistics

Threads
1,214,589
Messages
6,120,416
Members
448,960
Latest member
AKSMITH

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