+ Reply to Thread
Results 1 to 5 of 5

Dates

  1. #1
    Registered User
    Join Date
    02-22-2018
    Location
    Belgium
    MS-Off Ver
    2013
    Posts
    2

    Dates

    Hi

    I'm currently working on a spreadsheet for a skill matrix.

    I would like a function that shows me when a certain evalution is 3 months ago.

    So when the date is 3 months back in time it should become red.
    When the date is less than 3 months ago it should be green.

    Can anyone help me please?

  2. #2
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    6,266

    Re: Dates

    Hello and welcome to the forum.

    What you are looking to do can be achieved through two Conditional Formatting Rules, one for red and one for green.

    I am assuming that the date is in cell A2 and that the cell should turn red for all dates ≥ 3 months ago and green for all dates < 3 months ago.

    Red:
    Select cell A2 > Conditional Formatting > New Rule > Use a formula
    =AND(A2<>"",A2<=EDATE(TODAY(),-3))
    Format: Fill Red > OK > OK

    Green:
    Select cell A2 > Conditional Formatting > New Rule > Use a formula
    =A2>EDATE(TODAY(),-3)
    Format: Fill Green > OK > OK

  3. #3
    Valued Forum Contributor ranman256's Avatar
    Join Date
    07-29-2012
    Location
    Kentucky
    MS-Off Ver
    Excel 2003
    Posts
    1,177

    Re: Dates

    here: cell A1 = today()
    eval date is in G3
    #days since, h3=DAYS(A1,G3)
    set conditional format on h3 to red if h3>90, green if <90

  4. #4
    Registered User
    Join Date
    02-22-2018
    Location
    Belgium
    MS-Off Ver
    2013
    Posts
    2

    Re: Dates

    Thx, this was what i was searching for!

  5. #5
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    81,181

    Re: Dates

    Welcome to the forum! Please take a moment to re-read forum rule #1 regarding thread titles and use better ones in future. Thanks!

    • Use concise, accurate thread titles.
    • Your post title should describe your problem, not your anticipated solution.
    • Use terms appropriate to a Google search - poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice tell us nothing.
    • Responding to a request to change your thread title by doing so is mandatory.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

+ 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. Replies: 7
    Last Post: 12-27-2017, 09:57 AM
  2. Populating list of dates from another sheet with Start Dates and End Dates
    By Jesshloly in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 11-05-2015, 04:07 AM
  3. Check dates in range either same dates or different dates by formula
    By breadwinner in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 07-12-2013, 07:42 AM
  4. Replies: 6
    Last Post: 03-11-2013, 06:11 PM
  5. [SOLVED] Array of dates when tested shows no dates ......but there are dates
    By welchs101 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 11-29-2012, 12:45 PM
  6. [SOLVED] Highlight Group of Dates if Dates Match List of other Dates
    By martinpgibson in forum Excel General
    Replies: 5
    Last Post: 10-24-2012, 08:14 PM
  7. [SOLVED] Auto filling dates based on previously entered dates and averaging numbers if dates equal
    By grambograham in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-11-2012, 03:21 PM

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