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

Lock one reference in a formula
Need 1 part of a formula to always point to the same range? use $ signs: $V$2:$Z$99 will always point to V2:Z99, even after copying
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,215,972
Messages
6,128,029
Members
449,414
Latest member
sameri

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