SOS: Gantt chart formulas and conditional formatting

Occasional Contributor

Hello excel community,


I need you help with conditional formatting and formulas in my gantt chart (see doc below). The issues are four fold:

1. When I insert the duration e.g. 5, it blocks out 6 days on the visual

2. How do I have the formula in E1 across all of column E below it but have the date blank until C and D have been entered?

3. I only want the gantt to take into consideration work days (mon-frid), how can I condition the cells to only block out work days when data is entered in column C and D?

4. Is there a way in visualizing the % complete for each task on the gantt bar?


scrubbed excel 


Thanks for your help!



5 Replies

@Kodipady @Subodh_Tiwari_sktneer can either of you help on this one?




Select the range I10:DI17 and make a new rule for conditional formatting using the formula given below...




Also, replace the formula in E10 with the following one and copy it down.


In E10




Do you know how I could do the % complete function ie. show visually that 60% of the task has been completed?


To visualize the % progress, you may add Data Bars and to do so, select the cells in column G --> Conditional Formatting --> New Rule and refer to following image and have the same setup and this will apply the data bars in column G.


Data bar.jpg


last question... is there a formula to make public holidays excluded in the same way that weekend are?
Related Conversations
Tabs and Dark Mode
cjc2112 in Discussions on
46 Replies
Extentions Synchronization
Deleted in Discussions on
3 Replies
Stable version of Edge insider browser
HotCakeX in Discussions on
35 Replies
How to Prevent Teams from Auto-Launch
chenrylee in Microsoft Teams on
30 Replies
flashing a white screen while open new tab
Deleted in Discussions on
14 Replies
Security Community Webinars
Valon_Kolica in Security, Privacy & Compliance on
13 Replies