I want to assign project numbers to the main project, and then append that project number with .(letter) for the Subprojects, with Tasks still being assigned to the main project number, with the letter of the Subproject, and adding more hierarchy, such as
I'd like the task to read 40.c.1, or something similar that differentiates it from the Subproject, without completely disassociating from it.
Tasks are as far as the Hierarchy ever needs to go.
(The AutoNum column exists, but is hidden.)
Row Number | =MATCH(AutoNum@row , AutoNum:AutoNum, 0) |
|---|
Ancestors | =COUNT(ANCESTORS([PROJECT NAME]@row )) |
|---|
Sequential Number | =IF(Ancestors@row = 0, IFERROR(MATCH([Row Number]@row , COLLECT([Row Number]:[Row Number], Ancestors:Ancestors, 0), 0), ""), "") |
|---|
Parent Name | =PARENT([PROJECT NAME]@row ) |
|---|
Child Number | =IF([Parent Name]@row <> "", RANKEQ([Row Number]@row , COLLECT([Row Number]:[Row Number], [Parent Name]:[Parent Name], [Parent Name]@row ), 1)) |
|---|
Hierarchal Number | =IF([Parent Name]@row = "", [Sequential Number]@row , PARENT([Sequential Number]@row ) + "." + CHAR([Child Number]@row + 96)) |
|---|