• 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 Chart Conditional Formatting Error

ah_mktanlys_01

New Member
I am creating a Gantt Chart to create a calendar to track events. A have created these before but for some reason I am getting an error with the conditional formatting to show the range for start and end date. I have a pivot table that shows the Event Name, Assignee, Start Date, End Date, Duration, Progress, etc. I have a formula where I can select different views for day, week, and month.

This is the equation that I am entering =AND(J$7>=$E8,J$7<=$F8)

I have tried a couple of different Excel files to see if it was an error in the file but I am still having the same problem. When I first apply the conditional formatting, no formatting shows, and I notice the equation changes to this:

View attachment 109413

When I fix it to be $E8, it when shows one line of color but not correctly based on the start and end date and not for all rows. I am wanting to apply it for rows past what is currently there (until row 1,000) that way as we add data to the data tab, the gantt chart will update.

Can someone help me figure out why it is doing this? I have tried even a different gantt format and it is not working. A template of my excel file is attached.
 

Attachments

  • Marketing Calendar Example_Excel Forum.xlsx
    31.3 KB · Views: 2

ah_mktanlys_01

Is there any good reason ...
... why E-column dates are m/d/yy and F-column dates are d/m/yy?
eg from 3/2/24 to 02/03/2024 ... how many days?
eg from 2/11/24 to 16/03/2024 ... how many days?
It's smoother for many .. if those would be written same way.
 
I can't see what's wrong? First start date is 4/12/23 and end date in 2024, so OK
All other start and end dates are in 2024 but your dates in row 7 are ALL in 2023, so no CF to be applied
 

ah_mktanlys_01

After You've modified those dates.
You could test to use basic graph - instead of conditional formatting.
... then You could select - ranges to see.
Screenshot 2024-04-04 at 11.53.03.png
 
Back
Top