Conditional formatting - Date diff

Gismo

Registered User.
Local time
Today, 11:24
Joined
Jun 12, 2017
Messages
1,298
Hi all,

Hope all is well

I want to highlight when the requirement date is less then 6 days from now
I used the below conditional formatting formula but not working as I thought it would

DateDiff("d",[Reqmt Date],Now())<6
 
Try
DateDiff("d",Now(),[Reqmt Date])<6
 
Hi all,

Hope all is well

I want to highlight when the requirement date is less then 6 days from now
I used the below conditional formatting formula but not working as I thought it would
Why not just test it in the Immediate Window? :(
Code:
? datediff("d",#09/10/2022#,date) < 6
True
So show your conditional formatting
 
Thank you
Looks great
I would be careful about that? That is why I test when I can in the immediate window.
Code:
 ? datediff("d",now(),#09/10/2022#)
-4
 

Users who are viewing this thread

Back
Top Bottom