How to reverse order of strings in a column separated by delimeter
I have a column named Country with some values in it separated by the delimeter "|", and i want to revere the order of it.
Eg: The country column has all the below values in a single row separated by delimeter "|"
Australia | Chile | puerto rico | dominican republic | India | Kenya
and i want to reverse the order of these items. The solution i want is
Kenya | India | dominican republic | puerto rico | Chile | Australia
I just want to reverse the order, not reverse the string itself. Please let me know if anyone knows how to solve this. Thanks
Answers
-
You would have to use helper columns and a parsing solution to first parse it out across multiple columns (one column for each entry). Then you can use another formula to put them back together in reverse order.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 64.3K Get Help
- 419 Global Discussions
- 221 Industry Talk
- 461 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 143 Just for fun
- 59 Community Job Board
- 462 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 300 Events
- 39 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!