Forum Discussion

HZ2506's avatar
HZ2506
Copper Contributor
Nov 11, 2022
Solved

Extract multiple matching texts in separate in 2 columns (with multiple texts separate by comma)

Hi,   I have sample data as below, in the 3rd column would want to filter out all text that matching between 1st and 2nd column. Is there any formula function that can help to achieve this?   App...
  • OliverScheurich's avatar
    Nov 11, 2022

    HZ2506 

    =TEXTJOIN(",",,UNIQUE(FILTER(TRANSPOSE(TEXTSPLIT(B2,",")),TRANSPOSE(ISNUMBER(SEARCH(TEXTSPLIT(B2,","),A2))))))

    An alternative could be this formula.

     

Resources