• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 59
  • Last Modified:

separate comma separated lists

each row has the following format

Healthcare, Cancer Care, Pregnancy and Childbirth, Weight Loss, Primary Care, Heart and Lung Care, Back and Spine Care, Orthopedics


I want to separate each word into its own cell. how to do this?

i have 2k rows like this
0
finnstone
Asked:
finnstone
2 Solutions
 
John HurstBusiness Consultant (Owner)Commented:
If it is a .CSV file, you can delineate the columns when you first open the file.  That is how I would do it.
0
 
ProfessorJimJamCommented:
i see the subject area is Excel.

so if you have this long text in a column of excel then

select entire column then go to "Data" Tab then click on "Text to Columns" a small window will pop. then select the option of "Delimited" then click "next"  then untick all and only tickmark "Comma" then click "Finish"  and that it it.
0
 
Danny ChildIT ManagerCommented:
To check my understanding - you have 2000 rows on a spreadsheet, all with different lines of text separated with commas, and you want to split them so that every WORD (not the phrases between the commas) is in a single cell?

If so, highlight the first row containing all the text to be expanded.. go to the Data tab, and choose Text To Columns.. select Delimited and click Next.. tick the boxes for Comma and Space and Treat Consecutive Delimiters As One, and click Finish.

See example file for how it comes out.

[If you do want the phrases, just don't tick the Space box as above.]
M--Personal-ee---Text-to-Columns---.xlsx
0
 
frankhelkCommented:
No comment has been added to this question in more than 21 days, so it is now classified as abandoned.

I have recommended this question be closed as follows:

Split:
-- DanCh99 (https:#a41784611)
-- ProfessorJimJam (https:#a41783265)


If you feel this question should be closed differently, post an objection and the moderators will review all objections and close it as they feel fit. If no one objects, this question will be closed automatically the way described above.

frankhelk
Experts-Exchange Cleanup Volunteer
0

Featured Post

Upgrade your Question Security!

Add Premium security features to your question to ensure its privacy or anonymity. Learn more about your ability to control Question Security today.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now