ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   splitting fields (https://www.excelbanter.com/excel-discussion-misc-queries/39552-splitting-fields.html)

Randy Patterson

splitting fields
 
I have one field that has the first and last name separated by a space. I
would like to split the field into two fields one for the first name and one
for the last name. The names are all different lengths. I am unable to find
any command to do this. Like the reverse of concatenate.



Earl Kiosterud

Randy,

Use Data - Text to columns. Be sure there is an empty column to the right
of your column -- more if there are more than one space in any of the names.
--
Earl Kiosterud
wwwl.smokeylake.com

"Randy Patterson" wrote in message
...
I have one field that has the first and last name separated by a space. I
would like to split the field into two fields one for the first name and
one for the last name. The names are all different lengths. I am unable to
find any command to do this. Like the reverse of concatenate.




Randy Patterson

I found it thanks. That was a lot easier than I thought it would be.

"Earl Kiosterud" wrote in message
...
Randy,

Use Data - Text to columns. Be sure there is an empty column to the right
of your column -- more if there are more than one space in any of the
names.
--
Earl Kiosterud
wwwl.smokeylake.com

"Randy Patterson" wrote in message
...
I have one field that has the first and last name separated by a space. I
would like to split the field into two fields one for the first name and
one for the last name. The names are all different lengths. I am unable to
find any command to do this. Like the reverse of concatenate.







All times are GMT +1. The time now is 03:57 PM.

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