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
- 67.1K Get Help
- 448 Global Discussions
- 154 Industry Talk
- 504 Announcements
- 5.4K Ideas & Feature Requests
- 85 Brandfolder
- 156 Just for fun
- 80 Community Job Board
- 512 Show & Tell
- 34 Member Spotlight
- 2 SmartStories
- 308 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!