+ Reply to Thread
Results 1 to 3 of 3

Conditional formatting for rolling 12 months

  1. #1
    Forum Contributor
    Join Date
    02-01-2013
    Location
    England
    MS-Off Ver
    Excel 2010
    Posts
    124

    Conditional formatting for rolling 12 months

    Hi,

    I require conditional formatting columns A,B & C as Grey for any dates in column A that are 365 days or 12 months prior to todays date. I have tried =AND($A$3:$A$29<=TODAY()-365) but this doesn't seem to work.

    Any idea why?

    I have attached a sample.
    Attached Files Attached Files

  2. #2
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,147

    Re: Conditional formatting for rolling 12 months

    hi there again. i hope you are no longer using the total as part of the Table like in the file. select the range you want to apply to (i.e. A3:C29)
    go to Home -> Conditional Formatting -> New Rule -> Use a formula to determine which cells to format -> Format values where this formula is true:
    =$A3<=TODAY()-365

    or to be more accurate:
    =$A3<=EDATE(TODAY(),-12)

    the Conditional formatting will base on this formula & copy across columns & rows internally. so you can't use $A$3:$A$29

    Thanks, if you have clicked on the * and added our rep.

    If you're satisfied with the answer, click Thread Tools above your first post, select "Mark your thread as Solved".

    "Contentment is not the fulfillment of what you want, but the realization of what you already have."


    Tips & Tutorials I Compiled | How to Get Quick & Good Answers

  3. #3
    Forum Contributor
    Join Date
    02-01-2013
    Location
    England
    MS-Off Ver
    Excel 2010
    Posts
    124

    Re: Conditional formatting for rolling 12 months

    Hi benishiryo,

    No I am not using the total as part of the table anymore, I just used the same sample to make it easier. If I add rows to the table will it include these or can I reference part of the table in the formula?

    Thanks

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1