Join(Collect - with IF statement
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
-
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
-
Hi Jennifer,
Does this get you what you're looking for:
=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.
-
Unfortunately no, it returns #Unparseable
-
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.
-
Per usual, @Mark Cronk to the rescue!
-
Always happy to help. Thank you for using the Community.
Be Well,
Mark
I'm grateful for your "Vote Up" or "Insightful". Thank you for contributing to the Community.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 63.9K Get Help
- 410 Global Discussions
- 220 Industry Talk
- 458 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 136 Just for fun
- 57 Community Job Board
- 459 Show & Tell
- 31 Member Spotlight
- 1 SmartStories
- 298 Events
- 37 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!