Help

Upcoming database upgrades. to improve our reliability at 03:30 UTC on Feb. 25 / 7:30pm PT on Feb. 24. Some users may briefly experience slow load times or error messages. Learn more here

[Solved] Strip Quotes from a Rollup field

Topic Labels: Formulas
Solved
Jump to Solution
1295 3
cancel
Showing results for 
Search instead for 
Did you mean: 

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

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

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)), '"', '')