How to extract substring from a cell between certain characters in smartsheet
manasaMS
✭✭✭
Here I have multiple hyphens(-) but i want to only extract the text between the left most hyphen and right most hyphen
For eg: Email-Apple-banana-mango-No Response is the string and I want to extract Apple-banana-mango
Answers
-
For this one you would use something more like this:
=MID([Column name]@row, FIND("-", [Column Name]@row) + 1, FIND("~", SUBSTITUTE([Column Name]@row, "-", "~", LEN([Column Name]@row) - LEN(SUBSTITUTE([Column Name]@row, "-", ""))) - (FIND("-", [Column Name]@row) + 1))
Come see me in Seattle at ENGAGE 2024! I will be at the 10xViz partner booth throughout as well as the "Lets Talk About Community" Meet & Eat table on Tuesday from 11:45am - 12:45pm!
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 62.8K Get Help
- 376 Global Discussions
- 207 Industry Talk
- 440 Announcements
- 4.5K Ideas & Feature Requests
- 139 Brandfolder
- 129 Just for fun
- 130 Community Job Board
- 449 Show & Tell
- 30 Member Spotlight
- 1 SmartStories
- 284 Events
- 33 Webinars
- 7.3K Forum Archives
Want to practice working with formulas directly in Smartsheet?
Check out the Formula Handbook template!
Check out the Formula Handbook template!