+ Reply to Thread
Results 1 to 6 of 6

First Initial & Last Name?

Hybrid View

  1. #1
    Valued Forum Contributor
    Join Date
    07-16-2007
    Location
    GA
    MS-Off Ver
    Office 365 - Version 2403
    Posts
    1,059

    Thumbs up First Initial & Last Name?

    Hi,

    I have a single cell with a first & last name. I would like to extract the first initial & last name out of it.

    For example:

    MyCon Nguyen M. Nguyen
    Cell: D7

    Right now I have the function which gives me the initials:

    =LEFT(D7,1)&"."&MID(D7,(FIND(" ",D7)+1),1)&"."

    Now, I'm seeking to keep the last name, but extract out first initial. Perhaps, in the even that team members has same initials, I may need a middle initial.


    Please advise....

    Thanks
    Last edited by mycon73; 11-12-2012 at 02:56 PM.
    MyCon
    -- Using Latest Version of Excel

  2. #2
    Forum Contributor dogberry's Avatar
    Join Date
    07-15-2012
    Location
    Wales, UK
    MS-Off Ver
    Excel 2010
    Posts
    624

    Re: First Initial & Last Name?

    Hi

    Have you tried Data Tab, text to columns to sort your data first before using formula.

    Chris
    Click my star if I helped Thanks

  3. #3
    Valued Forum Contributor
    Join Date
    07-16-2007
    Location
    GA
    MS-Off Ver
    Office 365 - Version 2403
    Posts
    1,059

    Re: First Initial & Last Name?

    Hi Ace_XL

    This works great!!!

    I knew there was something out there....

    Thanks

  4. #4
    Forum Expert Ace_XL's Avatar
    Join Date
    06-04-2012
    Location
    UAE
    MS-Off Ver
    2016
    Posts
    6,074

    Re: First Initial & Last Name?

    try..

    =LEFT(D7,1)&"."&TRIM(RIGHT(SUBSTITUTE(D7," ",REPT(" ",100),LEN(D7)-LEN(SUBSTITUTE(D7," ",""))),100))
    Life's a spreadsheet, Excel!
    Say thanks, Click *

  5. #5
    Valued Forum Contributor
    Join Date
    07-16-2007
    Location
    GA
    MS-Off Ver
    Office 365 - Version 2403
    Posts
    1,059

    Re: First Initial & Last Name?

    Hi,

    I have a dynamic spreadsheet, which will change frequently.

    I saw a function here a while ago that I think was similar to mine, but can't seem to find at the moment.

    Thanks

  6. #6
    Forum Expert Ace_XL's Avatar
    Join Date
    06-04-2012
    Location
    UAE
    MS-Off Ver
    2016
    Posts
    6,074

    Re: First Initial & Last Name?

    I knew there was something out there....
    There always is..seek and thou shall find!

+ 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