Forum Discussion
WMonty223
Oct 29, 2021Copper Contributor
Text Join - Return Unique Text Only
Hi, I am trying to use text join with Unique function and it does not seem to be working for text. I have successfully used it for values in the same spreadsheet but can't seem to eliminate the duplicate words. Does the Unique function only work for values in O365? Or what could I be doing wrong? Thank you
Better with sample, at least it's not clear unique or distinct (third parameter) values are to be joined.
- PeterBartholomew1Silver Contributor
UNIQUE works with text fields in 365 but perhaps not in the manner you require.
Records are only eliminated only if they duplicate another record in its entirety.
I am not sure what you are planning to do with TEXTJOIN.
- journey4lifeCopper Contributor
In the example you share below for Dogs and Cats, I am trying to have an outcome of what pet types and what colors they are available in - both unique values based on the data in the 'original table'
Dog Black, BrownCat Ginger, Black, White
- PeterBartholomew1Silver Contributor
This is the file. I have made life more complicated by including a version that returns the colours as an array of arrays, as opposed to an array of comma-separated lists.