Skip to main content
Solved

Bullet at start of arrayjoin

  • Apr 19, 2020 1:44 PM UTC
  • 2 replies
  • 46 views

Hello…
I’m using a rollup with ARRAYJOIN(values,"\n • ")

Which is giving me this result

Item 1
• Item 2
• Item 3

I want this result
• Item 1
• Item 2
• Item 3

How do I create a formula that puts a bullet on first item?

Best answer by kuovonne

To avoid an extra bullet if there are no records, put the initial bullet in an IF statement:

IF(COUNTA(values) >= 1, "• ") & ARRAYJOIN(values,"\n• ")
View original
This topic has been closed for replies.

2 replies

Forum|alt.badge.img+18
  • Inspiring
  • Apr 20, 2020 7:34 PM UTC

This will kind of do what you’re describing:
"• " & ARRAYJOIN(values,"\n• ")

But it’ll display that first • even if no records were linked - so it’s not the cleanest solution.

ARRAYJOIN isn’t really intended for bullet points. It’s meant to create comma separated lists and the like.


kuovonne
Forum|alt.badge.img+29
  • Brainy
  • Answer
  • Apr 21, 2020 5:01 AM UTC

To avoid an extra bullet if there are no records, put the initial bullet in an IF statement:

IF(COUNTA(values) >= 1, "• ") & ARRAYJOIN(values,"\n• ")