Parsing string data
I have the following data in one column: 01.11101.1002
I would like to parse this into 3 columns:
Column1 = 01
Column2 - 11101
Column3 = 1002
Have tried different ways to parse this out using the Find and left, right function and no luck.
Best Answer
-
I hope you're well and safe!
Try something like this.
=LEFT([Project ID]@row, 2) =MID([Project ID]@row, 4, 5) =RIGHT([Project ID]@row, 4)
Did that work/help?
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.
Answers
-
I hope you're well and safe!
Try something like this.
=LEFT([Project ID]@row, 2) =MID([Project ID]@row, 4, 5) =RIGHT([Project ID]@row, 4)
Did that work/help?
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.
-
That worked. Thank you!
-
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.
-
If your pattern is going to be the same that is NN.NNNNN.NNNN for all rows then it is easier and you can use the below,
=MID([Column Name]@row,1,2) for 01 part =MID([Column Name]@row,4,5,) for 11101 part =MID([Column Name]@row,10,4) for 1002 part
However, if the pattern will not be consistent but will be delimited by decimals then try below for each of the parts,
=LEFT([Column Name]@row, FIND(".", [Column Name]@row, 1) - 1) =MID([Column Name]@row, FIND(".", [Column Name]@row) + 1, FIND(".", [Column Name]@row, FIND(".", [Column Name]@row) + 2) - FIND(".", [Column Name]@row) - 1) =RIGHT([Column Name]@row, LEN([Column Name]@row) - (FIND(".", [Column Name]@row, FIND(".", [Column Name]@row) + 2)))
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.8K Get Help
- 437 Global Discussions
- 138 Industry Talk
- 470 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 65 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!