Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

Select the matching values from a comma separated value column

I have the following data:

enter image description here

I need to extract on a new column only the values (from the comma separated ones) which match one or more from the reference data.

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

I’ve tried Index and Match but doesn’t seem to work on ranges of reference data in combination with comma separated ones.

>Solution :

Use TEXTJOIN,TEXTSPLIT and XLOOKUP

=TEXTJOIN(",",TRUE,XLOOKUP(TEXTSPLIT(A2,","),D:D,D:D,""))

enter image description here

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading