Ancestor/Parent Formula Help
Hi, I'm needing help with a parent formula that would populate the Category column with the parent Task Name (where Hierarchy = 0). Here's a snapshot of an example, and basically when Hierarchy is larger than 0 the Category should populate with "E. Facilities, Equipment, & Assets"
Answers
-
Hi @KMeyer
Try this:
=IF(Hierarchy@row > 0, JOIN(COLLECT(ANCESTORS([Primary Column]@row), ANCESTORS(Hierarchy@row), 0)))
This will first check to see if the Hierarchy is 0, and if it's not, then it will bring in the Ancestor of the Primary Column that has 0 as a value.
See: ANCESTORS Function / JOIN Function / COLLECT Function
Let me know if this works for you!
Cheers,
Genevieve
Need more help? 👀 | Help and Learning Center
こんにちは (Konnichiwa), Hallo, Hola, Bonjour, Olá, Ciao! 👋 | Global Discussions
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.8K Get Help
- 434 Global Discussions
- 138 Industry Talk
- 470 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 65 Community Job Board
- 486 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!