Split text to multiple columns
Hello! My team is using the JIRA connector to pull ticket info from JIRA to Smartsheet. In the JIRA description field, the team has a template that contains several key pieces of information that I would like to separate into multiple columns. Basically, I would like the ability to pull everything to the right of the : for each of the lines into it's own new column. I know there is the RIGHT function, but how would I have it stop collecting at the end of the line when the number of characters is different each time?
Best Answer
-
Below is an example. Replace bolded items for each specific column.
- Name if item you are bringing in. (e.g. BOX) KEEP THE SPACE
- Length of name you are bringing in. (e.g. 3)
- Length of name you are bringing in. (e.g. 3)
=LEFT(RIGHT(Description@row, LEN(Description@row) - FIND("Working File: ", Description@row) - 13), FIND(CHAR(10), RIGHT(Description@row + CHAR(10), LEN(Description@row) - FIND("Working File: ", Description@row) - 13)))
Answers
-
Find the colon, subtract its position from the length of the string
=RIGHT(Description@row, (LEN(Description@row) - FIND(":", Description@row)))
-
This just results in bringing over everything to the right of the first colon, I am looking for a solution to bring over each line of text into separate columns. Examples:
Column BOX: https://box.com/123
Column TC Description: Give your first Writable assignments a refresh to take them from default to detailed.
Column TC Program: Writable
-
Below is an example. Replace bolded items for each specific column.
- Name if item you are bringing in. (e.g. BOX) KEEP THE SPACE
- Length of name you are bringing in. (e.g. 3)
- Length of name you are bringing in. (e.g. 3)
=LEFT(RIGHT(Description@row, LEN(Description@row) - FIND("Working File: ", Description@row) - 13), FIND(CHAR(10), RIGHT(Description@row + CHAR(10), LEN(Description@row) - FIND("Working File: ", Description@row) - 13)))
-
Bingo! Thank you so much, this worked perfectly!!!
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 64K Get Help
- 412 Global Discussions
- 220 Industry Talk
- 459 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 140 Just for fun
- 57 Community Job Board
- 461 Show & Tell
- 31 Member Spotlight
- 1 SmartStories
- 299 Events
- 38 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!