Share via

Conditional formatting highlight cells containing a date over a year ago

Anonymous
2019-11-19T10:22:44+00:00

Is it possible to select records that are more than a year out of date?

Microsoft 365 and Office | Excel | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

3 answers

Sort by: Most helpful
  1. OssieMac 48,001 Reputation points Volunteer Moderator
    2019-11-19T11:04:04+00:00

    Using EDATE function as per my previous post is a better option than subtracting 365 as per V. Arya's post.

    EDATE automatically takes care of leap years so if your project continues past 29 Feb 2020 then the leap year needs to be considered.

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments
  2. OssieMac 48,001 Reputation points Volunteer Moderator
    2019-11-19T10:44:47+00:00

    Use the following formula to determine which dates are more than a year old from today. Note that A2 is the first cell of the range being conditionally formatted and Excel will apply the correct formula to the remainder of the "Applies to" range

    =A2<EDATE(TODAY(),-12)

    Refer to the screen shot below where I have applied conditional formatting to the range A2:A17 with the Conditional Formatting dialog.

    Note: Select option "Use a formula to determine which cells to format"

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments
  3. Anonymous
    2019-11-19T10:46:47+00:00

    Hello Helen

    I am V. Arya, Independent Advisor, to work with you on this issue. CF can process all dates in past and future (as per limits of Excel dates).

    So, you can do following to create a CF as an illustration

    Make a selection of your range say C2:C10

    Select CF in Home tab

    Click New Rule followed by Use a formula to determine which cells to format and put following formula

    Click Format button and choose a color say Green

    Use following formula and OK

    =C2<TODAY()-365

    Was this answer helpful?

    0 comments No comments