Logic For a Gantt Chart

LJSHawk

New Member
Joined
Jul 11, 2011
Messages
2
Right now I am working with a project management in Excel. On the left, I have a column for the name of the task, a column for the start date, a column for the end data, and a column for the status of the project (Completed, In progress, overdue, etc).

To the right of all of these columns I have a Gantt chart with all the days of the year. I am using logic in these cells so that if the dates are between the start dates and end dates of the project, the cells are given a "A." If not, the cells are given a "0." I am then using conditional formatting to give the cells different colors based on the dates.

Basically, my problem is that I need to use some type of different logic in the Gantt chart so that when the project status changes to "overdue," only the cells between the start date and end date need to change to a different color (i.e. red). So right now, my logic is: =IF(AND("Date in Gantt Chart">="task start date", "Date in Gantt Chart"<="task end date"), "A", "0"). I am then using conditional formatting to highlight those cells. I just need to have those same cells be able to take on a different value when the status in the corresponding row is changed to "overdue."

Any ideas?
 

Excel Facts

Is there a shortcut key for strikethrough?
Ctrl+S is used for Save. Ctrl+5 is used for Strikethrough. Why Ctrl+5? When you use hashmarks to count |||| is 4, strike through to mean 5.
May be something like this,

=IF(AND("Date in Gantt Chart">="task start date", "Date in Gantt Chart"<="task end date"),IF("status"="overdue","B", "A"), "0")
 
Upvote 0

Forum statistics

Threads
1,224,527
Messages
6,179,334
Members
452,907
Latest member
Roland Deschain

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