• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Gantt Charts

Rayomand

New Member
I have created a Gantt Chart Template and is working fine. Now, I wish to show the progress (On Time or Delays) in different colors which I am unable to get in conditional formatting.

For example, the planned start day is "1" and end day is "3", while the actual start day is "1" and end day is "5". I wish to show days 1,2,3 in green and days 4 & 5 in red.

Can anyone please help.

Thanx in advance.
Rayo
 
. Creating a quick project plan / gantt chart using conditional formatting:
excel_conditional_formatting_tips.gif

Project plans / gantt charts are everyday activity in most of our lives. Creating a simple and snazzy project plan template in excel is not a difficult job, using conditional formatting a bit of formulas you can do it no time.

  • First create a table structure like shown above, with columns like Activity, start and end day, day 1, 2,3, etc…
  • Now, whenever a day falls between start and end day for a corresponding activity, we need to highlight that row. For that we need to identify whether a day falls between start and end. We can do that with the below formulas,
    =IF(AND(F$8>=$D9, F$8<=$E9),"1","")
    Which means, whenever, the day number represented on the top row is between start and end we will in 1 in the corresponding cell.
  • Next, whenever the cell value is 1, we will just fill the cell with a favorite color and change the font to same color, so that we dont see anything but a highlighted cell, better still, whenever you change the start or end dates, the color will change automatically. This will be done by conditional formatting like below:
    excel_conditional_formatting_dailog2.gif
  • Congratulations, you have mastered the art of creating excel gantt charts now
 
Hi ,

I am not sure whether this is what you wanted ; see the file and comment.

Narayan
 

Attachments

  • GANTT1.xlsx
    29.5 KB · Views: 10
Hello Rayomand,

My contribution to your problem, hope I understood it correctly.

It may not be the most elegant formula, but it seems to work in all cases. I also added a condition when a task is made earlier than schedule, cell will be in orange

Pierre
 

Attachments

  • GANTT1_pierre.xlsx
    27.1 KB · Views: 14
Last edited:
Back
Top