Join formula started adding a leading zero on text from certain columns
I created this formula, and it worked great the first two times it was used. The third time, it added a leading 0, which is NOT present in the [Circulation Requirement Details 3] column. I did further testing triggering the function using [Circulation Requirement Details 4] and [Circulation Requirement Details 5], and 0 is also present. When I trigger the formula referencing [Circulation Requirement Details 1] or [Circulation Requirement Details 2], the 0 is not present.
Formula =IF(NOT(ISBLANK([Circulation Requirement]@row)), JOIN([Circulation Requirement Details 1]@row + [Circulation Requirement Details 2]@row + [Circulation Requirement Details 3]@row + [Circulation Requirement Details 4]@row + [Circulation Requirement Details 5]@row, ""), "")
The columns are filled using default values in a form as they were too long to be drop-down values.
I have a redacted sheet I can share if needed. Otherwise, I have provided screenshots.
Answers
-
Hi,
I hope you're well and safe!
I'd recommend using a JOIN COLLECT structure instead.Try something like this. (update the columns to match yours)
=JOIN(COLLECT([Key Accomplishments]:[Key Accomplishments], [Key Accomplishments]:[Key Accomplishments], @cell <> "", [Pull Into Report?]:[Pull Into Report?], @cell = 1), CHAR(10))
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.
-
I have been trying a Join Connect formula for the last three hours. I can not make it row-specific, and it consistently gathers any text from those 5 columns regardless of what row the text is in.
-
Can you paste the formula you're testing?
✅Remember! 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.
-
I tried so many variations, but the only one that shows anything besides an error is:
=JOIN(COLLECT([Circulation Requirement Details 1]:[Circulation Requirement Details 5], [Circulation Requirement Details 1]:[Circulation Requirement Details 5], @cell <> ""), ", ")
-
I was able to make this formula work, but I still wish I knew why my original formula started adding 0.
=IF(AND(NOT(ISBLANK([Circulation Requirement]@row)), CONTAINS("Surplus to municipal needs & tech. conditions (for sale purposes)", [Circulation Requirement]@row)), [Circulation Requirement Details 1]@row, IF(CONTAINS("Technical Conditions Only (for sale purposes)", [Circulation Requirement]@row), [Circulation Requirement Details 2]@row, IF(CONTAINS("Surplus to municipal needs & tech. conditions (for lease purposes)", [Circulation Requirement]@row), [Circulation Requirement Details 3]@row, IF(CONTAINS("Surplus to municipal needs & tech. conditions (for lease purposes - lease extension)", [Circulation Requirement]@row), [Circulation Requirement Details 4]@row, IF(CONTAINS("Surplus to municipal needs & tech. conditions (for lease purposes - lease renewal)", [Circulation Requirement]@row), [Circulation Requirement Details 5]@row, "")))))
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.4K Get Help
- 424 Global Discussions
- 221 Industry Talk
- 465 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 144 Just for fun
- 62 Community Job Board
- 463 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 300 Events
- 39 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!