Conditional Formatting Help Needed

TMILJVIPM

Board Regular
Joined
Aug 6, 2011
Messages
72
Good Afternoon All,

I'm in need of some help on a conditional formatting issue I'm having. What I have is a employee training tracker that I need help with and I would like to use the conditional formatting tool with the green light, yellow light, and red light format. Here is an example of what the spreadsheet with look like:


Date Training TakenTraining Date Expiration
1-1-18 1-1-19
<colgroup><col width="74" style="width: 56pt; mso-width-source: userset; mso-width-alt: 2645;"> <col width="79" style="width: 59pt; mso-width-source: userset; mso-width-alt: 2816;"> <tbody> </tbody>


What I need help on is in the training date expiration column. When the training date is expired I would like the red light to show up, when the training date is within 60 days of the expiration date for the yellow light to appear, and when it's not within the 60 day condition nor past expiration then the green light appears.

I have a similar spreadsheet I use for cost tracking that does this but I'm having difficulties getting this done with date ranges. Also my cost tracking tool is set up like this so it has 3 columns and the remaining labor cost is the cell with the green, yellow, and red light........ it just didn't copy and paste that onto here.

EST. LABOR COSTACTUAL LABOR COSTREMAINING LABOR COST
$167,773.00$152,421.96$15,351.04
<colgroup><col width="97" style="width: 73pt; mso-width-source: userset; mso-width-alt: 3441;"> <col width="103" style="width: 77pt; mso-width-source: userset; mso-width-alt: 3669;"> <col width="120" style="width: 90pt; mso-width-source: userset; mso-width-alt: 4266;"> <tbody> </tbody>

Any help is greatly appreciated.

Thanks
 

Excel Facts

Workdays for a market open Mon, Wed, Friday?
Yes! Use "0101011" for the weekend argument in NETWORKDAYS.INTL or WORKDAY.INTL. The 7 digits start on Monday. 1 means it is a weekend.
TMILJVIPM, Good evening.

You already know the logic for this.

This time, instead of using multiple columns, you will use the "Training Date Expiration" column and the current date through the TODAY() function.

Scenario:

C1 --> Training Date Expiration

Rule 1
Formula --> =C1-TODAY()>60
Format Fill Color --> GREEN

Rule 2
Formula --> =AND(C1-TODAY()>0, C1-TODAY()<=60)
Format Fill Color --> YELLOW

Rule 3
Formula --> =TODAY()>=C1
Format Fill Color --> RED

Please, try to use this and tell us if it worked as you want.

I hope it helps.
 
Upvote 0
Create this CndFrmt rule for a cell that contains a date:
Format cells based on their values
Format style: icon sets
Green: select Formula as the Type, select >= , in Value put this =TODAY()+60
Yellow: select Formula as the Type, select >= , in Value put this =TODAY()
 
Last edited:
Upvote 0
TMILJVIPM, Good evening.

You already know the logic for this.

This time, instead of using multiple columns, you will use the "Training Date Expiration" column and the current date through the TODAY() function.

Scenario:

C1 --> Training Date Expiration

Rule 1
Formula --> =C1-TODAY()>60
Format Fill Color --> GREEN

Rule 2
Formula --> =AND(C1-TODAY()>0, C1-TODAY()<=60)
Format Fill Color --> YELLOW

Rule 3
Formula --> =TODAY()>=C1
Format Fill Color --> RED

Please, try to use this and tell us if it worked as you want.

I hope it helps.




It worked, thanks for your help!
 
Upvote 0

Forum statistics

Threads
1,215,194
Messages
6,123,569
Members
449,108
Latest member
rache47

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