Quantcast
Channel: Hot Weekly Questions - Web Applications Stack Exchange
Viewing all articles
Browse latest Browse all 9782

Check What Same Text Is Found In A List & List The Text

$
0
0

I have 2 columns of values. I want to create a formula that looks at Column A and finds what Column B text values are within in the Column A items. Then I want what matches to list in column C. I've posted an example below.

Column A Apples ListColumn B CategoriesColumn C Results
Gala ApplesGalaGala
Pink Lady and Honeycrisp ApplesFujiHoneycrisp
Fuji and Honeycrisp ApplesHoneycrispFuji, Honeycrisp
Gala and Honeycrisp ApplesGolden DeliciousGala, Honeycrisp
Green Apples
Golden Delicious and FujiFuji, Golden Delicious

I've tried the following but this does not work and shows no matches.

=TEXTJOIN(", ",TRUE,IF(A2=$B$2:$B$4,$B$2:$B$4,"no matches"))

Viewing all articles
Browse latest Browse all 9782

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>