Conditional Formatting - Red/Yellow/Green based on values in other cells

john_luczkowski

New Member
Joined
Dec 5, 2016
Messages
3
So here's what I'm trying to do....

TaskStatusBegin DateRed DateYellow DateTarget Completion DateActual Completion Date
task 112/13/201612/20/201612/13/20162/17/201612/30/2016
task 212/23/20171/30/20171/23/20172/17/2016
task 312/20/20161/3/201712/27/20162/17/201612/30/2016

<colgroup><col span="2"><col span="2"><col span="2"><col></colgroup><tbody>
</tbody>



I want to fill in Column B in each row (Status) with a color - Green, Yellow, or Red

Green - either the Task has been completed (so there's a value in Column G - Actual Completion Date, or there's no data there but today's date is before the date in column E (Yellow date)

Yellow Date - No info in G, but today is after Yellow date (column E), but before Red date,

Red Date - No info in G, and today is after red date


I'm pretty good with using nested formulas, but I'm not sure if I should write 3 separate rules and how that would work to check each row on it's own conditions or if I should use the drop-down using a 3 color scale.

Haven't been able to get either option to work properly. Was trying for green value - (OR($G2="*",AND($G2<>"*",$E2<Today())))

And that's based on me looking up that "*" could represent "any text" - and today needing a () after it

Any direction or support would be appreciated
 

Excel Facts

Select all contiguous cells
Pressing Ctrl+* (asterisk) will select the "current region" - all contiguous cells in all directions.
hasn't this already been answered ??? i'm sure i have answered
must be an error in the database update just recently

Green - either the Task has been completed (so there's a value in Column G - Actual Completion Date, or there's no data there but today's date is before the date in column E (Yellow date)

=OR( G2 < > "", today() < E2)

Yellow Date - No info in G, but today is after Yellow date (column E), but before Red date,

=AND( G2 = "" , today() > E2 )

Red Date - No info in G, and today is after red date

=AND ( G2 = "" , today() > D2 )
 
Upvote 0

Forum statistics

Threads
1,214,965
Messages
6,122,495
Members
449,088
Latest member
Melvetica

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