View Single Post
 
Old 06-12-2017, 05:16 AM
NBVC's Avatar
NBVC NBVC is offline Windows 7 64bit Office 2007
The Formula Guy
 
Join Date: Mar 2012
Location: Mississauga, CANADA
Posts: 215
NBVC will become famous soon enoughNBVC will become famous soon enough
Default

Use Conditional Formatting....

Select the cell and go to Home|Conditional Formatting, New Rule.

Select "format only cells that contain"

in the Rules description area...

Cell Value is >> Equal to >> =TODAY()

Click Format and choose from Fill tab.

Click Ok, click New Rule

Select "use a formula to determine which cells to format" then enter:

=AND(DATEDIF(A2,TODAY(),"m")>=6,DATEDIF(A2,TODAY() ,"m")<=12)

where A2 contains the date...

Click Format and choose from Fill tab.

Click Ok, click New rule and repeat as above with Rule

=DATEDIF(A2,TODAY(),"m")>12)
Reply With Quote