#1   Report Post  
Posted to microsoft.public.excel.misc
Jim Jim is offline
external usenet poster
 
Posts: 615
Default Break up a name

Hello,

I ahve a list of names, with middle initials, that I need to break up. For
example the names are formatted like the following:

Bayer, Daniel E.

I need help with three results: the fist is the first name only; the second
is the last name only. And the third, I know I can merge the results for the
first and last name, but if there is a formula that will bring out the first
and last together I would love to learn what that formula is.

Thanks for the help.
Jim
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,819
Default Break up a name

Text to columns, separate on the comma. then text to columns separate on
space.

Jim wrote:

Hello,

I ahve a list of names, with middle initials, that I need to break up. For
example the names are formatted like the following:

Bayer, Daniel E.

I need help with three results: the fist is the first name only; the second
is the last name only. And the third, I know I can merge the results for the
first and last name, but if there is a formula that will bring out the first
and last together I would love to learn what that formula is.

Thanks for the help.
Jim


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4
Default Break up a name

Assuming formatting is exactly as shown, & in cell A1:
Firstname: =MID(A1,FIND(",",A1)+2,FIND(" ",A1,FIND(" ",A1)+1)-FIND(",",A1)-2)
Lastname: =LEFT(A1,FIND(",",A1)-1)
Firstname<spacelastname: =MID(A1,FIND(",",A1)+2,FIND(" ",A1,FIND("
",A1)+1)-FIND(",",A1)-1)&LEFT(A1,FIND(",",A1)-1)




"Jim" wrote:

Hello,

I ahve a list of names, with middle initials, that I need to break up. For
example the names are formatted like the following:

Bayer, Daniel E.

I need help with three results: the fist is the first name only; the second
is the last name only. And the third, I know I can merge the results for the
first and last name, but if there is a formula that will bring out the first
and last together I would love to learn what that formula is.

Thanks for the help.
Jim

  #4   Report Post  
Posted to microsoft.public.excel.misc
Jim Jim is offline
external usenet poster
 
Posts: 615
Default Break up a name

Vicar,

Perfect, thanks for taking the time.

Jim



"Vicar" wrote:

Assuming formatting is exactly as shown, & in cell A1:
Firstname: =MID(A1,FIND(",",A1)+2,FIND(" ",A1,FIND(" ",A1)+1)-FIND(",",A1)-2)
Lastname: =LEFT(A1,FIND(",",A1)-1)
Firstname<spacelastname: =MID(A1,FIND(",",A1)+2,FIND(" ",A1,FIND("
",A1)+1)-FIND(",",A1)-1)&LEFT(A1,FIND(",",A1)-1)




"Jim" wrote:

Hello,

I ahve a list of names, with middle initials, that I need to break up. For
example the names are formatted like the following:

Bayer, Daniel E.

I need help with three results: the fist is the first name only; the second
is the last name only. And the third, I know I can merge the results for the
first and last name, but if there is a formula that will bring out the first
and last together I would love to learn what that formula is.

Thanks for the help.
Jim

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
Excel 2007 Page Break Adjustments causes a page break each cell BKaufman Excel Worksheet Functions 2 September 10th 10 05:02 AM
Break a link between workbooks when there is no "break" option FruitNLoops Excel Discussion (Misc queries) 2 January 31st 09 05:16 AM
Break cell into multiple lines by line break Chia Excel Discussion (Misc queries) 1 August 20th 06 06:37 AM
Use of Break Key Troy G. Excel Discussion (Misc queries) 2 February 10th 06 10:20 PM
adding a new page break to an existing page break Edward Letendre Excel Discussion (Misc queries) 1 March 6th 05 09:29 AM


All times are GMT +1. The time now is 07:29 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"