I have a column in my grid that generates the Task number automatically for Level 2 and all of the children below it. IE if I choose the drop down "Task 1" for a row that is level 2 then that row and all children of that row will show "Task 2". I did that using this formula:
=IF(Level@row = 2, LEFT([Task #]@row, 7), IFERROR(LEFT(IF(Level@row < 3, "", INDEX(ANCESTORS([Task #]@row), 2)), 7), ""))
See screenshot:
I need an additional condition added so that for rows that the Level is 3 then an "a", "b", or "c" is added sequencially based on the number of children
The end result I am looking for is for the screenshot above to say "Task 4" in the "Task#" column and then the Task Number (2 Test) column then says "Task 4" for row 2, "Task 4a" for row 3, "Task 4B" for row 4 etc. Ideally I would like for this to be a column formula if possible.
I attempted this formula:
=IF(Level@row = 2, LEFT([Task #]@row, 7), IFERROR(LEFT(IF(Level@row < 2, "", INDEX(PARENT([Task #]@row, AND("a"), 3)), 7), ""))
but it comes back "#UNPARSABLE" and even if worked I don't think it would be able to be converted to a column formula do do what I need.
Is this something Smartsheet can do? Am I on the right track with this formula or does it need to be reworked completely?