Help

Re: [Solved] Strip Quotes from a Rollup field

Solved
Jump to Solution
1593 1
cancel
Showing results for 
Search instead for 
Did you mean: 
Chris_Guthrie
7 - App Architect
7 - App Architect

Hi!

I have a rollup field (using ARRAYUNIQUE) that should always produce a single array value.

I want to pretty it up and remove the encompassing quotation marks, but I can’t seem to figure it out.

I’ve tried all of the following formulas, but none of them seem to work.

SUBSTITUTE({Vendor Rollup}, '"', '')

SUBSTITUTE({Vendor Rollup}, '/"', '')

SUBSTITUTE({Vendor Rollup}, """, "")

SUBSTITUTE({Vendor Rollup}, "/"", "")

Can anyone help me shed some light on my issue?

2020-08-18_15-16-13

1 Solution

Accepted Solutions
Kamille_Parks
16 - Uranus
16 - Uranus

There’s a chance your rollup is coming in as array. You can turn it into a string by adjusting your formula like so:

SUBSTITUTE({Vendor Rollup}&"", '"', '')

See Solution in Thread

3 Replies 3
Kamille_Parks
16 - Uranus
16 - Uranus

There’s a chance your rollup is coming in as array. You can turn it into a string by adjusting your formula like so:

SUBSTITUTE({Vendor Rollup}&"", '"', '')

That worked! Thank you so much.

But why did it work (if you’d be so kind to explain)?

adding &"" to the end of a Rollup turns it into a string (text as opposed to an array), and SUBSTITUTE() can only work with text/numbers and not arrays. You could also accomplish all this from within the Rollup itself and do away with your formula by doing something like:

SUBSTITUTE(ARRAYUNIQUE(values)&"", '"', '')
or
SUBSTITUTE(ARRAYJOIN(ARRAYUNIQUE(values)), '"', '')