+ Reply to Thread
Results 1 to 7 of 7

Conditional Formating

  1. #1
    Forum Contributor
    Join Date
    06-16-2014
    Location
    Columbia, Maryland
    MS-Off Ver
    2013
    Posts
    134

    Conditional Formating

    I have a list of dates that will be updated once a year with different dates. What I'd like to do his have some form of conditional formating that highlights any dates that are 2yrs ago or more as of the current day. Any help would be much appreciated

    Cheers!
    Attached Files Attached Files

  2. #2
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.84 for Mac MS 365
    Posts
    8,503

    Re: Conditional Formating

    Unable to open your attachment (work rules) but try this...
    in the conditional formatting, new rule >> cell value > greater than > =730-today() then pick your format then OK, OK, you may have to go back into it and remove any " the application puts around the formula then hit OK again and it should work.
    Make contributors happy, click on the "* Add Reputation" as a way to say thank you.
    Sam Capricci

  3. #3
    Forum Contributor
    Join Date
    06-16-2014
    Location
    Columbia, Maryland
    MS-Off Ver
    2013
    Posts
    134

    Re: Conditional Formating

    I tried that, but for instance I have a date in the file of 5/06/2016 and it picks that as one to highlight when it's only a little over a year ago. The formula I have is =730-today() correct?

  4. #4
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.84 for Mac MS 365
    Posts
    8,503

    Re: Conditional Formating

    odd, it worked the first time I tried it. So I fiddled with it, this seems to work too even with 5/6/16, maybe change it to this...
    less than or equal to and =TODAY()-730

  5. #5
    Forum Contributor
    Join Date
    06-16-2014
    Location
    Columbia, Maryland
    MS-Off Ver
    2013
    Posts
    134

    Re: Conditional Formating

    That's odd. I figured out another way, becuase for some reason I can't get that one to work. Anyway I just did "Use a formula to determine which cells to format" and did =Today()-D2>=730 and it works.
    Thank you for the help either way!

  6. #6
    Valued Forum Contributor
    Join Date
    12-01-2016
    Location
    Planet Earth
    MS-Off Ver
    95 - 2016
    Posts
    343

    Re: Conditional Formating

    Try this formula

    Within Conditional Formatting > Use a formula to determine which cells to format > Format values where this formula is true

    Formula: =ROUND(YEARFRAC($B2,TODAY()),0)>=2
    Applies to: =$B$2:$B$21

    See attachment
    Attached Files Attached Files

  7. #7
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.84 for Mac MS 365
    Posts
    8,503

    Re: Conditional Formating

    Glad you got it worked out. Mine works in my test file, there are always many ways to accomplish something in excel so, what works is yours is working.

    oh, and thanks for the rep!

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Conditional formating based on other conditional formating?
    By OldManExcellor in forum Excel General
    Replies: 11
    Last Post: 09-14-2014, 02:20 PM
  2. Replies: 5
    Last Post: 03-14-2014, 04:03 AM
  3. Replies: 4
    Last Post: 01-23-2014, 10:14 AM
  4. Replies: 6
    Last Post: 08-14-2006, 05:00 PM
  5. Replies: 2
    Last Post: 03-27-2006, 12:10 PM
  6. Install dates formating using conditional formating?
    By Jerry Eggleston in forum Excel General
    Replies: 2
    Last Post: 11-09-2005, 01:49 PM
  7. Replies: 1
    Last Post: 03-08-2005, 03:06 PM

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