Concatenate Macro

behnm

New Member
Joined
Aug 30, 2006
Messages
4
Everyday I receive lists of information that contain the following column headers: Section, Serial #, Part #, and Date. I want to create a macro that will concatenate the values in the serial # column according to values in the section column (ie. All serial number values that are section A will be concatenated with a comma between the serial number values and the same will be done with serial numbers of section b, c, and so on). When concatenating, the serial number values need to be separated by a comma. The input information and the amount of entries change from day to day, but the column headings are the same. Any thoughts?
 

Excel Facts

When they said...
When they said you are going to "Excel at life", they meant you "will be doing Excel your whole life".

deven_deesha

Board Regular
Joined
Jan 5, 2006
Messages
134
If I understood the question correctly. you have to concatenate three columns with "," in between.

=CONCATENATE(A4,",",B4,",",C4)

Try this one. Hope this helps.
 

Forum statistics

Threads
1,141,849
Messages
5,708,973
Members
421,602
Latest member
jkpce1880

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
Top