+ Reply to Thread
Results 1 to 9 of 9

Contract expiration dates

  1. #1
    Registered User
    Join Date
    03-08-2016
    Location
    Richmond, VA
    MS-Off Ver
    2010
    Posts
    17

    Contract expiration dates

    I have an Excel worksheet with contract expiration dates in column F. I am trying to make the rows turn yellow 60 days before the contract expiration date in column F and red 30 days before experation date.
    Last edited by George CC; 03-08-2016 at 10:23 PM.

  2. #2
    Forum Contributor
    Join Date
    10-29-2014
    Location
    udaipur, rajasthan
    MS-Off Ver
    2007
    Posts
    352

    Re: Contract expiration dates

    could you please upload your sample file with expected result.
    If answer helped you say Thanks by Add Reputation

  3. #3
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,933

    Re: Contract expiration dates

    Hi, welcome to the forum

    You would do this with Conditional Formatting. To be more precise, I would need to see a sample workbook of what you are working with, but see if this gets you started...
    1. highlight the range you want to apply the conditional formatting to
    2. on the home tab, styles, select CF
    3. select new rule, select use formula
    4. enter =F2 < today()+60...format fill YELLOW

    Repeat 3 and 4 with +30
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  4. #4
    Registered User
    Join Date
    03-08-2016
    Location
    Richmond, VA
    MS-Off Ver
    2010
    Posts
    17

    Re: Contract expiration dates

    I tried your formula it did not change the color in some the cells in the row. Tried to upload the spreadsheet.
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    03-08-2016
    Location
    Richmond, VA
    MS-Off Ver
    2010
    Posts
    17

    Re: Contract expiration dates

    Spreadsheet attached. Thank you for your assistance
    Attached Files Attached Files

  6. #6
    Forum Contributor
    Join Date
    10-29-2014
    Location
    udaipur, rajasthan
    MS-Off Ver
    2007
    Posts
    352

    Re: Contract expiration dates

    Quote Originally Posted by George CC View Post
    I tried your formula it did not change the color in some the cells in the row. Tried to upload the spreadsheet.
    see your file is this ok?
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    03-08-2016
    Location
    Richmond, VA
    MS-Off Ver
    2010
    Posts
    17

    Re: Contract expiration dates

    Thank you for the response. Just not sure why row 62 is not red since the date in column F is within the 30 days for renewal.

  8. #8
    Forum Contributor
    Join Date
    10-29-2014
    Location
    udaipur, rajasthan
    MS-Off Ver
    2007
    Posts
    352

    Re: Contract expiration dates

    Quote Originally Posted by George CC View Post
    Thank you for the response. Just not sure why row 62 is not red since the date in column F is within the 30 days for renewal.
    logic is,

    in row 62 see the date is 04-08-2016 so its equal=32 days from today.

    hope it's clear now.

  9. #9
    Registered User
    Join Date
    03-08-2016
    Location
    Richmond, VA
    MS-Off Ver
    2010
    Posts
    17

    Re: Contract expiration dates

    Maybe I am just not getting it. I want the column to highlight in yellow 60 days prior to the date in column F and stay yellow until it turn red 30 days prior to the date in column F. Once it is red I want it to remain red until the highlight is manually removed. So if the date is 04-08-2016 it should have turned yellow on or around February 8,2016 (60 days before 04/8/2016) and turn to red on or around March 8, 2016 (30 days before 04/8/2016) .
    Last edited by George CC; 03-09-2016 at 05:31 PM.

+ 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. [SOLVED] Contract Expiry Dates
    By nwarren in forum Excel Programming / VBA / Macros
    Replies: 37
    Last Post: 05-21-2015, 01:39 PM
  2. Expiration Dates-
    By thursday140 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-07-2014, 12:06 PM
  3. Same Account Name with multiple Contract Expiration Dates - HELP
    By drainedge in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 11-27-2012, 06:53 PM
  4. Auto Email three weeks prior to expiration date of contract?
    By caherine in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-08-2012, 04:29 PM
  5. Need Help with Expiration Dates
    By erthqkckn in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 06-08-2012, 08:39 PM
  6. sheet with expiration dates
    By expiration dates in forum Excel General
    Replies: 1
    Last Post: 08-04-2005, 07:05 PM
  7. Set up contract expiration dates program?
    By wastedwings in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-11-2005, 02:05 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