EXCEL - How to create columns of data from one cell containing a semi-colon between multiple words.

Copper Contributor

I have a string of data like this in one cell.

email address removed for privacy reasons;Cochran;Ralph

I need each piece of the cell that is separated by a semi-colon put into a separate column, instead of all three pieces of data all in one column.

3 Replies

@BethP107 

=IFNA(DROP(REDUCE("",SEQUENCE(ROWS(A2:A4)),LAMBDA(u,v,VSTACK(u,TEXTSPLIT(INDEX(A2:A4,v),";")))),1),"")

 

With Office 365 or Excel for the web you can apply this formula.

text to columns.png

@BethP107 

 

Alternatively with 365:

Sample.png

=TEXTSPLIT(TEXTJOIN(",",,A2:A4), "; ", ",",,,"")