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
- Customer Resources
- 64.9K Get Help
- 439 Global Discussions
- 138 Industry Talk
- 471 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 68 Community Job Board
- 486 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!