Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4
Default splitting Last Name, First Name

I have a field with Last name separated by a comma and then First Name (ie
Smith, John). The names are not the same length and comma is not at same
place (if so, text to colum would work).

Is there a way to split field to get last name in one colum and first name
in another colum?
thanks
Sal
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 477
Default splitting Last Name, First Name

With your data beginning in A1

In B1 enter In C1 enter
=LEFT(A1,FIND(",",A1)-1) =RIGHT(A1,(LEN(A1)-FIND(",",A1)-1))

and copy down


"buggles" wrote:

I have a field with Last name separated by a comma and then First Name (ie
Smith, John). The names are not the same length and comma is not at same
place (if so, text to colum would work).

Is there a way to split field to get last name in one colum and first name
in another colum?
thanks
Sal

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4
Default splitting Last Name, First Name



"Jim May" wrote:

With your data beginning in A1

In B1 enter In C1 enter
=LEFT(A1,FIND(",",A1)-1) =RIGHT(A1,(LEN(A1)-FIND(",",A1)-1))

and copy down


"buggles" wrote:

I have a field with Last name separated by a comma and then First Name (ie
Smith, John). The names are not the same length and comma is not at same
place (if so, text to colum would work).

Is there a way to split field to get last name in one colum and first name
in another colum?
thanks
Sal


thanks, much JIM!!
  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 492
Default splitting Last Name, First Name

'The names are not the same length and comma is not at same
place (if so, text to colum would work).'

Text to column will work, use the delimited option and select the comma as
the delimiter,
Regards,
Alan.

"buggles" wrote in message
...


"Jim May" wrote:

With your data beginning in A1

In B1 enter In C1 enter
=LEFT(A1,FIND(",",A1)-1) =RIGHT(A1,(LEN(A1)-FIND(",",A1)-1))

and copy down


"buggles" wrote:

I have a field with Last name separated by a comma and then First Name
(ie
Smith, John). The names are not the same length and comma is not at
same
place (if so, text to colum would work).

Is there a way to split field to get last name in one colum and first
name
in another colum?
thanks
Sal


thanks, much JIM!!


  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4
Default splitting Last Name, First Name



Jim,
worked like a charm!!!

thank you VERY much!!




"Jim May" wrote:

With your data beginning in A1

In B1 enter In C1 enter
=LEFT(A1,FIND(",",A1)-1) =RIGHT(A1,(LEN(A1)-FIND(",",A1)-1))

and copy down


"buggles" wrote:

I have a field with Last name separated by a comma and then First Name (ie
Smith, John). The names are not the same length and comma is not at same
place (if so, text to colum would work).

Is there a way to split field to get last name in one colum and first name
in another colum?
thanks
Sal

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
splitting a cell wnfisba Excel Discussion (Misc queries) 7 April 10th 07 10:22 AM
Splitting names [email protected] Excel Discussion (Misc queries) 4 January 12th 07 08:44 PM
Splitting Panes mercedes Excel Discussion (Misc queries) 1 January 2nd 07 09:54 PM
Splitting one column into two Big John New Users to Excel 3 August 24th 06 08:50 PM
Splitting Cells D Head Excel Discussion (Misc queries) 1 June 30th 05 02:08 PM


All times are GMT +1. The time now is 05:31 AM.

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"