Show progress on a 'gantt' style spreadsheet

halesowenmum

Active Member
Joined
Oct 20, 2010
Messages
383
Office Version
  1. 365
Platform
  1. Windows
Hi. I've got a worksheet with dates populated across multiple columns between col P thru col IN.

In E14 is the start date, in F14 is the due date and in I14 is the '% complete' - manually entered based on how far through with that task the person thinks they actually are.

My s/sheet already returns a shaded colour to the cell to represent the date range that exists between the start and due dates - great so we know the total duration available.

There's two more things I'd like to cover off but I don't know if it's possible:
1. Let's say you've got the start of 1 month to the end of the next but one month, if that date today was in the middle of those start and end dates, I'd like to see shading that shows where we would expect to be
2. Based on the % complete the user enters I'd like to see different shading for this so if in fact we are at the halway point for this task, but the user reports that they've only done 10% of it, I'd like to see just the first 10% of relevant dates shaded in.

So you'd have something that goes right to left along the columns Gantt-stylee that has shading/fill for the total time available, shading/fill for where it should be, and shading/fill for where it actually is, all on the same 'row' (or bar chart bar(s), or whatever is the solution - if there is one).

Presumably there'd be a need to accommodate where a task was actually ahead of schedule (a girl can dream...) - not only that a task might be ahead of schedule but that there's a way of showing it as per description!

Anyone any ideas?
 

Excel Facts

What do {} around a formula in the formula bar mean?
{Formula} means the formula was entered using Ctrl+Shift+Enter signifying an old-style array formula.
See if this does what you want. Note that my dates are in d/m/y format. Dates in P1:AV1 are from 31 July 2019 to 1 September 2019 but I have formatted them to show just d/m so my screen shot isn't too wide.

Blue represents the user's estimated % completed
Amber shows where we would expect to be (that is, up to today's date - 4 August for me when posting this)
Green shows remaining task time

You need to ensure that the CF rules end up in the same order shown below.

Note from rows 15 & 16 that if the estimated completion % (col I) is >= where the task is expected to be by today's date then the amber disappears and you know the task is on or ahead of schedule. (If it is like most tasks that I am involved with that circumstance will rarely occur. :cool:)

<div class="cms_table">
Excel Workbook
EFGHIPQRSTUVWXYZAAABACADAEAFAGAHAIAJAKALAMANAOAPAQARASATAUAV
131/71/82/83/84/85/86/87/88/89/810/811/812/813/814/815/816/817/818/819/820/821/822/823/824/825/826/827/828/829/830/831/81/9
13StartEnd% Complete
141/08/201931/08/20193%
1531/07/201924/08/201918%
162/08/201920/08/201970%
17
Gantt
Cells with Conditional Formatting
CellConditionCell FormatStop If True
P141. / Formula is =AND($E14<>"",$I14<>"",P$1>=$E14,P$1<=$E14+$I14*($F14-$E14))Abc
P142. / Formula is =AND($E14<>"",P$1>=$E14,P$1<=TODAY())Abc
P143. / Formula is =AND($E14<>"",P$1>=$E14,P$1<=$F14)Abc
</div>
 
Last edited:
Upvote 0
Thanks very much indeed - I'm sure this will do the trick. But struggling a bit - you reference P14 - am I putting that formula in there and filling it right? Or putting it in the CF rule - or both the spreadsheet cells and the CF rule??

I've tried both and neither is producing coloured squares - what am I doing wrong?
 
Last edited:
Upvote 0
The formula is for Conditional Formatting only, not in the cell itself.

1. Delete any Conditional Formatting that you have.
2. Select P14 and down to the bottom right of the area that might contain colours. For my example that was P14:AV20
3. Conditional Formatting -> New Rule -> Use a formula to determine which cells to format -> Format values where this formula is true: =AND($E14<>"",P$1>=$E14,P$1<=$F14) -> Format... -> Fill tab -> Choose colour (green for me) -> OK -> OK
4. Repeat step 3 for the other 2 rules/colours
5. With the area still selected : Conditional Formatting -> Manage Rules -> Check that the colours/formula are in the same order shown in post 2. If they are not, you can select one and use the up/down arrows to re-order them -> Apply -> OK
 
Last edited:
Upvote 0
I'm doing better now that I selected the correct range!! :)

However, having entered all the formulae in the CF and put them in the right order, and test-replicated using your dates and %s, I'm getting the 1st and 3rd colours, but not the amber and I can't understand why....
 
Upvote 0
Can you give me an example of Start & End dates, % Complete and tell me what the first two dates in row 1 (ie P1 and Q1) are?
 
Upvote 0
I got it sorted; went thru it all again - confused me for a mo as I took out the dates for weekends and BHs and was stupidly looking for a pattern match with your one!!

I think I'm fully sorted now!

All that's left is to sort out my other query on how you show grouped 'January', 'February' and 'Q1', Q2', and 'W/c xxx' and 'W/c xxx' across columns automatically even if columns are added or removed... may need to lie down in a darkened room before I do that one!!

Thanks for much for the help with this - I always think it's much better to be able to show where you should be not just keep recording where you think you are - doesn't particularly encourage people to think crikey, I'm rather behind I'd better get a wiggle on and I think this shows it visually as they look at their whole plan so I think it will be really useful in use by people who've not done much project management before. The joy!!
 
Upvote 0

Forum statistics

Threads
1,215,054
Messages
6,122,893
Members
449,097
Latest member
dbomb1414

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