+ Reply to Thread
Results 1 to 2 of 2

Conditional Formatting: Dates passed between two deadlines

  1. #1
    Registered User
    Join Date
    11-24-2014
    Location
    London
    MS-Off Ver
    Excel Mac 2011, V14.4.1 (140326) Upd: 14.4.1
    Posts
    20

    Conditional Formatting: Dates passed between two deadlines

    Hi all,

    Please can someone enlighten me on the code required to do the following:

    I have an opening date and an install date which is 140 days before the opening, I need to set up a conditional format on all date cells to go red if that day passes against the present day.

    e.g.

    I need the opening date to go red if today is the install day

    I need the install date to go red if today is now within 140 days of the opening date.
    example1.xlsx
    Please find example attached

    Thanks

  2. #2
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Conditional Formatting: Dates passed between two deadlines

    For G2 down
    =AND(ISNUMBER(G2), TODAY()>=$H2+140)

    For H2
    =AND(ISNUMBER(H2), TODAY()=$G2)
    Does that work for you?
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

+ 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 formatting for dates/time x hours passed
    By Sirodot in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 09-18-2012, 11:04 AM
  2. Conditional Formatting for deadlines
    By Mduncan88 in forum Excel General
    Replies: 1
    Last Post: 08-02-2012, 07:53 AM
  3. Autofill cells in light of passed/upcoming deadlines
    By Rowenah in forum Excel General
    Replies: 1
    Last Post: 08-10-2010, 12:22 PM
  4. Conditional Formatting - Date Deadlines
    By adamgwsmith in forum Excel General
    Replies: 1
    Last Post: 01-19-2010, 12:12 PM
  5. conditional formatting deadlines
    By Joooooooo in forum Excel General
    Replies: 2
    Last Post: 02-07-2005, 10:06 AM

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