Summary Sheet Pulling Blank Hard Returns in Join statement

Options

Hi!

I'm using a Join formula to pull entries in my "Key Accomplishments" column into a Sheet Summary field when my "Pull Into Reporting?" column has a checkmark (using a formula to check if the entry is for the current week). I'd like to have a hard return between each entry being pulled into the Sheet Summary field. My formula works great, however when and an entry is for the current work (box checked) but the "Key Accomplishments" column is blank (I don't want to make it a required field), the blank is being pulled into the sheet summary field.

Is there any way around this - to ignore the blank and not capture a hard return if there is a blank? Maybe by adding in a Distinct formula? I couldn't get that to work however.

My current formula is:

=JOIN(COLLECT([Key Accomplishments]:[Key Accomplishments], [Pull Into Report?]:[Pull Into Report?], @cell = 1), CHAR(10))

Thanks!

Best Answer

  • Andrée Starå
    Andrée Starå ✭✭✭✭✭✭
    Answer ✓
    Options

    Hi @Janine Santangelo

    I hope you're well and safe!

    Try something like this.

    =JOIN(COLLECT([Key Accomplishments]:[Key Accomplishments], [Key Accomplishments]:[Key Accomplishments], @cell <> "", [Pull Into Report?]:[Pull Into Report?], @cell = 1), CHAR(10))

    Did that work/help?

    I hope that helps!

    Be safe, and have a fantastic week!

    Best,

    Andrée Starå | Workflow Consultant / CEO @ WORK BOLD

    Did my post(s) help or answer your question or solve your problem? Please support the Community by marking it Insightful/Vote Up, Awesome, or/and as the accepted answer. It will make it easier for others to find a solution or help to answer!

    SMARTSHEET EXPERT CONSULTANT & PARTNER

    Andrée Starå | Workflow Consultant / CEO @ WORK BOLD

    W: www.workbold.com | E:andree@workbold.com | P: +46 (0) - 72 - 510 99 35

    Feel free to contact me for help with Smartsheet, integrations, general workflow advice, or anything else.

Answers

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!