+ Reply to Thread
Results 1 to 2 of 2

conditional format, use date in column for expiration notice

  1. #1
    Registered User
    Join Date
    09-20-2011
    Location
    Houston, TX
    MS-Off Ver
    Excel 2010
    Posts
    1

    conditional format, use date in column for expiration notice

    I have searched everywhere and cannot figure out what I'm missing. I have a column with contract expiration dates.

    The neighboring column shows how many days' notice is needed if I want to extend the contract and inform the other party I'm doing so. In this column I would like to make conditional formatting to have a color fill if the current date is within the time period of the extension.

    In the attached screenshot, I have the redilivery (expiration) date already formatted to be yellow if within a month of expiring, orange if within a week, red if past date.

    I would like the days' notice in column K to also have a color notice. So If I need to send the notice for Row 5 10 days before the date in I5 (Oct 7) I would like a color fill to warn me if I'm within 7 days of that date (Sept 30 and later).

    If needed as a reference, here is how I formatted column I. I am only going to show if the expiration date is within 7 days of today's date as the other formats use same code just different number.

    Cell Value less than =NOW()+7, then formatted a fill of orange.

    Here is what I tried to work in column K for the cell value, but I'm missing something, whether an absolute or relative reference, the order of the data, or what??

    Cell Value less than =NOW()+$I1+7, format whatever fill color
    Attached Images Attached Images

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: conditional format, use date in column for expiration notice

    To see if today's date is within a certain number of days of a date listed in a cell, the syntax would be:

    =TODAY()-$I$1<=7
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

+ 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