+ Reply to Thread
Results 1 to 4 of 4

Separating Names in a Cell

  1. #1
    Motaad
    Guest

    Separating Names in a Cell

    I have another trade list where the names are listed Bill & Mary Williams. I
    know I can use the data function, text to columns to separate Bill & Mary
    using the delimited function using other (&). Is there any way of separating
    between Mary and Williams into separate cells?????
    --
    Motaad

  2. #2
    Sloth
    Guest

    RE: Separating Names in a Cell

    I am assuming you want to split "Bill & Mary Williams" to "Bill & Mary"
    "Williams". Use find and replace function to replace all " & " with "-&-"
    and then use Data-Text to Columns to split using spaces as the delimiter.
    Then use find and replace to replace all "-&-" with " &".

    If you want to split "Bill & Mary Williams" to "Bill" "Mary" "Williams" then
    use data text to columns and select both spaces and other "&". And select
    "treat consectutive delimiters as one"

    "Motaad" wrote:

    > I have another trade list where the names are listed Bill & Mary Williams. I
    > know I can use the data function, text to columns to separate Bill & Mary
    > using the delimited function using other (&). Is there any way of separating
    > between Mary and Williams into separate cells?????
    > --
    > Motaad


  3. #3
    Bob Phillips
    Guest

    Re: Separating Names in a Cell

    Use Text to columns with a space and a & separator

    --
    HTH

    Bob Phillips

    (replace somewhere in email address with gmail if mailing direct)

    "Motaad" <Motaad@discussions.microsoft.com> wrote in message
    news:798478AA-EC4F-4165-8664-2707E81F71D8@microsoft.com...
    > I have another trade list where the names are listed Bill & Mary Williams.

    I
    > know I can use the data function, text to columns to separate Bill & Mary
    > using the delimited function using other (&). Is there any way of

    separating
    > between Mary and Williams into separate cells?????
    > --
    > Motaad




  4. #4
    Forum Contributor
    Join Date
    03-14-2006
    Location
    Pakistan
    Posts
    1,791

    Lightbulb

    if your data is in A1 put this function in B1

    =MID(A1,FIND(" ",A1,FIND("&",A1)+2)+1,100)

    Quote Originally Posted by Motaad
    I have another trade list where the names are listed Bill & Mary Williams. I
    know I can use the data function, text to columns to separate Bill & Mary
    using the delimited function using other (&). Is there any way of separating
    between Mary and Williams into separate cells?????
    --
    Motaad

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1