Hello, long time lurker, first time poster. I have an SAP output that is organized into levels in column A. Level 00 is the project level additional levels/sublevels (01, 02, 03, etc) make up the work breakdown for the project. Then, there are multiple projects in the same sheet. An example would look something like this:
[TABLE="class: grid, width: 400"]
<tbody>[TR]
[TD]Level (A1)[/TD]
[TD]Project Info (B1)[/TD]
[/TR]
[TR]
[TD]00[/TD]
[TD]Project 1[/TD]
[/TR]
[TR]
[TD]01[/TD]
[TD]Subtask[/TD]
[/TR]
[TR]
[TD]02[/TD]
[TD]Subsubtask[/TD]
[/TR]
[TR]
[TD]02[/TD]
[TD]Subsubtask[/TD]
[/TR]
[TR]
[TD]03[/TD]
[TD]Subsubsubtask[/TD]
[/TR]
[TR]
[TD]02[/TD]
[TD]Subsubtask[/TD]
[/TR]
[TR]
[TD]01[/TD]
[TD]Subtask[/TD]
[/TR]
[TR]
[TD]02[/TD]
[TD]Subsubtask[/TD]
[/TR]
[TR]
[TD]00[/TD]
[TD]Project 2[/TD]
[/TR]
[TR]
[TD]01[/TD]
[TD]Subtask[/TD]
[/TR]
[TR]
[TD]01[/TD]
[TD]Subtask[/TD]
[/TR]
[TR]
[TD]02[/TD]
[TD]Subsubtask[/TD]
[/TR]
[TR]
[TD]03[/TD]
[TD]Subsubsubtask[/TD]
[/TR]
[TR]
[TD]03[/TD]
[TD]Subsubsubtask[/TD]
[/TR]
[TR]
[TD]04[/TD]
[TD]Subsubsubsubtask[/TD]
[/TR]
[TR]
[TD]01[/TD]
[TD]Subtask[/TD]
[/TR]
[TR]
[TD]00[/TD]
[TD]Project 3[/TD]
[/TR]
[TR]
[TD]01[/TD]
[TD]Subtask[/TD]
[/TR]
[TR]
[TD]01[/TD]
[TD]Subtask[/TD]
[/TR]
</tbody>[/TABLE]
I've been searching for a way to group cells (via Group, not hide) to group all of the subtasks in between the 00 level for each project while keeping the 00 level in view. I want to use the group function and not the autofilter function because my group desires the collapsible functionality of grouping. The file will always have varying lengths and the projects varying number of subtasks. There are no spaces between the projects. The final desired output of the above would look something like this:
[TABLE="class: grid, width: 400"]
<tbody>[TR]
[TD][/TD]
[TD]Level (A1)[/TD]
[TD]Project Info (B1)[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]00[/TD]
[TD]Project 1[/TD]
[/TR]
[TR]
[TD]+[/TD]
[TD]00[/TD]
[TD]Project 2[/TD]
[/TR]
[TR]
[TD]+[/TD]
[TD]00[/TD]
[TD]Project 3[/TD]
[/TR]
[TR]
[TD]+[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
I've found a few threads showing slightly different iterations but I haven't been able to tweak them to work for my specific criteria. Can anyone help me out?
I am on a PC running Office 2010
[TABLE="class: grid, width: 400"]
<tbody>[TR]
[TD]Level (A1)[/TD]
[TD]Project Info (B1)[/TD]
[/TR]
[TR]
[TD]00[/TD]
[TD]Project 1[/TD]
[/TR]
[TR]
[TD]01[/TD]
[TD]Subtask[/TD]
[/TR]
[TR]
[TD]02[/TD]
[TD]Subsubtask[/TD]
[/TR]
[TR]
[TD]02[/TD]
[TD]Subsubtask[/TD]
[/TR]
[TR]
[TD]03[/TD]
[TD]Subsubsubtask[/TD]
[/TR]
[TR]
[TD]02[/TD]
[TD]Subsubtask[/TD]
[/TR]
[TR]
[TD]01[/TD]
[TD]Subtask[/TD]
[/TR]
[TR]
[TD]02[/TD]
[TD]Subsubtask[/TD]
[/TR]
[TR]
[TD]00[/TD]
[TD]Project 2[/TD]
[/TR]
[TR]
[TD]01[/TD]
[TD]Subtask[/TD]
[/TR]
[TR]
[TD]01[/TD]
[TD]Subtask[/TD]
[/TR]
[TR]
[TD]02[/TD]
[TD]Subsubtask[/TD]
[/TR]
[TR]
[TD]03[/TD]
[TD]Subsubsubtask[/TD]
[/TR]
[TR]
[TD]03[/TD]
[TD]Subsubsubtask[/TD]
[/TR]
[TR]
[TD]04[/TD]
[TD]Subsubsubsubtask[/TD]
[/TR]
[TR]
[TD]01[/TD]
[TD]Subtask[/TD]
[/TR]
[TR]
[TD]00[/TD]
[TD]Project 3[/TD]
[/TR]
[TR]
[TD]01[/TD]
[TD]Subtask[/TD]
[/TR]
[TR]
[TD]01[/TD]
[TD]Subtask[/TD]
[/TR]
</tbody>[/TABLE]
I've been searching for a way to group cells (via Group, not hide) to group all of the subtasks in between the 00 level for each project while keeping the 00 level in view. I want to use the group function and not the autofilter function because my group desires the collapsible functionality of grouping. The file will always have varying lengths and the projects varying number of subtasks. There are no spaces between the projects. The final desired output of the above would look something like this:
[TABLE="class: grid, width: 400"]
<tbody>[TR]
[TD][/TD]
[TD]Level (A1)[/TD]
[TD]Project Info (B1)[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]00[/TD]
[TD]Project 1[/TD]
[/TR]
[TR]
[TD]+[/TD]
[TD]00[/TD]
[TD]Project 2[/TD]
[/TR]
[TR]
[TD]+[/TD]
[TD]00[/TD]
[TD]Project 3[/TD]
[/TR]
[TR]
[TD]+[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
I've found a few threads showing slightly different iterations but I haven't been able to tweak them to work for my specific criteria. Can anyone help me out?
I am on a PC running Office 2010