Extract list of cells from one column in to one cell and separate by a comma

JTH94BT

New Member
Joined
Jul 11, 2024
Messages
11
Office Version
  1. 365
Platform
  1. Windows
I have a list of approximately 13000 entries in one column. I'd like to extract this entire column and put in to one cell and separate each cell with a comma.

If there was a small number of entries in this column I'd simply do the following formula: =A1&","&A2&","&A3,&","A4 etc but the sheer number of entries would take forever just to write the formula. Is there a quicker way?

See below example.

List of entries:

S0205105
S0205125
S0205264
S0205265
S0205274

Desired outcome
S0205105,S0205125,S0205264,S0205265,S0205274
 

Excel Facts

How to total the visible cells?
From the first blank cell below a filtered data set, press Alt+=. Instead of SUM, you will get SUBTOTAL(9,)
A cell in Excel can only hold 32,767 characters. If in one cell, your data would be about 117,000 characters.

@Joe4
TEXTJOIN also has a limit of 32,767 characters
 
Upvote 0
You are welcome.
Glad we could help!
(and thanks to Peter for pointing out the limitations!)
 
Upvote 0
You are welcome.
Glad we could help!
(and thanks to Peter for pointing out the limitations!)
Yes thank you Peter! The #CALC would've halted me if it wasn't for your insight! This is a great forum thanks to you guys
 
Upvote 0
So, are you saying that you had to display the results in several cells rather than just one?
Yes due to the character limitations for one cell I split my 13000 entries in to several formulas i.e. TEXTJOIN(",",TRUE,A1:A2000) then TEXTJOIN(",",TRUE,A2001:A4000) and so on until I was able to cover all of my entries. Thanks again for your help!
 
Upvote 0

Forum statistics

Threads
1,222,721
Messages
6,167,841
Members
452,149
Latest member
gatje

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