Join columns, not side by side, and skip columns with no info
I am looking to join multiple columns using a "-" as deliminator and I dont have the columns side by side to select range and use Join function.
I also want it to skip columns that are blank.
Also - I notice in Smartsheet i have to use date format 10/15/2020 is there a way to change it to 10-15-20 (I use "-" as separator and want to keep consistency in date)
Help!
Answers
-
Hi Mona,
Join
Try something like this.
=JOIN(COLLECT(ColumnA@row:ColumnG@row; ColumnA@row:ColumnG@row; NOT(ISBLANK(@cell))); " - ")
The same version but with the below changes for convenience.
=JOIN(COLLECT(ColumnA@row:ColumnG@row, ColumnA@row:ColumnG@row, NOT(ISBLANK(@cell))), " - ")
Depending on your country/region, you'll need to exchange the comma to a period and the semi-colon to a comma.
Date
Have you checked the available options in the Date toolbar?
Did that work?
I hope that helps!
Be safe and have a fantastic week!
Best,
Andrée Starå
Workflow Consultant / CEO @ WORK BOLD
✅Did my post help or answer your question or solve your problem? Please help the Community by marking it as the accepted answer/helpful. 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.
-
Thanks Andre - I totally missed another major point to my question.
I have 2 categories to get the right column.
IF (State selected) and (Segment Selected) Then return to me only the segments that match for that state. This could mean that it's Pennsylvania for Enterprise AND Commerical. (more than one segment can be selected in the segment column) and then i want to connect those cells into one, using delimiter.
Logic would be
IF event is in Alabama, and Enterprise and MB are selected, only return those columns, otherwise leave blank. And my second coding would be in "targeted Region, to concatenate the columns with information to get to our Targeted Region.
-
I dont know if we can match 3 criterias, but would love to do that too...
Ill keep poking around online too.
-
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 talked to someone and I'd have to make a bunch of If, ISBLANK statements and it was going to be a very long code to write. For now, i did not have time to go write that code and have a work around. When my world slows down, I hope to go back and see if i can write it.
-
Ok. Let me know if I can help!
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.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 64.2K Get Help
- 419 Global Discussions
- 221 Industry Talk
- 461 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 142 Just for fun
- 58 Community Job Board
- 462 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 299 Events
- 38 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!