Skip to main content
Solved

Bullet at start of arrayjoin

  • April 19, 2020
  • 2 replies
  • 12 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• ")

2 replies

Forum|alt.badge.img+18
  • Inspiring
  • April 20, 2020

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
  • April 21, 2020

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• ")