Welcome to the Smartsheet Forum Archives
The posts in this forum are no longer monitored for accuracy and their content may no longer be current. If there's a discussion here that interests you and you'd like to find (or create) a more current version, please Visit the Current Forums.
Automatic item numbering
Comments
-
Enhancement request submitted.
-
I have refined the code some more to account for deletions and additions and blank rows affecting the sequence.
Using the three columns, RowID, Level & WBS.
Task is the column with the Task Names in it.
$1 assumes you are starting on row 1, but change that if you are starting on another row.
RowID: =COUNT($Level$1:$Level@row)
Level: =IF(Tasks@row <> "", COUNT(ANCESTORS()) + 1)
WBS: =IF(Level@row = 0, "", (IF(Level@row = 1, COUNTIF(Level$1:Level@row, 1), "" + PARENT() + "." + COUNTIFS(Level$1:Level@row, Level@row, RowID$1:RowID@row, >(PARENT(RowID@row))))))
Hope that helps until the feature is added into SmartSheet
✅Did my post help answer your question or solve your problem? Please help the Community by marking it as the accepted answer/helpful. It will make it easier for others to find a solution or help to answer!
-
Hi Frank,
Nicely done!
Thanks for sharing!
Best,
Andrée
SMARTSHEET EXPERT CONSULTANT & PARTNER
Andrée Starå | Workflow Consultant / CEO @ WORK BOLD
W: www.workbold.com | E:andree@workbold.com | P: +46 (0) - 72 - 510 99 35
Feel free to contact me for help with Smartsheet, integrations, general workflow advice, or anything else.
-
Excellent!
-
Just curious, when will Smartsheet add this functionality instead of forcing users to implement code on every Gantt they (or someone in their organization) create? I've already submitted an enhancement request, and this feature has been requested for more than four years now! Can't someone from Smartsheet provide a proper solution for this?
-
Is there a response to this? Timeline?
-
Good Day All:
I am visual person. Can someone share their she so I can see the layout and copy the formula for the WBS Code / Numbering? I tried the formula and I am getting an error.
-
Here you go. Credit to Frank Falco on the formula logic.
https://app.smartsheet.com/b/publish?EQBCT=ab4c58f696bf4909bba3e2906c7d043a
-
Thanks but it wont let me copy. Can you provide Edit access and lock the column so i can just copy?
-
Thanks and I figured out where I error, missing a comma and a parenthesis.
-
Frank even with copying your code i still get an error message.
#UNPARSEABLE
CODE:
=IF(Level@row = 0, "", (IF(Level@row = 1, COUNTIF(Level$1:Level@row, 1), "" + PARENT() + "." + COUNTIFS(Level$1:Level@row, Level@row, RowID$1:RowID@row, >(PARENT(RowID@row))))))
Is there formatting on the sheet that needs to be done as well?
-
Travis,It's nearly four years since your first reply. Seeing this Smartsheet is being touted as "Better than Ms Project" it would seem like something as simple and important as WBS numbering would be addressed, seeing as so many other users are having the same issue.
Update?
Thanks,
- Andrew
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
- 142 Just for fun
- 58 Community Job Board
- 462 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 299 Events
- 38 Webinars
- 7.3K Forum Archives