Join(Collect - with IF statement

Jennifer Lenander
Jennifer Lenander ✭✭✭✭✭

My Join(Collect statement works on its own but when I try to add the IF statement I get an "Invalid Operation."

=IF({NewDeployment} = "1", JOIN(COLLECT({Station2}, {Month}, "1", {Year}, "2020"), ", "))

My "New Deployment" column is a checkbox column and I only want to join/collect the names of the stations where "New Deployment" is checked. Not sure where my formula is wrong.

Best Answer

  • Mark Cronk
    Mark Cronk ✭✭✭✭✭✭
    Answer βœ“

    I had a typo. Try:

    =JOIN(COLLECT({Station2}, {Month}, 1, {Year}, 2020, {NewDeployment}, 1), ", ")

    Mark


    I'm grateful for your "Vote Up" or "Insightful". Thank you for contributing to the Community.

Answers

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!