I’d like to use a rollup field with an array as an input for a formula in a different field, but it gives me an error. It seems to not be treating the rollup as a text string.
Solved
Formula Error with Rollup Input

Best answer by kuovonne
There are a few issues here.
If you are using only ARRAYUNIQUE
as your rollup aggregation formula, then the result is an array, not a text string. You can use ARRAYJOIN
in conjunction with ARRAYUNIQUE
to get a text string:
ARRAYJOIN(ARRAYUNIQUE(values))
After you get the text string, you probably want to use REPLACE
instead of SUBSTITUTE
.
SUBSTITUTE
replaces all occurrences of “old text” with “new text”. REPLACE
will replace only the first instance.
I don’t know what your ultimate goal is in splitting out these fields. However, there might also be other ways to get to your end goal that don’t involve as much string manipulation.
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.