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
- 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
Want to practice working with formulas directly in Smartsheet?
Check out the Formula Handbook template!
Check out the Formula Handbook template!