Forum Discussion

tibbyjudy's avatar
tibbyjudy
Copper Contributor
Mar 18, 2022
Solved

Extract all consecutive 3-letter strings from text cell

I need a formula to extract all consecutive 3-letter strings from cells with varying lengths of text, then aggregate them, separated by slashes. In the example below, the column on the left is the da...
  • Starrysky1988's avatar
    Mar 18, 2022
    =TEXTJOIN("/",,LOWER(MID(SUBSTITUTE(A1," ",""),ROW(INDIRECT("1:"&LEN(SUBSTITUTE(A1," ",""))-2)),3)))
    **You can change A1 as you need.

Resources