+ Reply to Thread
Results 1 to 4 of 4

Extract first letter of each word

  1. #1
    Registered User
    Join Date
    05-12-2020
    Location
    Cape Town, South Africa
    MS-Off Ver
    2019
    Posts
    2

    Extract first letter of each word

    Can anyone please help me, with what formula can I extract the first letter of each word in a range of names?
    So I have a range of First, Second and third names and I would like to extract the initials to a separate cell. Some have only one name and some have 2 or 3 names. EG:

    Mzolisi William
    Nothemba Princess
    Keith Vernon Peter
    Leigh

    And I want to extract the First letters so that the result would be

    MW
    NP
    KVP
    L

  2. #2
    Forum Expert XLent's Avatar
    Join Date
    10-13-2010
    Location
    Northumberland, UK
    MS-Off Ver
    various
    Posts
    2,704

    Re: Extract first letter of each word

    given 2019

    Formula: copy to clipboard
    Please Login or Register  to view this content.

  3. #3
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.84 for Mac MS 365
    Posts
    8,496

    Re: Extract first letter of each word

    this is one way ...
    =IF(LEN(A1)-LEN(SUBSTITUTE(A1," ",""))=0,LEFT(A1,1),IF(LEN(A1)-LEN(SUBSTITUTE(A1," ",""))=1,LEFT(A1,1)&MID(A1,FIND(" ",A1)+1,1),LEFT(A1,1)&MID(A1,FIND(" ",A1)+1,1)&MID(A1,FIND(" ",A1,FIND(" ",A1)+1)+1,1)))
    Make contributors happy, click on the "* Add Reputation" as a way to say thank you.
    Sam Capricci

  4. #4
    Registered User
    Join Date
    05-12-2020
    Location
    Cape Town, South Africa
    MS-Off Ver
    2019
    Posts
    2

    Re: Extract first letter of each word

    Thank you so much. Wow I did not expect the formula to be so complicated. I am still learning about formulas and will have to learn each function in this formula to be able to understand it better.

    However, I just started manually typing the initials from the top of my list and Excel automatically wanted to auto fill the rest of my range. Just had to press enter and then Excel did it for me. :-)

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Extract list based on first second and last letter of word
    By JackT93 in forum Excel General
    Replies: 8
    Last Post: 01-07-2020, 09:27 PM
  2. [SOLVED] How to extract a text if you know the position of the first letter and letter number
    By zanshin777 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 12-04-2018, 05:00 AM
  3. [SOLVED] VBA to extract the first letter of every word in userform textbox
    By poizones in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 11-20-2018, 07:35 PM
  4. [SOLVED] Extract Two Letter Word from Text in Cell
    By alyon in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 02-02-2018, 11:30 AM
  5. Extract a word in the workbook's filename and add this word to another word
    By cyberjoad in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-25-2016, 03:54 AM
  6. [SOLVED] How to extract single letter from the whole word in excel
    By Vimal Bhatt in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 06-21-2015, 11:25 AM
  7. [SOLVED] Default Capital letter for 1st letter of a word
    By Jeff in forum Excel General
    Replies: 6
    Last Post: 07-10-2006, 03:39 AM

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