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))
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.8K Get Help
- 434 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
Want to practice working with formulas directly in Smartsheet?
Check out the Formula Handbook template!
Check out the Formula Handbook template!