converting rows to comma delimited list

  • Thread starter Thread starter peterswan
  • Start date Start date
P

peterswan

Hello,

Is there a way to take a ton of rows of an id in the first column, an
output them into a comma delimited list so I can load them into a SQ
query and search on them?

Once I saw someone do this with the concatenate function but I can'
remember how it was done. If I could just add a comma on the end o
every instance of the id, I'd be solved.

Thanks,

:) :)
Pete
 
any help?

I've got 3000+ rows and just one column, an id field.

All I need to do is throw a comma in after every id.

That way I can copy the whole column and paste it into SQL Quer
Analyzer.

Thanks for any help,

:) :)

Pete
 
Peter

Assuming column of data is A.

In B1 enter =A1 & ","

Double-click on the B1 fill handle to copy down 3000+ cells.

Copy Column B and Paste Special(in place)>Values>OK>Esc.

Delete Column A.

Gord Dibben Excel MVP
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top