Forum Discussion
Lopezr2307
Oct 06, 2021Copper Contributor
TEXTJOIN and IF and MATCH
So a little bit of background, I am using the TEXTJOIN and IF statement to pull multiple values from one tab and pull them into one cell on a tab. This works and the values are pulled in the problem ...
SergeiBaklan
Oct 06, 2021Diamond Contributor
Please check this thread Removing duplicates when using TEXTJOIN - Microsoft Tech Community
- Lopezr2307Oct 06, 2021Copper ContributorThat is the thread I have been following and the video that I was using, the problem is that it does not incorporate the lookup function as well.. I need to be able to perform the if a = b then give me c, then sort through all the c's and only return unique values
- SergeiBaklanOct 06, 2021Diamond Contributor
You may try
with array formula
=TEXTJOIN(", ", 1, IF( COUNTIF(A2,B2:B28)* ( MATCH(C2:C28,C2:C28,0) = (ROW(C2:C28)-ROW($C$1)) ), INDEX( C2:C28, ROW(C2:C28)-ROW($C$1) ), "") )