Conditional Formatting w/ Multiple Criteria involving Workday

klynne75

New Member
Joined
Dec 11, 2009
Messages
19
Office Version
  1. 365
Platform
  1. Windows
I'm using Excel 2013. I have a column of "Closing Dates". I need anything in that column dated today to highlight in red, 3 days in the future highlighted in green, and 5 days in the future highlighted in yellow (anything older than today has no highlighting).


The RED formatting is easy =$F4=TODAY()...stop if true

...after that, I'm lost. Here's a few things I've tried...(formula variations were consistent for each attempt)

GREEN =$F4=WORKDAY(TODAY(),3)...stop if true
YELLOW =$F4=WORKDAY(TODAY(),5)...stop if true

GREEN =($F4=(WORKDAY($F4,+3)))...stop if true
YELLOW =($F4=(WORKDAY($F4,+5)))...stop if true

I've also tried DATEDIF and AND formulas...but I'm guessing my formulas are wrong

Any help or direction to a different thread (I have looked and tried to make some work) are appreciated.








[TABLE="width: 59"]
<tbody>[TR]
[TD][/TD]
[TD]
[/TD]
[/TR]
</tbody>[/TABLE]
 
Last edited:

Excel Facts

Easy bullets in Excel
If you have a numeric keypad, press Alt+7 on numeric keypad to type a bullet in Excel.
These look fine to me

GREEN =$F4=WORKDAY(TODAY(),3)...stop if true
YELLOW =$F4=WORKDAY(TODAY(),5)...stop if true

This will highlight only when F4 is three/five working days ahead (not within three/five working days)

Maybe your dates aren't really dates even though they look like dates?

in a blank column in row 4 put =ISNUMBER(F4)
and copy down the column to test if they are actually proper dates
 
Last edited:
Upvote 0
Solution

Forum statistics

Threads
1,224,823
Messages
6,181,176
Members
453,021
Latest member
Justyna P

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