ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Separating names from one cell (https://www.excelbanter.com/excel-discussion-misc-queries/58411-separating-names-one-cell.html)

mlf

Separating names from one cell
 
I have a long list of first and last names in one cell, is there a way to
separate them out without having to manually copy, paste, and delete each
one. It would be great to have two columns: first name and last name.

Thanks,
mlf


Separating names from one cell
 
Hi

Have a look at Data/Text to columns. If you use <space as a delimiter it
should do the job for you. Select the column before you start, and make a
copy of the sheet too, in case it all goes horribly wrong!

Andy.

"mlf" wrote in message
...
I have a long list of first and last names in one cell, is there a way to
separate them out without having to manually copy, paste, and delete each
one. It would be great to have two columns: first name and last name.

Thanks,
mlf




Niek Otten

Separating names from one cell
 
DataText to columns

--
Kind regards,

Niek Otten

"mlf" wrote in message
...
I have a long list of first and last names in one cell, is there a way to
separate them out without having to manually copy, paste, and delete each
one. It would be great to have two columns: first name and last name.

Thanks,
mlf




CLR

Separating names from one cell
 
Assuming the names are in Coumn A and separated only by a space,
In B1 put this and copy down to get the first names:

=LEFT(A1,FIND(" ",A1,1))

In C1 put this and copy down to get the last names:

=MID(A1,FIND(" ",A1,1),99)

Vaya con Dios,
Chuck, CABGx3




"Niek Otten" wrote:

DataText to columns

--
Kind regards,

Niek Otten

"mlf" wrote in message
...
I have a long list of first and last names in one cell, is there a way to
separate them out without having to manually copy, paste, and delete each
one. It would be great to have two columns: first name and last name.

Thanks,
mlf






All times are GMT +1. The time now is 02:52 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com