Due dates & conditional formatting - not working

Camel123

Board Regular
Joined
Jun 5, 2018
Messages
186
Hi,

Please see snapshot from Excel:
https://imgur.com/pQdHs71

Why does it not color the "current selection" J4:J300?

Also tried this;
=IF(AND(DATEDIF($J4;$L$2;"M")>=3;TODAY()>$L$2);)

Not working. I want it to color cells with dates that 3 months due.
 
Last edited:

Excel Facts

Do you hate GETPIVOTDATA?
Prevent GETPIVOTDATA. Select inside a PivotTable. In the Analyze tab of the ribbon, open the dropown next to Options and turn it off
Your image shows that you have quotes around the formula, you need to remove them.
 
Upvote 0
My Excel does that when applying the conditional formatting. I insert this =datedif($J4;$J$2;"m")>=3
 
Upvote 0
Are you manually adding the CF, or via a macro?
 
Upvote 0
And you're saying that if you type in this formula
=datedif($J4;$J$2;"m")>=3
Xl changes it to
="datedif($J4;$J$2;""m"")>=3"
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,170
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