Excel GANTT spreadsheet

ginstermanuk

New Member
Joined
Sep 5, 2012
Messages
21
Office Version
  1. 2019
Platform
  1. Windows
Hi,
I am trying to make a GANTT using Excel as shown below using Conditional Formatting to show the Plan Start - Plan Finish, what conditional formatting arguments do i need to enter to account for an over run in the Actual Finish. i.e if the Stage 1 - Initiating should have finished at wk4 but it actually finished at wk 5 id like the week 5 to be a different colour so i can call this in the key "Task overrun" or something like that. Also is there anyway that if the percentage is 100% it turns the coloured bar another colour denoting complete.

Thanks for any help

MonthJan-25Feb-25
W/C06/01/202513/01/202520/01/202527/01/202503/02/202510/02/202517/02/202524/02/2025
ActivityPlan StartPlan FinishPlan DurationActual StartActual FinishActual DurationPercent Complete23456789
Stage 1: Initiating242253100.00%
35235280.00%
47348470.00%
 
I suggest that you update your Account details (or click your user name at the top right of the forum) so helpers always know what Excel version(s) & platform(s) you are using as the best solution often varies by version. (Don’t forget to scroll down & ‘Save’)

Can you also use XL2BB (see below) to show us what the end results would look like after you have filled the desired cells with colour manually?

MrExcel has a tool called “XL2BB” that lets you post samples of your data that will allow us to copy/paste it to our Excel spreadsheets, so we can work with the same copy of data that you are. Instructions on using this tool can be found here: XL2BB Add-in

Note that there is also a "Test Here” forum on this board. This is a place where you can test using this tool (or any other posting techniques that you want to test) before trying to use those tools in your actual posts.
 
Upvote 0
Hi,
Thanks for your reply, i have updated my account details but i am unable to add in any add-ins due to my workplace restrictions

i apologise but ive had to paste below what i think you have asked for

Project Plan GANTT
Key: Planned Duration Task Overrun Task complete
MonthJan-25Feb-25Mar-25
W/C06/01/202513/01/202520/01/202527/01/202503/02/202510/02/202517/02/202524/02/202503/03/202510/03/202517/03/202524/03/2025
Critical Path
(Y/N)
ActivityPlan StartPlan FinishPlan DurationActual StartActual FinishActual DurationPercent Complete2345678910111213
Stage 1: Initiating242253100.00%
35235280.00%
47348470.00%
Stage 2: Planning


 
Upvote 0
i have updated my account details
Thanks for that. (y)


but i am unable to add in any add-ins due to my workplace restrictions
Fair enough. For any future threads you start, I suggest you make that point in post 1 so we don't keep asking, ;)


what i think you have asked for
Not quite. I would like to see the expected Gantt chart. Instead, can you manually fill in the colours on your worksheet as you would want and then take a snip of that and paste that into a post here so we can see your goal?
If you can, include the column and row labels in your snip so we can see just where things are?
 
Upvote 0
1737938664041.png


Hope this helps
 
Upvote 0
Thanks for the image. See if this is what you want then.
Not sure what you would want if Actual Start was later/earlier than Plan Start or if Actual Finish was before Plan Finish.
If any of those are possible I would want to see examples of the colours you would want for each situation.

25 01 27.xlsm
CDEFGHIJKLMNOPQRSTU
6Plan StartPlan FinishPlan DurationActual StartActual FinishActual DurationPercent Complete2345678910111213
7242253100.00%
835235280.00%
947348470.00%
Gantt
Cells with Conditional Formatting
CellConditionCell FormatStop If True
I7:I9Expression=I7=1textNO
J7:U9Expression=AND(J$6>=$C7,J$6<=$D7)textNO
J7:U9Expression=AND(J$6>$D7,J$6<=$G7)textNO
 
Upvote 0
Thanks for the previous replies, i have a further query would it be possible using the conditional formatting for the GANTT bars to match the Progress column colours i.e if the progress is 0% its is a red fill, between 1 and 99% its a green fill and 100% its a purple fill.

Project Plan GANTT v1.1.xlsx
ABCDEFGHIJKLMNOPQRSTUVWXYZAAAB
1Portfolio, Programme and Project OfficeNot yet startedTask Complete
2Enter Programme/Project Title Key:In ProgressTask Overrun
3Project PlanUpdated by:Name
4Last updated:01/01/2024MonthJan-25Feb-25Mar-25Apr-25
5W/C06/01/202513/01/202520/01/202527/01/202503/02/202510/02/202517/02/202524/02/202503/03/202510/03/202517/03/202524/03/202531/03/202507/04/202514/04/202521/04/202528/04/2025
6MilestoneCritical PathTaskActivityPlan StartPlan FinishPlan DurationActual StartActual FinishActual DurationPercent Complete23456789101112131415161718
7Stage 1: Initiating243254100.00%
8NNNTask 135335380.00%
9YTask 247448570.00%
10YYYTask 34414630.00%
11Stage 2: Planning6836940.00%
12NNY
13
14
15Stage 3: Implementation
16
17
18
19Stage 4: Project Closedown
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
GANTT
Cell Formulas
RangeFormula
M5:AB5M5=L5+7
L6:AB6L6=WEEKNUM(L5)
Cells with Conditional Formatting
CellConditionCell FormatStop If True
K7:K159Cell Value=0textNO
K7:K158Cell Valuebetween 0.001 and 0.999textNO
L7:AB159Expression="if($I$7=100%)"textYES
L7:BK159Expression=AND(L$6>$F7,L$6<=$I7)textNO
K7:K159Cell Value=100%textNO
L7:BK159Expression=AND(L$6>=$E7,L$6<=$F7)textNO
Cells with Data Validation
CellAllowCriteria
A7:C100List=$C$170:$C$171
 
Upvote 0
Is this what you mean?
(Also note that I have suggested one change in col K so you don't get all those red cell below the data)

ginstermanuk.xlsm
EFGHIJKLMNOPQRSTUVWXYZAAAB
6Plan StartPlan FinishPlan DurationActual StartActual FinishActual DurationPercent Complete23456789101112131415161718
7243254100.00%
835335380.00%
947448570.00%
104414630.00%
116836940.00%
12
13
14
15
16
Gantt (2)
Cell Formulas
RangeFormula
L6:AB6L6=WEEKNUM(L5)
Cells with Conditional Formatting
CellConditionCell FormatStop If True
L7:AB160Expression=AND(L$6>$F7,L$6<=$I7)textNO
L7:AB160Expression=AND(L$6>=$E7,L$6<=$F7,$K7=1)textNO
L7:AB160Expression=AND(L$6>=$E7,L$6<=$F7,$K7>0,$K7<1)textNO
L7:AB160Expression=AND(L$6>=$E7,L$6<=$F7,$K7=0)textNO
K7:K160Cell Valuebetween 0.001 and 0.999textNO
K7:K160Cell Value=1textNO
K7:K160Expression=AND(K7=0,K7<>"")textNO
 
Upvote 0

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