Conditional formatting for due date tracking

ashish514

New Member
Joined
Feb 10, 2011
Messages
47
Hi,

I have a tracking sheet with various columns having dates for each milestone of a project which I need to track.
I am using conditional formatting which highlights all past dates in red colour and the dates occuring within next 3 days in orange.

I have made an adjacent column which says whethere the task is "completed" or "pending".

What I need now is to find some way to highlight the dates in green wherever the adjacent column shows "completed" and keep it red whrever it is "pending".

How can this be done? Also, is there any other way by which I can avoid one more column (completed/pending column), though I can't see how it is possible.
 

Excel Facts

Copy formula down without changing references
If you have =SUM(F2:F49) in F50; type Alt+' in F51 to copy =SUM(F2:F49) to F51, leaving the formula in edit mode. Change SUM to COUNT.
you can use and AND() statement in the rule

use a $ and the cell that contains the words

for exampleif the cell with pending/completed is in cell M2

AND( DateFormulaYouHave , $M2="pending") - RED
AND( DateFormulaYouHave , $M2="completed") - Green

or if all the cells are to be green or red
just add two new rules

=$M2 = "pending" - format Red
and put that rule at the top of all the rules and use the stop if true - if using 2007,2010,2013 versions of excel
 
Upvote 0

Forum statistics

Threads
1,223,236
Messages
6,170,906
Members
452,366
Latest member
TePunaBloke

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