#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default name separation

how do i separate a single cell name "Doe, John" into two separate cells?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,501
Default name separation

Hi,

text in a1

First part
=LEFT(A1,FIND(",",A1,1)-1)

Second part
=TRIM(MID(A1,FIND(",",A1,1)+1,LEN(A1)))

Mike

"Help with Cell question" wrote:

how do i separate a single cell name "Doe, John" into two separate cells?

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 209
Default name separation

Assuming 'Doe, John' is in Cell A1...
=LEFT(A1,FIND(", ",A1)-1) equals 'Doe'
=RIGHT(A1,LEN(A1)-FIND(", ",A1)-1) equals 'John'
--
Hope this helps.
If this post was helpfull, please remember to click on the ''''YES''''
button at the bottom of the screen.
Thanks,
Gary Brown


"Help with Cell question" wrote:

how do i separate a single cell name "Doe, John" into two separate cells?

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default name separation

If you are asking this because you have a column of names like that in
single cells, you can select all the names in the column, click Data/Text To
Columns on Excel's menu bar; select the Delimited option on the Step 1
dialog page and click Next; put a check mark in the Space, Comma and "Treat
consecutive delimiters as one" check boxes and then click Finish.

Rick


"Help with Cell question" <Help with Cell
wrote in message
...
how do i separate a single cell name "Doe, John" into two separate cells?


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
Mean separation by LSD value Peggy Excel Worksheet Functions 2 July 18th 08 12:25 PM
Value separation and then adding Walt Moeller Excel Worksheet Functions 2 March 4th 08 04:59 PM
Cell Separation Freshman Excel Worksheet Functions 8 September 7th 05 01:49 AM
Decimals separation "." and "," giovdett Excel Worksheet Functions 1 March 30th 05 11:03 AM
Decimals separation by . or , giovdett Excel Discussion (Misc queries) 0 March 30th 05 07:54 AM


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