May 04, 2024 08:29 AM
Hello-
I have a lookup cell that is pulling data from multiple cells. The results are showing a list of topics. The topics are repeated (as they're pulling from different cells). You can see, for example, that "Space" is being pulled multiple times. Is there a way to tell it to only list topics that haven't been listed, meaning only unique topics (not duplicates)? Thanks in advance!!
May 04, 2024 10:44 AM
Hi Lauren,
I would suggest that you use the ARRAYUNIQUE() function.
Basically to do so, you will have to create a new new formula field in your table.
Then use the formula ARRAYUNIQUE(FIELDNAME) for the new field. (where FIELDNAME is the lookup field that contains the duplicated topics)
Now this new field will display only unique values from the original lookup field.
Hope this helps!
May 04, 2024 10:46 AM
Use a rollup field instead of a lookup field. Use the rollup formula ARRAYUNIQUE(values). I like to nest it inside ARRAYJOIN(ARRAYUNIQUE(values), ", ").
You will loose the pill appearance and the click-through ability.
May 04, 2024 11:25 AM
May 04, 2024 04:30 PM
Looks like you have a nesting situation where you are looking up things from two tables away. You need to create a lookup in the middle table (even if it is a lookup of the primary field value shown in the linked record field). Then have a rollup of the lookup field and flatten it.
ARRAYJOIN(ARRAYUNIQUE(ARRAYFLATTEN(values)), " / ")
May 10, 2024 04:28 AM
Hi all-- thanks so much for the replies. I actually just added a new AI field and told it to pull from that field, separate them by " / " and then alphabetize. It worked perfectly!