Grab digits to the right of the "-"
I'm trying to separate the Area-Route column.
For Area I'm using =LEFT([Area-Route]@row, FIND("-", [Area-Route]@row) - 1) and this seems to work fine.
For the Route I'm using =RIGHT([Area-Route]@row, FIND("-", [Area-Route]@row) + 1) but this doesn't seem to work. You can see that their could be zero digits to the right of the "-" or several digits.
Any help would be appreciate! Thank you...
Best Answer
-
Hey @tgattsh
Try this
=RIGHT([Area-Route]@row, LEN([Area-Route]@row) - FIND("-", [Area-Route]@row))
The number of characters is determined from the difference between the length of the textstring and the hyphen.
Does this work for you?
Kelly
Answers
-
Hey @tgattsh
Try this
=RIGHT([Area-Route]@row, LEN([Area-Route]@row) - FIND("-", [Area-Route]@row))
The number of characters is determined from the difference between the length of the textstring and the hyphen.
Does this work for you?
Kelly
-
@Kelly Moore You're Awesome!
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
Check out the Formula Handbook template!