Is there a formula which can number row hierarchies?
I am looking for a number which can categroise row hierarchies into numbers.
I have a column called "Hierarchy" and in each row I want it to generate a number depending on what hierarchy the row falls under.
For example, the Parent row would return 1, the child of that row would be 2, the grandchild would be 3 etc etc
PARENT - 1
CHILD - 2
GRANDCHILD - 3
Tags:
Answers
-
=COUNT(ANCESTORS()) + 1
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 63K Get Help
- 380 Global Discussions
- 212 Industry Talk
- 442 Announcements
- 4.6K Ideas & Feature Requests
- 140 Brandfolder
- 129 Just for fun
- 130 Community Job Board
- 449 Show & Tell
- 30 Member Spotlight
- 1 SmartStories
- 305 Events
- 34 Webinars
- 7.3K Forum Archives
Want to practice working with formulas directly in Smartsheet?
Check out the Formula Handbook template!
Check out the Formula Handbook template!