+ Reply to Thread
Results 1 to 5 of 5

to separate the vowels and the consonants of a word.

  1. #1
    Registered User
    Join Date
    07-10-2007
    Location
    Turkey-Bartın/
    MS-Off Ver
    Ms Office-2007
    Posts
    44

    Cool to separate the vowels and the consonants of a word.

    Hi
    I need to separate the vowels of the words listed in Col A and write them in Col B and the consonants in Col C ?

    as in . "ice cream" ----"ieea" ,"ccrm"
    "ground" ----" ou" ,"grnd"

    thanks,
    Last edited by gencoglu27; 12-25-2011 at 05:43 AM.

  2. #2
    Forum Expert dangelor's Avatar
    Join Date
    09-06-2011
    Location
    Indiana, USA
    MS-Off Ver
    365 Pro Plus
    Posts
    2,274

    Re: to separate the vowels and the consonants of a word.

    Here's a formula to remove the vowels...

    =SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(A1,"a",""),"e",""),"I",""),"o",""),"u","")

    and the consonants...

    =SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(A1,"b",""),"c",""),"d",""),"f",""),"g",""),"h",""),"j",""),"k",""),"l",""),"m",""),"n",""),"p",""),"q",""),"r",""),"s",""),"t",""),"v",""),"w",""),"x",""),"y",""),"z","")
    Last edited by dangelor; 12-24-2011 at 06:55 PM.

  3. #3
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: to separate the vowels and the consonants of a word.

    Or with a couple of VBA functions..

    Please Login or Register  to view this content.
    Please Login or Register  to view this content.
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  4. #4
    Forum Contributor
    Join Date
    09-23-2008
    Location
    Mexico
    Posts
    200

    Re: to separate the vowels and the consonants of a word.

    Another one
    http://www.mrexcel.com/forum/showthread.php?t=243823
    Please Login or Register  to view this content.
    =Letters(A1,0) will return consonants
    =Letters(A1,1) will return vowels

  5. #5
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: to separate the vowels and the consonants of a word.

    FWIW, you could remove the need for the repeat upper/lower by using IgnoreCase within the RegExp

+ 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