Combine Data in Multiple Cells Into 1 Cell with Commas

Gsrgofass

New Member
Joined
Nov 8, 2019
Messages
39
Office Version
  1. 2016
Platform
  1. Windows
Hello,

I have over 3,500 cells with an alpha-numeric name in them. Can I combined each alpha numeric name into one cell separating each name with a comma?
Example in B2:B7 into D2. In the real list, these alpha-numeric names can have between 3 to 26 characters within their name.

Thanks!!
 

Attachments

  • Alpha-Numeric List.JPG
    Alpha-Numeric List.JPG
    23.1 KB · Views: 6

Excel Facts

Repeat Last Command
Pressing F4 adds dollar signs when editing a formula. When not editing, F4 repeats last command.
I suggest that you update your Account details (or click your user name at the top right of the forum) so helpers always know what Excel version(s) & platform(s) you are using as the best solution often varies by version. (Don’t forget to scroll down & ‘Save’)

If you have Excel 2019, 2021, or 365, you can use the new TEXTJOIN function, i.e.
Excel Formula:
=TEXTJOIN(",",TRUE,B2:B7)
 
Upvote 0
I suggest that you update your Account details (or click your user name at the top right of the forum) so helpers always know what Excel version(s) & platform(s) you are using as the best solution often varies by version. (Don’t forget to scroll down & ‘Save’)

If you have Excel 2019, 2021, or 365, you can use the new TEXTJOIN function, i.e.
Excel Formula:
=TEXTJOIN(",",TRUE,B2:B7)
I updated the Excel version and my OS, thanks for that.
I'm using Office Professional Plus 2016. I don't think the JOINTEXT is in that release.
 
Upvote 0
I updated the Excel version and my OS, thanks for that.
I'm using Office Professional Plus 2016. I don't think the JOINTEXT is in that release.
That's too bad! It is a lot harder on the older versions.
There are some methods shown here:

Another option would be to try to use VBA.
 
Upvote 0

Forum statistics

Threads
1,215,077
Messages
6,122,992
Members
449,094
Latest member
masterms

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