Forum Discussion

paramdave's avatar
paramdave
Copper Contributor
Jul 01, 2020

Exclude Certain text from a cell.

Formulas and Functions - 

 

In the below image, I know the values which are A, B, C, ...H but I wont be having the values for 1 2 3 .. n 

How can i capture the random values out of the fixed in a cell? 

 

NOTE: All the variable is a "text" and the order of A, B, 1 doesn't remain the same. 

 

Any function to capture the random value will help

 

1 Reply

  • SergeiBaklan's avatar
    SergeiBaklan
    Diamond Contributor

    paramdave 

    That could be

    =SORT(FILTER(
       FILTERXML("<r><n>" & SUBSTITUTE(TEXTJOIN(",",,A:A),",","</n><n>") & "</n></r>",  "//n"),
       ISTEXT(FILTERXML("<r><n>" & SUBSTITUTE(TEXTJOIN(",",,A:A),",","</n><n>") & "</n></r>",  "//n"))
    ))

    for

Resources