Conditional Formatting for Deadlines

missyvette

New Member
Joined
Jul 24, 2010
Messages
11
I have a spreadsheet that shows what date and time a job was submitted and the time that it is due. I would like to have a status field that uses the red circle x and green check mark icons to appear in the status field. I want a red circle if it is late, a yellow symbol if it is due within 60 minutes and the green check mark when we have 120 minutes or more left to complete the job.

My date and time field is formatted with the date format: 3/14/01 1:30 PM so that we can use the NOW function.

How do I write this function?
 

Excel Facts

Convert text numbers to real numbers
Select a column containing text numbers. Press Alt+D E F to quickly convert text to numbers. Faster than "Convert to Number"
Your problem statement does not describe the color for work due in 60-120 minutes.

Assuming you want red for late, yellow for 0-120 minutes and green for >120 minutes try the following:

If you are using Excel 2007 or later, you can use conditional formatting icon sets.
Highlight the block of cells containing the due time.
From the Home tab, select Conditional Formatting, Icon Sets, Indicators
Change the 'Format Style' to 'Icon Sets' and the 'Icon Style' to 'Custom' and each of the Types to Formula
Set the rules blocks as follows
1st: green check, >=, =NOW()+(2/24), Formula
2nd: yellow exclamation point, >=, NOW(), Formula
3rd: red X

Note you can select up to 5 different icons by scrolling to the bottom of the 'Icon Style' list then manually edit the resulting 5 interval definitions.
 
Upvote 0

Forum statistics

Threads
1,215,494
Messages
6,125,139
Members
449,207
Latest member
VictorSiwiide

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