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
- Smartsheet Customer Resources
- 64.2K Get Help
- 419 Global Discussions
- 221 Industry Talk
- 461 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 143 Just for fun
- 58 Community Job Board
- 463 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 300 Events
- 39 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!