+ Reply to Thread
Results 1 to 5 of 5

Possible to output last word in a text cell that contains several words?

  1. #1
    Registered User
    Join Date
    03-20-2008
    Posts
    11

    Possible to output last word in a text cell that contains several words?

    Here's my dilemna:

    I have a list of full names of people. I want just their last names to be in a cell all by themselves

    For example: "John A Smith" would be in one cell, but i want just "Smith" in another cell.

    I tried the 'text to columns' approach using the space delimiter approach and that would've worked except for 2 problems... some names begin with a "Mr." or "Mrs." and some names would not have a middle initial.

    So for example, you could have "Mr. John A Smith" or "John Smith" or "Mr. John Smith", etc. etc.

    My solution would be to have some function to pick just the very last word in the cell. Is there something like that available? Or something similar? Thanks in advance!

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

    If your name is in A1, try this

    Please Login or Register  to view this content.
    oldchippy
    -------------


    Blessed are those who can give without remembering and take without forgetting

    If you are happy with the help you have received, please click the <--- STAR icon on the left - Thanks.

    Click here >>> Top Excel links for beginners to Experts

    Forum Rules >>>Please don't forget to read these

  3. #3
    Registered User
    Join Date
    03-20-2008
    Posts
    11
    Quote Originally Posted by oldchippy
    Hi,

    If your name is in A1, try this

    Please Login or Register  to view this content.
    I'll try this out when i get to work, thanks!

  4. #4
    Registered User
    Join Date
    03-20-2008
    Posts
    11
    Quote Originally Posted by Phokus
    I'll try this out when i get to work, thanks!
    It worked, thanks oldchippy!

  5. #5
    Forum Expert oldchippy's Avatar
    Join Date
    02-14-2005
    Location
    Worcester, UK
    MS-Off Ver
    Excel 2007 (Home)
    Posts
    7,097
    Glad to hear it - thanks for the feedback

+ 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