Single Column To Comma-separated List

Hi Experts,

I have some values posted in a single column in multiple of rows ranging from 20 rows to 200, for example in column A starting at row 5 I have:

254
69
123
145

I am wondering, what is the quickiest way to convert this into comma separated, such as:

254,69,123,145

I am able to specify the range manually, but I need to quickly convert this. This is part of a launch phase, and the comma-separated list I need to use in a SQL IN clause.

Any help will be greatly appreciated.
APD TorontoSoftware DeveloperAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

DougCommented:
in the 2nd row, Column B, enter:

=CONCATENATE(A1,",",A2)

In the 3rd row, column B, enter:

=CONCATENATE(B2,",",A3)

and then copy the 3rd row formula down.

Then in the last cell that you copied to copy/paste special/values. That should be the full string of values.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Wayne Taylor (webtubbs)Commented:
Try the method I mention in this previously asked question.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Excel

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.