0

I have column which has combination of the values i want, along with the dates

enter image description here

And I want specifically those 8 digit number in next column extracting them alone leaving the dates.

EXPECTED OUTPUT-

enter image description here

Note- the set of values to be extracted is constantly 8 digits and doesn't necessarily have to start with 55.

1 Answers1

1

You can try FILTERXML() like-

=TEXTJOIN(";",TRUE,FILTERXML("<t><s>"&SUBSTITUTE(SUBSTITUTE(A2,"/","</s><s>"),";","</s><s>")&"</s></t>","//s[not(contains(., '.'))]"))

enter image description here

Harun24hr
  • 30,391
  • 4
  • 21
  • 36