• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Conditional Formatting

DWSKAMS

New Member
I'm trying format a cell if the date is more than 36 months old. I only want to calculate months (from Jan 09 to Jan 12) not days.
 
CF formula:

=EDATE(A2,36)<TODAY()

Format as desired. Note that if using 2003, you'll need to make sure the Analysis ToolPak add-in is enabled.
 
Hi,


Conditional formatting > New rule > Use a formula

Try this formula:

=DATEDIF(A1,TODAY(),"m")>36


Jai
 
Thanks for the fix!


Because I use this function on many cells, I was concerned that putting a specific cell reference in the formula might be a problem but it all seems to work.
 
DWSKAMS,

As long you don't put dollar signs in the reference, (ie $A$2) you'll be okay, since it's a relative reference and not an absolute reference. Glad we could help out!
 
Back
Top