Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions,microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default Firstname Lastname Field, Split two cells

Good Morning Everyone,

We have an Excel file where the contact name is in ONE FIELD. We want to
seperate the FirstName and LastName and put them in TWO FIELDS. Can anyone
tell me how to do this?

Right now this is how the database is:

FieldNames
Contact
Anthony Smith

This is what I'd like to acheive:
FieldNames
FirstName LastName
Anthony Smith

Thanks!

Sincerely,
Anthony Smith
In God We Trust!


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions,microsoft.public.excel.programming
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Firstname Lastname Field, Split two cells

One way ..
Select the range of contact names
Click Data Text to Columns (delimited)
Click Next, check Space Finish
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"Anthony Smith" wrote in message
...
Good Morning Everyone,

We have an Excel file where the contact name is in ONE FIELD. We want to
seperate the FirstName and LastName and put them in TWO FIELDS. Can
anyone tell me how to do this?

Right now this is how the database is:

FieldNames
Contact
Anthony Smith

This is what I'd like to acheive:
FieldNames
FirstName LastName
Anthony Smith

Thanks!

Sincerely,
Anthony Smith
In God We Trust!




  #3   Report Post  
Posted to microsoft.public.excel.programming,microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,058
Default Firstname Lastname Field, Split two cells

Use the Text to Columns feature with a space as the separator.
--
Gary's Student
gsnu200707


"Anthony Smith" wrote:

Good Morning Everyone,

We have an Excel file where the contact name is in ONE FIELD. We want to
seperate the FirstName and LastName and put them in TWO FIELDS. Can anyone
tell me how to do this?

Right now this is how the database is:

FieldNames
Contact
Anthony Smith

This is what I'd like to acheive:
FieldNames
FirstName LastName
Anthony Smith

Thanks!

Sincerely,
Anthony Smith
In God We Trust!



  #4   Report Post  
Posted to microsoft.public.excel.programming,microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,118
Default Firstname Lastname Field, Split two cells

Parsing names can be complicated.....but, if all of the values are in the
form: Firstname (space) Lastname

Try something like this:
Select the list of names

Then, from the Excel main menu:
<data<text-to-columns
Check: Delimited.......click [next]
Check: Space.......click [finish]

So
A2: Anthony Smith

will become
A2: Anthony
B2: Smith

Is that something you can work with?
***********
Regards,
Ron

XL2002, WinXP


"Anthony Smith" wrote:

Good Morning Everyone,

We have an Excel file where the contact name is in ONE FIELD. We want to
seperate the FirstName and LastName and put them in TWO FIELDS. Can anyone
tell me how to do this?

Right now this is how the database is:

FieldNames
Contact
Anthony Smith

This is what I'd like to acheive:
FieldNames
FirstName LastName
Anthony Smith

Thanks!

Sincerely,
Anthony Smith
In God We Trust!



  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions,microsoft.public.excel.programming
external usenet poster
 
Posts: 620
Default Firstname Lastname Field, Split two cells

Another way is
=LEFT(A3,FIND(" ",A3)-1) for the first name,
and =RIGHT(A3,LEN(A3)-FIND(" ",A3)) for the last name.
--
David Biddulph

"Max" wrote in message
...
One way ..
Select the range of contact names
Click Data Text to Columns (delimited)
Click Next, check Space Finish


"Anthony Smith" wrote in message
...
Good Morning Everyone,

We have an Excel file where the contact name is in ONE FIELD. We want to
seperate the FirstName and LastName and put them in TWO FIELDS. Can
anyone tell me how to do this?

Right now this is how the database is:

FieldNames
Contact
Anthony Smith

This is what I'd like to acheive:
FieldNames
FirstName LastName
Anthony Smith

Thanks!

Sincerely,
Anthony Smith
In God We Trust!








  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions,microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default Firstname Lastname Field, Split two cells

Thank you, thank you, thank you. that Data Text to Columns and space
worked perfectly!

Thank you all for the responses. Have a blessed weekend!
"Max" wrote in message
...
One way ..
Select the range of contact names
Click Data Text to Columns (delimited)
Click Next, check Space Finish
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"Anthony Smith" wrote in message
...
Good Morning Everyone,

We have an Excel file where the contact name is in ONE FIELD. We want to
seperate the FirstName and LastName and put them in TWO FIELDS. Can
anyone tell me how to do this?

Right now this is how the database is:

FieldNames
Contact
Anthony Smith

This is what I'd like to acheive:
FieldNames
FirstName LastName
Anthony Smith

Thanks!

Sincerely,
Anthony Smith
In God We Trust!






  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions,microsoft.public.excel.programming
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Firstname Lastname Field, Split two cells

You're welcome ..
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"Anthony Smith" wrote in message
...
Thank you, thank you, thank you. that Data Text to Columns and space
worked perfectly!



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
separate lastname from firstname enrico via OfficeKB.com Excel Worksheet Functions 3 April 14th 09 06:56 AM
Is there a way to separate FirstName and LastName ? Mark246 Excel Discussion (Misc queries) 4 February 24th 08 01:42 AM
LastName, FirstName covert to FirstName LastName Craig860 Excel Discussion (Misc queries) 4 January 14th 08 09:58 PM
How to change lastname, firstname to firstname lastname in Excel? mert Excel Discussion (Misc queries) 1 January 9th 08 06:06 PM
Firstname Lastname Field, Split two cells Anthony Smith Excel Worksheet Functions 6 February 24th 07 03:37 PM


All times are GMT +1. The time now is 10:30 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"