Parse Out Number Values in Successor Column
I have found multiple threads on this but I can't seem to get any specific formula to work for me.
I have a column to Join Successors =JOIN(SUCCESSORS(Name@row), ",")
The highest number of Successors I have is 4 and I'm trying to parse them out into separate columns.
I have formulas that work for three but can't figure one out for 4 numbers.
here are the ones I have that work for 3:
Left number:
=IF(Successors@row <> "", IF(CONTAINS(",", Successors@row), VALUE(LEFT(Successors@row, FIND(",", Successors@row) - 1)), VALUE(Successors@row)))
Middle Number:
=IF(IF(CONTAINS(",", Successors@row), VALUE(MID(Successors@row, FIND(",", Successors@row), LEN(Successors@row) - FIND(",", Successors@row) - 1)), "") = 0, "", IF(CONTAINS(",", Successors@row), VALUE(MID(Successors@row, FIND(",", Successors@row), LEN(Successors@row) - FIND(",", Successors@row) - 1)), ""))
Right Number:
=IF(CONTAINS(",", Successors@row), VALUE(RIGHT(Successors@row, LEN(Successors@row) - (FIND(",", Successors@row, LEN(Successors@row) - FIND(",", Successors@row))))), "")
When I have 4 successor numbers, the two middle numbers blend together in the second formula.
Any changes to my formula or guidance would be so helpful. Thank you!
Best Answer
-
Instead of trying to parse them from your 'Successors' column, you can access them directly.
Use the below formula, just change the bolded number (for whichever successor number you want to bring back):
=IFERROR(INDEX(SUCCESSORS(Name@row), 1, 3 ), "")
Answers
-
Instead of trying to parse them from your 'Successors' column, you can access them directly.
Use the below formula, just change the bolded number (for whichever successor number you want to bring back):
=IFERROR(INDEX(SUCCESSORS(Name@row), 1, 3 ), "")
-
@Leibel S - wow!!! Way to take something I overcomplicated and share a much easier more streamlined way. Thank you so much!!
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 63.8K Get Help
- 410 Global Discussions
- 219 Industry Talk
- 457 Announcements
- 4.7K Ideas & Feature Requests
- 142 Brandfolder
- 136 Just for fun
- 57 Community Job Board
- 459 Show & Tell
- 31 Member Spotlight
- 1 SmartStories
- 298 Events
- 37 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!