+ Reply to Thread
Results 1 to 6 of 6

How to Highlight cell with Date Value Greater Than 6 months

  1. #1
    Registered User
    Join Date
    08-29-2018
    Location
    South, Mississippi
    MS-Off Ver
    2016
    Posts
    3

    How to Highlight cell with Date Value Greater Than 6 months

    Hey everyone,

    I'm a newbie and would appreciate any assistance you all can give me!

    I'm trying to figure out how to highlight a specific cell if the date value in that specific cell (returned from the formula shown below) has a date value equal to or greater than 6 months and 1 day.

    The formula I'm using to calculate the length of time between two dates is the following:

    =DATEDIF(B2,B3,"y")&" Year, "&DATEDIF(B2,B3,"ym") & " Months, "&B2-DATE(YEAR(B2),MONTH(B2),1)&" Days "

    I look forward to being amazed!

    Thank You!

  2. #2
    Forum Expert
    Join Date
    03-23-2004
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    7,064

    Re: How to Highlight cell with Date Value Greater Than 6 months

    Use Condtional Formatting

    Select the range of cells to highlight

    Conditional Formatting
    New Rule
    Use a formula to determine...

    This will highlight when cell A1 (change it as required) is older than 6mths
    =a1 < edate(today(),-6))

    If you mean the cell is to highlight within the next six months use this

    =AND(A1 > TODAY(),a1 < edate(today(),6))

    Format as required
    Regards
    Special-K

    Ensure you describe your problem clearly, I have little time available to solve these problems and do not appreciate numerous changes to them.

  3. #3
    Registered User
    Join Date
    08-29-2018
    Location
    South, Mississippi
    MS-Off Ver
    2016
    Posts
    3

    Re: How to Highlight cell with Date Value Greater Than 6 months

    Thanks for the response!

    I don't need the formula to highlight it the value is more than 6 months from today...

    I need the cell to highlight if the date range value calculated in the cell is 6 months and 1 day or greater...

    Sort_6.jpg

  4. #4
    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: How to Highlight cell with Date Value Greater Than 6 months

    So change the sign around and drop the TODAY()
    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

  5. #5
    Registered User
    Join Date
    08-29-2018
    Location
    South, Mississippi
    MS-Off Ver
    2016
    Posts
    3

    Re: How to Highlight cell with Date Value Greater Than 6 months

    Just tried that...didn't seem to work

  6. #6
    Spammer
    Join Date
    01-08-2015
    Location
    Cali, Colombia
    MS-Off Ver
    365
    Posts
    302

    Re: How to Highlight cell with Date Value Greater Than 6 months

    Hi, to all!

    You could try this:

    1. Select Range C3:C8 (with activecell in C3)
    2. Go to Home - Conditional Formatting - New Rule - Use a formula to determine...
    3. Put this formula:

    =EDATE(B2,6)<B3

    4. Give the format you want, and done!

    Blessings!

+ 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] Conditional Format - Dates greater than 18 months and 24 months
    By amandavan in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 04-03-2024, 04:08 PM
  2. Count and Highlight date greater than 1 day
    By hanialbarni in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 08-17-2016, 03:22 AM
  3. Replies: 3
    Last Post: 02-12-2016, 11:15 AM
  4. [SOLVED] Formula to highlight cell/data greater than a specific date
    By tdsmith14 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 11-22-2013, 05:44 AM
  5. [SOLVED] Highlight the Cell which is greater than Next Friday's Date
    By vigneshwaran in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 12-27-2012, 07:04 AM
  6. Replies: 5
    Last Post: 07-03-2012, 01:23 PM
  7. How to Highlight the date if it is within 3 months from now
    By HR gal in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 12-10-2005, 12:15 AM

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