+ Reply to Thread
Results 1 to 6 of 6

Changing font color to Red when 30 days passes

  1. #1
    Registered User
    Join Date
    10-29-2007
    Posts
    49

    Smile Changing font color to Red when 30 days passes

    Hello,

    I would like to know if it's possible to change the color of the Date font once a specific amount of times has lapsed.. IE:

    PA Due Date Column - indicates the date that a contract terminates - based on =TODAY() - is it possible to have the dates font turn red once thirty days passes the original date entered into the cell by the user?


    Thanks in Advance

    John

  2. #2
    Forum Expert Paul's Avatar
    Join Date
    02-05-2007
    Location
    Wisconsin
    MS-Off Ver
    2016/365
    Posts
    6,885
    Hi John,

    You can do this via Conditional Formatting.

    For example, if your dates are in A1 through A10:

    Select cells A1:A10, click Format -> Conditional Formatting
    Choose 'Formula Is' and set the formula to:

    =TODAY()-30>A1

    Click the Format button to set the color/bold/etc. of the font you wish then click OK.

  3. #3
    Registered User
    Join Date
    10-29-2007
    Posts
    49
    Thank you for your reply... I am using Excel 2007 and I am looking for the Conditional Formating option.... can you advise as to where this feature may be?

    Thanks,

    John

  4. #4
    Forum Expert Paul's Avatar
    Join Date
    02-05-2007
    Location
    Wisconsin
    MS-Off Ver
    2016/365
    Posts
    6,885
    John,

    On the 'Home' ribbon bar, about two-thirds of the way to the right you should see the 'Conditional Formatting' icon. Click it and select 'New Rule...'

    In the New Formatting Rule window, select 'Use a formula to determine which cells to format', then below type in the formula I gave you earlier.

    Click the Format button, set your font/cell properties and click OK twice to return to the sheet. Your cells should now be formatted as hoped.

  5. #5
    Forum Expert Paul's Avatar
    Join Date
    02-05-2007
    Location
    Wisconsin
    MS-Off Ver
    2016/365
    Posts
    6,885
    With Excel 2007 there are also some additional options at your fingertips by clicking the Conditional Formatting button.

    You could do this same thing by:
    1. Select cells A1:A10
    2. Click Conditional Formatting button and select Highlight Cells Rules --> Less Than...
    3. In the 'Format Cells that are less than' window, type the formula =TODAY()-30
    4. Click the drop-down arrow on the right (should have some pre-defined color format selected) and pick 'Custom Format' at the bottom of the list. Set your format and click OK twice. Done!

  6. #6
    Registered User
    Join Date
    10-29-2007
    Posts
    49

    You are terrific

    Thanks for the guidence.... I am wondering if I have explained this wrong... I will try it this way:

    On the Spreadsheet - Column F - the entire column ic coded =TODAY() - reason for this is I am using =IF(OR(E3="",F3=""),"",DAYS360(E3,F3)) to calculate how many days old a file is in Column E and providing the answer in column F.... Now - The Column G indicates the date that the contract will terminate for the customer... Thus each date in Column G is defferent and not predicated on realtime =TODAY() understanding..... I want to use a formula to change the font colors of the dates (whatever they may be in column G) to red - once 30 days passes for each - when ever they are entered.... Does this make sence?

    John

+ 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