3

I have a spreadsheet with many rows like this:

Arkonor 16m³Crimson +5%Prime +10%Flawless +15%

Bistot 16m³Triclinic +5%Monoclinic +10%Cubic +15%

Crokite 16m³Sharp +5%Crystalline +10%Pellucid +15%

How do I extract words from these cells? Example, in the first row, I would like to extract words Arkonor, Crimson, Prime and Flawless, one in each cell if possible.

0

=TRANSPOSE(SPLIT(TRIM(SUBSTITUTE(REGEXREPLACE(REGEXREPLACE(REGEXREPLACE(
 D1,"\b\w[^A-z]*\b"," "),"\W+"," "),"[0-9]+","")," m "," "))," "))

  • thank you very much! it solved my problem :) – wg2moiLi8K425oUo Dec 27 '18 at 21:37
0

=TRANSPOSE(IFERROR({REGEXEXTRACT(D1,"Arkonor"),
                    REGEXEXTRACT(D1,"Crimson"),
                    REGEXEXTRACT(D1,"Prime"),
                    REGEXEXTRACT(D1,"Flawless")}))

  • thanks for the reply, and sorry I think I did not explain the question correctly, I will edit it. I cannot set values for the words, because I have 200 rows and each row there are different words, so I need a regex to extract words from the cell, no matter what is written there. – wg2moiLi8K425oUo Dec 27 '18 at 18:55

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.