+ Reply to Thread
Results 1 to 5 of 5

Conditional formatting formula to determine current, coming due, or past due based on date

  1. #1
    Registered User
    Join Date
    03-02-2014
    Location
    Guam
    MS-Off Ver
    Excel 2013
    Posts
    2

    Conditional formatting formula to determine current, coming due, or past due based on date

    I created a spreadsheet to track down volunteers based on their training/certification. I have tried multiple methods and going through different options to get this right, but so far It's not working.

    There are 3 conditions I would like to apply to cell M3:

    If cell value L3 is two years or more than TODAY's date, highlight M3 red.

    If cell value L3 is one year to a day before two years from TODAY's date, highlight M3 yellow.

    If Cell value L3 is less than a year from TODAY's date, highlight M3 green.

    I have attached my spreadsheet for a better visual. In the future, I would like to use icons (i.e. Green check mark, yellow exclamation, and red X) instead of just highlighting the cell.

    Any input is greatly appreciated. Thanks in advance.
    Attached Files Attached Files

  2. #2
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.92 (24120731))
    Posts
    9,115

    Re: Conditional formatting formula to determine current, coming due, or past due based on

    I'm not sure which date column to use

    E or L

    assuming E

    you should be able to setup three rules

    For RED
    =E3<DATE(YEAR(TODAY())-1,MONTH(TODAY()),DAY(TODAY()))

    For Yellow
    =E3<DATE(YEAR(TODAY())-2,MONTH(TODAY()),DAY(TODAY()))

    For Green
    =E3<today()

    if you make sure they are in that order and use stop if true

    to setup conditional formatting

    for 2007 or 2010 excel version
    Conditional Formatting

    Highlight applicable range >>
    E3:E10

    Home Tab >> Styles >> Conditional Formatting
    New Rule >> Use a formula to determine which cells to format
    Edit the Rule Description: Format values where this formula is true:

    =E3<today()

    Format… [Number, Font, Border, Fill]
    choose the format you would like to apply when the condition is true
    OK >> OK

    repeat for the other two formulas
    Attached Files Attached Files
    Last edited by etaf; 03-02-2014 at 12:53 PM.
    Wayne
    if my assistance has helped, and only if you wish to , there is an "* Add Reputation" on the left hand side - you can add to my reputation here

    If you have a solution to your thread - Please mark your thread solved do the following: >
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

  3. #3
    Forum Expert p24leclerc's Avatar
    Join Date
    07-05-2010
    Location
    Québec
    MS-Off Ver
    Excel 2021
    Posts
    2,081

    Re: Conditional formatting formula to determine current, coming due, or past due based on

    If you put the ICON conditional formatting in column L you don't need the Status column anymore. See attached workbook.
    Attached Files Attached Files
    Pierre Leclerc
    _______________________________________________________

    If you like the help you got,
    Click on the STAR "Add reputation" icon at the bottom.

  4. #4
    Registered User
    Join Date
    03-02-2014
    Location
    Guam
    MS-Off Ver
    Excel 2013
    Posts
    2

    Re: Conditional formatting formula to determine current, coming due, or past due based on

    You guys are awesome! I now have great examples to use and expand on for future projects. Thank you all for the quick responses, you have earned some good rep

  5. #5
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.92 (24120731))
    Posts
    9,115

    Re: Conditional formatting formula to determine current, coming due, or past due based on

    your welcome, thanks for the rep, and sorry i missed the icon request

+ 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 based on Current date.
    By devpp in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-20-2013, 09:29 AM
  2. Formula to display last day of month if current day is past X date?
    By WL2005HBD in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 12-17-2013, 08:02 AM
  3. Conditional Formatting (or a formula) For Dates Comparing to the Current Date
    By shoebox54th in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-08-2013, 01:20 PM
  4. Conditional Formatting - Set colour based on date past
    By jdm3098 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-08-2011, 10:41 AM
  5. Conditional formatting of column based on current date
    By randommonth in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 06-10-2010, 05:35 AM

Tags for this Thread

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