Parent Function
I am using a helper column to show the "parent" of each row. However, the problem is that some rows are indented more than once, so they have multiple "parents". Currently, the system shows the most immediate "parent" row( for example AM#1 Shows "Account manager"). However, I wish to show the highest level parent in the hierarchy ( for example, AM#1 to show "Key Hires")
Comments
-
Hi,
Do you only want to show the top level?
Have a fantastic week!
Best,
Andrée Starå
Workflow Consultant / CEO @ WORK BOLD
SMARTSHEET EXPERT CONSULTANT & PARTNER
Andrée Starå | Workflow Consultant / CEO @ WORK BOLD
W: www.workbold.com | E:andree@workbold.com | P: +46 (0) - 72 - 510 99 35
Feel free to contact me for help with Smartsheet, integrations, general workflow advice, or anything else.
-
=INDEX(ANCESTORS([Task Name]5), 1)
Change the 1 to reflect which level you want to reference.
-
This works great! Thank you
-
You can also combine the JOIN and ANCESTORS functions:
=JOIN(ANCESTORS(Task@row), ": ")
Where Task is the name of your Primary column and you follow the comma with whatever delimiter text you would like, if any.
Formula Returns: Level1 Parent: Level2 Parent: Level3 Parent, etc..
This option pulls all ancestors without having to specify the level, so is simpler when you have multiple tiers.
Regards,
Kristine
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.9K Get Help
- 441 Global Discussions
- 139 Industry Talk
- 471 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 68 Community Job Board
- 496 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives