Columns to CSV or concatenation problem - easy to solve?

Big V

New Member
Joined
Dec 22, 2003
Messages
20
HI guys

A simple question - how can I easily convert a column of approx 100 numbers into a CSV string without having to manually enter a concatenation formula like =CONCATENATE(F1,", ",F2,", ",F3 etc ad on unitl F100.)

Can someone short cut this for me in anyway

Data in cells A1 to A100 and just need to be sparated by a comma and space
 

Excel Facts

Easy bullets in Excel
If you have a numeric keypad, press Alt+7 on numeric keypad to type a bullet in Excel.
Re: Columns to CSV or concatenation problem - easy to solve

see the example:
Book2
ABCD
1NumberString
21234561,2,3,4,5,6
31231,2,3
41234561,2,3,4,5,6
5121,2
612345674891,2,3,4,5,6,7,4,8,9
Sheet1


the formula is:

=MCONCAT(MID(A2,INTVECTOR(LEN(A2),1),1),",")

which needs to be array entered using control + shift + enter. mconcat & intvector are functions from the morefunc addin (see the recommended links etc post @ the top of the board for the link).
 
Upvote 0
re-reading - got your requirement totally wrong! still using morefunc addin:

=MCONCAT(A1:D1,",")

will produce a comma sep string - although why not just save the file as csv?
 
Upvote 0

Forum statistics

Threads
1,214,918
Messages
6,122,257
Members
449,075
Latest member
staticfluids

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