sequential number for each parent row - column formula
Hello
im trying to generate a sequential number for each parent row.
I can do this using an helper column called parent that flags each parent record with 1 then the formula @row, 1)
this won't convert to a column formula because of the explicit row references used to define the range.
can it be done.
any help appreciated
Andrew
Answers
-
Without knowing how you want to handle the auto-numbering, I just wrote a formula that should convert to a column formula that returns a 1 if it is a parent row and a 0 if it is a child row. You can modify the 1 and 0 to return what ever you like for your use case.
=IF(COUNT(CHILDREN()) > 0, 1, 0)
-
Many thanks David will give it a try
-
No problem.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- 10.9K Get Help
- 65 Global Discussions
- 69 Industry Talk
- 385 Announcements
- 3.6K Ideas & Feature Requests
- 56 Brandfolder
- 125 Just for fun
- 50 Community Job Board
- 464 Show & Tell
- 40 Member Spotlight
- 44 Power Your Process
- 28 Sponsor X
- 234 Events
- 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!