Gantt Chart Help

StevieG35

New Member
Joined
Mar 22, 2017
Messages
1
I have a gantt chart that I like and understand how to update the information. What I am looking for is how to roll up all the sub task conditional formatting to the mask task line.

Example Gantt:
[TABLE="width: 500"]
<tbody>[TR]
[TD][/TD]
[TD]Start[/TD]
[TD]End[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Main Task[/TD]
[TD][/TD]
[TD][/TD]
[TD]Y[/TD]
[TD]Y[/TD]
[TD]-[/TD]
[TD]-[/TD]
[TD]-[/TD]
[TD]Y[/TD]
[TD]Y[/TD]
[TD]Y[/TD]
[TD]-[/TD]
[TD]-[/TD]
[TD]-[/TD]
[TD]Y[/TD]
[TD]Y[/TD]
[TD]Y[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]
SubTask 1​
[/TD]
[TD]3/23/17[/TD]
[TD]3/31/17[/TD]
[TD]x[/TD]
[TD]x[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]
SubTask 2​
[/TD]
[TD]4/10/17[/TD]
[TD]4/17/17[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]x[/TD]
[TD]x[/TD]
[TD]x[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]
SubTask 3​
[/TD]
[TD]4/20/17[/TD]
[TD]4/30/17[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]x[/TD]
[TD]x[/TD]
[TD]x[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]

So I would like if there is conditional formatting on the Subtasks, for that to roll up to the main task. If you were to hide the subtasks you would still see a highlighted areas on all the dates on the main task.

X's are the conditional formatting for the subtasks
Y's would be the roll up of the sub tasks to the main task
-'s are blanks so no data would roll up there
 

Excel Facts

Bring active cell back into view
Start at A1 and select to A9999 while writing a formula, you can't see A1 anymore. Press Ctrl+Backspace to bring active cell into view.
Welcome to the Board

If rows 9 and 10 contain the sub tasks and row 8 is the main task, use a setup similar as the one below for the conditional formatting formulas.

Function translation: OU is OR, E is AND, DESLOC is OFFSET.


Sheet1 (2)

*J
*

<colgroup><col style="font-weight:bold; width:30px; "><col style="width:36px;"></colgroup><tbody>
[TD="bgcolor: #cacaca, align: center"]8[/TD]
[TD="bgcolor: #00b050"]*[/TD]

[TD="bgcolor: #cacaca, align: center"]9[/TD]

[TD="bgcolor: #cacaca, align: center"]10[/TD]
[TD="bgcolor: #000000"]*[/TD]

</tbody>

Conditional formatting
CellNr.: / ConditionFormat
J81. / Formula is =OU(E(DESLOC($B8;1;0;1;1)<=F$5;DESLOC($C8;1;0;1;1)>=F$5);E(DESLOC($B8;2;0;1;1)<=F$5;DESLOC($C8;2;0;1;1)>=F$5))

<tbody>
[TD="bgcolor: #00b050"]Abc

<tbody>
J82. / Formula is =E($B7<=F$5;$C7>=F$5)
J91. / Formula is =E($B7<=F$5;$C7>=F$5)
J101. / Formula is =E($B7<=F$5;$C7>=F$5)

[TD="bgcolor: #000000"]Abc[/TD]

[TD="bgcolor: #000000"]Abc[/TD]

[TD="bgcolor: #000000"]Abc[/TD]

</tbody>
[/TD]

</tbody>


Excel tables to the web >> Excel Jeanie HTML 4
 
Upvote 0

Forum statistics

Threads
1,223,236
Messages
6,170,917
Members
452,366
Latest member
TePunaBloke

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top