+ Reply to Thread
Results 1 to 10 of 10

More help please with contact list....

  1. #1
    Registered User
    Join Date
    11-07-2006
    Posts
    5

    More help please with contact list....

    Thanks to those of you that helped me with my first question. I have two more.

    I needed to know how to make my "Jane Doe" in one cell look like "Doe, Jane." Accomplished...thank you. Now I need to know how to make my "John & Jane Doe" look like "Doe, John & Jane." The formula I received made it look like "Jane Doe, & John."

    Next question....once I have all of those, how do I paste them in the column I need without getting "Ref.?"

  2. #2
    Forum Expert Carim's Avatar
    Join Date
    04-07-2006
    Posts
    4,070
    Warned you about the structure of your data ...
    Can you give us one example of each of your possibilities ...
    in order to come up with a comprehensive answer ...?

    Carim

  3. #3
    Forum Contributor
    Join Date
    07-13-2006
    Posts
    400
    Quote Originally Posted by ckluge
    Thanks to those of you that helped me with my first question. I have two more.

    I needed to know how to make my "Jane Doe" in one cell look like "Doe, Jane." Accomplished...thank you. Now I need to know how to make my "John & Jane Doe" look like "Doe, John & Jane." The formula I received made it look like "Jane Doe, & John."

    Next question....once I have all of those, how do I paste them in the column I need without getting "Ref.?"
    this is going to be a real pain in the butt because you're going to have a really hard time knowing where to seperate.
    For example John & Jane Doe seperates first names from last names at the third space. But some lastnames have spaces in them, so a name like John Van LastName seperates at the second space and then some names like John Doe seperates at the first space.
    I have a feeling you're going to have to manually go through your list and correct the exceptions to your original rule.
    If all your contacts with two names have a & in them we can use that to help, but it'll be almost impossible to account for all possiblities

  4. #4
    Registered User
    Join Date
    11-07-2006
    Posts
    5

    Response to Carim....

    Hi Carim, below are the possibilities:

    John A. & Jane A. Doe
    John & Jane Doe
    John A. Jr. & Jane Doe

    Thanks for your help. =)

  5. #5
    Forum Contributor
    Join Date
    07-05-2006
    Location
    Canada
    MS-Off Ver
    2003, 2007
    Posts
    581
    Quote Originally Posted by ckluge
    Hi Carim, below are the possibilities:

    John A. & Jane A. Doe
    John & Jane Doe
    John A. Jr. & Jane Doe

    Thanks for your help. =)
    This is useful, but you never indicated whether or not what MDubbelboer suggested was possible, such as the following:

    John A. & Jane A. Van Doe, where Van Doe is the last name.

  6. #6
    Forum Contributor
    Join Date
    07-13-2006
    Posts
    400
    Quote Originally Posted by Maistrye
    This is useful, but you never indicated whether or not what MDubbelboer suggested was possible, such as the following:

    John A. & Jane A. Van Doe, where Van Doe is the last name.
    assuming last names never have a space in them we can return the string to the right of the last space as the last name, and follow with the first name with this monstrosity courtesy of scott:
    =RIGHT(A1,LEN(A1)-FIND("~",SUBSTITUTE(A1," ","~",LEN(A1)-LEN(SUBSTITUTE(A1," ","")))))&", "&LEFT(A1,FIND("~",SUBSTITUTE(A1," ","~",LEN(A1)-LEN(SUBSTITUTE(A1," ","")))))

  7. #7
    Registered User
    Join Date
    11-07-2006
    Posts
    5
    No names are separate currently but it is a possibility in the future. This last sum is not working for me.

  8. #8
    Registered User
    Join Date
    11-07-2006
    Posts
    5

    NEVERMIND! Thanks Scott....

    Nevermind, it works great. Thanks for all your help everyone!

  9. #9
    Forum Expert oldchippy's Avatar
    Join Date
    02-14-2005
    Location
    Worcester, UK
    MS-Off Ver
    Excel 2007 (Home)
    Posts
    7,097

    Thumbs up

    Quote Originally Posted by ckluge
    Nevermind, it works great. Thanks for all your help everyone!
    Hi ckluge,

    Never give up, there is always an answer

    Your examples in A1:A3

    John A. & Jane A. Doe
    John & Jane Doe
    John A. Jr. & Jane Doe

    In B1 put this as an array formula, copy it, but enter it as Ctrl Shift Enter

    =RIGHT(A1,LEN(A1)-MAX(ROW(INDIRECT("1:"&LEN(A1))) *(MID(A1,ROW(INDIRECT("1:"&LEN(A1))),1)=" ")))

    Then in C1, put this, but not as an array

    =B1&", "&LEFT(A1,LEN(A1)-LEN(B1))

    Result

    Doe, John A. & Jane A.
    Doe, John & Jane
    Doe, John A. Jr. & Jane

    oldchippy

  10. #10
    Forum Expert Carim's Avatar
    Join Date
    04-07-2006
    Posts
    4,070
    Oldchippy,

    You are a Saint ... !!!

    Cheers
    Carim

+ 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