Forum Discussion

Rahiros's avatar
Rahiros
Copper Contributor
Sep 30, 2025
Solved

Delete cells with exactly three syllables

I'm not sure if this is too specific a command to use in Excel, but I have a column in which I want to delete all cells in that column with exactly 3 syllables in them. Is this even possible?
  • Patrick2788's avatar
    Patrick2788
    Oct 03, 2025

    I think this is what you're looking to do (the 3 consonants don't have to be consecutive):

    =BYROW(words,LAMBDA(w,COUNTA(REGEXEXTRACT(w,"[^aeiou]",1,1))=3))

    Regexextract checks for anything not a vowel (case insensitive) and COUNTA is there to count the consonants. The function is applied with BYROW.

    You could then filter for TRUE and delete as needed.

     

Resources