+ Reply to Thread
Results 1 to 8 of 8

Deadline date Conditional formatting.

  1. #1
    Registered User
    Join Date
    06-25-2020
    Location
    Telford
    MS-Off Ver
    O365
    Posts
    5

    Deadline date Conditional formatting.

    Hi all, I have been tasked with creating a worksheet with conditional formatting. I need to create it so if a deadline date is over 30 days before today's date the field will be green in the deadline data cell.
    So if today's date is within 30 days of deadline it shows amber, or if the deadline is after or on today it shows as Red.

    I hope this makes sense as it has had me scratching my head whilst trying to do the conditional formatting. Any help would be much appreciated. I created a sample Spreadsheet that I tried to work it out on.

    Many Thanks.
    Attached Files Attached Files

  2. #2
    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,926

    Re: Deadline date Conditional formatting.

    just to check I understand...
    30 days or more after today...green =C2>=E2+30
    less than 30 days after today...amber =C2<E2+30
    before today...red =C2<E2

    You will need a new rule for each criteria, enter them in that order, they should then appear in reverse order, check the "stop if true" option
    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

  3. #3
    Registered User
    Join Date
    06-25-2020
    Location
    Telford
    MS-Off Ver
    O365
    Posts
    5

    Re: Deadline date Conditional formatting.

    Cheers Ford I'll try it out and see how it works out.

  4. #4
    Registered User
    Join Date
    06-25-2020
    Location
    Telford
    MS-Off Ver
    O365
    Posts
    5

    Re: Deadline date Conditional formatting.

    Hi Ford that is all working thanks, the only thing I changed from your advice was to change E2 to today():

    It was easier to replicate down using today(). Many thanks for your help

  5. #5
    Registered User
    Join Date
    06-25-2020
    Location
    Telford
    MS-Off Ver
    O365
    Posts
    5

    Re: Deadline date Conditional formatting.

    Another head scratcher for myself. I now have the conditional formatting set thanks to Ford showing the relevant colours against the deadline dates, but when I replicated the cell down the empty cells filled with red.

    I would like to have empty cells remain as white, is there a conditional format to set this?

    Many thanks.
    Attached Files Attached Files

  6. #6
    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,926

    Re: Deadline date Conditional formatting.

    1. may be better to have TODAY in it's own cell, then reference it - TODAY is a dynamic formula and could slow your file down if used excessively

    2. start your rules with...
    =AND(C2<>"",....

    to edit the formula without excel adding extra references (that always gets me) press F2 1st

  7. #7
    Registered User
    Join Date
    06-25-2020
    Location
    Telford
    MS-Off Ver
    O365
    Posts
    5

    Re: Deadline date Conditional formatting.

    Cheers i'll try it out using the =AND formula.

  8. #8
    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,926

    Re: Deadline date Conditional formatting.

    Let me know how you make out plz

+ 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] Link EOM date to corresponding deadline
    By Perk1961 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-01-2017, 12:58 PM
  2. Replies: 6
    Last Post: 06-06-2014, 07:40 AM
  3. Deadline notification through conditional formating
    By dimitrioskal in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-16-2014, 06:20 AM
  4. Replies: 0
    Last Post: 04-10-2013, 10:07 AM
  5. Conditioning Formatting based on deadline dates
    By celeliza in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 01-04-2013, 03:08 AM
  6. [SOLVED] Forumla/Formatting Cells Based on Date/Deadline Approaching
    By -Mat- in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 08-02-2012, 08:29 AM
  7. Calendar: deadline formatting
    By reddick.ross in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-19-2010, 05:03 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