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.1K Get Help
- 380 Global Discussions
- 212 Industry Talk
- 442 Announcements
- 4.6K Ideas & Feature Requests
- 140 Brandfolder
- 129 Just for fun
- 130 Community Job Board
- 450 Show & Tell
- 30 Member Spotlight
- 1 SmartStories
- 289 Events
- 34 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!