+ Reply to Thread
Results 1 to 14 of 14

consonant pull by ALPHA

  1. #1
    Forum Contributor
    Join Date
    01-04-2014
    Location
    East Africa
    MS-Off Ver
    MS OFFICE 2019 PRO
    Posts
    3,616

    consonant pull by ALPHA

    APADANA
    ATALAYA
    ARAWANA
    ARAARAS

    Have the following on A1

    Need formula on B1

    results required

    DNP
    LTY
    NRW
    RRS

  2. #2
    Forum Contributor
    Join Date
    01-04-2014
    Location
    East Africa
    MS-Off Ver
    MS OFFICE 2019 PRO
    Posts
    3,616

    Re: consonant pull by ALPHA

    Vowels will change for words like AMADODA

  3. #3
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,888

    Re: consonant pull by ALPHA

    With Power Query

    Please Login or Register  to view this content.
    Attached Files Attached Files
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  4. #4
    Forum Contributor
    Join Date
    01-04-2014
    Location
    East Africa
    MS-Off Ver
    MS OFFICE 2019 PRO
    Posts
    3,616

    Re: consonant pull by ALPHA

    I need DNP not PDN on the first result

  5. #5
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,888

    Re: consonant pull by ALPHA

    Is there any chance you could change the tone of your responses? It's all very 'demanding' at the moment - I realise that English may not be your first language, but 'please' and 'thank you' are universal courtesies.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  6. #6
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,888

    Re: consonant pull by ALPHA

    I suggest that you take the data from PQ as shown and close and load to Excel. Then do a Text to Columns and then do a horizontal alpha sort. Once this is complete, concatenate the columns.

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

    Re: consonant pull by ALPHA

    Based on your examples, you could use a UDF along lines of below:
    Please Login or Register  to view this content.
    the above, stored in standard module, could be called along lines of: =ConsonantSort(A1) ... you have option of calling with modified exclusion criteria also, e.g. =ConsonantSort(A1,"EIOU") would return all the As.
    Last edited by XLent; 08-20-2021 at 06:56 AM. Reason: modified Byte to Long - just in case...

  8. #8
    Forum Contributor
    Join Date
    04-15-2013
    Location
    Singapore, Melbourne
    MS-Off Ver
    Office 365
    Posts
    167

    Re: consonant pull by ALPHA

    The below formula only applicable for Excel 2013 and above. If you are using an older version, you have to consider Power Query or VBA.

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


    You may also use this formula if you have Office 365.
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Row row row your boat
    Gently down the stream

  9. #9
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,587

    Re: consonant pull by ALPHA

    Thia ARRAY formula works.
    Max characters is assumed as 30.
    Change it if required more.
    In B2 copied down
    Please Login or Register  to view this content.
    To enter ARRAY formula
    Copy and paste the formula in cell
    Press F2
    Press Ctrl+Shift+Enter together
    Excel covers the formula with {}.
    Attached Files Attached Files
    Pl note
    Array formula should be confirmed with Ctrl+Shift+Enter keys together.
    If answere is satisfactory press * to add reputation.

  10. #10
    Forum Contributor
    Join Date
    04-15-2013
    Location
    Singapore, Melbourne
    MS-Off Ver
    Office 365
    Posts
    167

    Re: consonant pull by ALPHA

    eliminate all vowel letters and sort by alphabet.

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

  11. #11
    Valued Forum Contributor janmorris's Avatar
    Join Date
    07-24-2021
    Location
    Japan
    MS-Off Ver
    Google Sheets (& Mac 2021)
    Posts
    1,066

    Re: consonant pull by ALPHA

    step 1, remove the vowels (option 1):

    with all words in column A, to remove all vowels, place this formula into cell B1:
    Please Login or Register  to view this content.
    then drag down to other cells

    step 1, remove the vowels (option 2):
    you can create a VBA Module with this code:
    Please Login or Register  to view this content.
    then use this formula in cell B1:
    Please Login or Register  to view this content.
    then drag down to other cells


    step 2, sort the consonants (option 1, for exactly 3 consonants):
    if there will only be 3 consonants, to sort them (AFTER the vowels have been removed), place this formula into cell C1:
    Please Login or Register  to view this content.
    then drag down to other cells

    step 2, sort the consonants (option 2, for any number of consonants):
    if there will be more OR less than 3 consonants, to sort them (AFTER the vowels have been removed), you can create a VBA Module with this code:
    Please Login or Register  to view this content.
    then use this formula in cell C1:
    Please Login or Register  to view this content.
    then drag down to other cells

  12. #12
    Forum Guru
    Join Date
    04-23-2012
    Location
    New Jersey, USA
    MS-Off Ver
    Excel 365
    Posts
    2,414

    Re: consonant pull by ALPHA

    Here is a shorter array-entered** formula that should work (provided your version of Excel has the TEXTJOIN function in it)...
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    **Commit this formula using CTRL+SHIFT+ENTER and not just Enter by itself
    Last edited by Rick Rothstein; 08-22-2021 at 04:12 AM.

  13. #13
    Valued Forum Contributor janmorris's Avatar
    Join Date
    07-24-2021
    Location
    Japan
    MS-Off Ver
    Google Sheets (& Mac 2021)
    Posts
    1,066

    Re: consonant pull by ALPHA

    you could try to place this formula in cell B1:

    Please Login or Register  to view this content.
    then drag down to other cells

  14. #14
    Forum Guru
    Join Date
    04-23-2012
    Location
    New Jersey, USA
    MS-Off Ver
    Excel 365
    Posts
    2,414

    Re: consonant pull by ALPHA

    Quote Originally Posted by Rick Rothstein View Post
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Actually, if your version of Excel has the CONCAT function, we can shorten the above array-entered** formula by 6 characters...
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    **Commit this formula using CTRL+SHIFT+ENTER and not just Enter by itself

+ 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] pull out desired CONSONANT
    By makinmomb in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 07-15-2021, 03:35 PM
  2. [SOLVED] ALPHA pull vowels from words
    By makinmomb in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 06-27-2021, 03:54 PM
  3. [SOLVED] How to pull Alpha characters from a alpha-numeric string
    By roxdrob01 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 06-11-2019, 01:11 AM
  4. [SOLVED] Macro to pull same consonant words
    By makinmomb in forum Excel Formulas & Functions
    Replies: 15
    Last Post: 11-05-2017, 10:37 AM
  5. Macro to pull same consonant words
    By makinmomb in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 11-02-2017, 06:18 AM
  6. [SOLVED] pull vowels in alpha order
    By makinmomb in forum Excel Formulas & Functions
    Replies: 14
    Last Post: 02-27-2017, 02:55 PM
  7. [SOLVED] Splitting word list based on syllabic structure, CVC (consonant/vowel/consonant) etc
    By Jay Bee in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 10-23-2013, 10:36 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