Split Text
Can someone assist me?
I need a formula on how to split the text for this below.
Ex.
LOW - VS-87 - Service-FS Battery Replacement Lead-MEGA MALL-1259410
I need a to have a column that would write MEGA MALL only.
Best Answer
-
Please use the formula I provided. It was intentional for the character "~" to be included.
=MID(Name@row, FIND("~", SUBSTITUTE(Name@row, "-", "~", 5)) + 1, FIND("~", SUBSTITUTE(Name@row, "-", "~", 6)) - 1 - FIND("~", SUBSTITUTE(Name@row, "-", "~", 5)))
Kelly
Answers
-
Assuming the format of your entire text column is formatted as above, your formula is:
=MID([Your Text Column]@row, FIND("~", SUBSTITUTE([Your Text Column]@row, "-", "~", 5)) + 1, FIND("~", SUBSTITUTE([Your Text Column]@row, "-", "~", 6)) - 1 - FIND("~", SUBSTITUTE([Your Text Column]@row, "-", "~", 5)))
Don't forget you will have to change the name of the [Your Text Column] to your actual column name
Will this work for you?
Kelly
-
I have #INVALID VALUE
=MID(Name@row, FIND("-", SUBSTITUTE(Name@row, "-", "-", 5)) + 1, FIND("-", SUBSTITUTE(Name@row, "-", "-", 6)) - 1 - FIND("-", SUBSTITUTE(Name@row, "-", "-", 5)))
-
Please use the formula I provided. It was intentional for the character "~" to be included.
=MID(Name@row, FIND("~", SUBSTITUTE(Name@row, "-", "~", 5)) + 1, FIND("~", SUBSTITUTE(Name@row, "-", "~", 6)) - 1 - FIND("~", SUBSTITUTE(Name@row, "-", "~", 5)))
Kelly
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.9K Get Help
- 441 Global Discussions
- 140 Industry Talk
- 472 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 68 Community Job Board
- 497 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!