+ Reply to Thread
Results 1 to 10 of 10

Condtional formatting based on dates

  1. #1
    Forum Contributor
    Join Date
    08-15-2006
    Location
    USA
    MS-Off Ver
    Office 365, 64 bit
    Posts
    372

    Condtional formatting based on dates

    The attached file has a planned (PLN) and actual (ACT) dates.

    For the planned dates (PLN), I have a conditional formatting formula that highlights the cell when the date is within 20 days of expiring / passing. However, once the date expires (i.e. PLN date = 2/14/13 and TODAY date is 2/15/13), the cell will no longer highlight the cell.

    I need a formula that will highlight the cell even after the date expires AND the actual date has not been updated (adjacent column of each PLN | ACT date(s)). Once the actual date is updated in the corresponding cell, than no longer highlight. I've tried conditional formulas but can't find one. Or is this a VBA task?
    Attached Files Attached Files
    Last edited by rz6657; 02-16-2013 at 05:49 PM.

  2. #2
    Forum Expert dredwolf's Avatar
    Join Date
    10-27-2012
    Location
    Clearwater,Canada
    MS-Off Ver
    Excel 2007
    Posts
    2,649

    Re: Condtional formatting based on dates

    how do you tell if the date has been changed/updated?
    A picture may be worth a thousand words, BUT, a sample Workbook is worth a thousand screenshots!
    -Add a File - click advanced (next to quick post), scroll to manage attachments, click, select add files, click select files, select file, click upload, when file shows up at bottom left, click done (bottom right), click submit
    -To mark thread Solved- go top of thread,click Thread Tools,click Mark as Solved
    If you received helpful response, please remember to hit the * of that post

  3. #3
    Forum Expert dredwolf's Avatar
    Join Date
    10-27-2012
    Location
    Clearwater,Canada
    MS-Off Ver
    Excel 2007
    Posts
    2,649

    Re: Condtional formatting based on dates

    In other words, is it because the actual is 'empty' that you know the planned hasn't been updated, or some other criteria?

  4. #4
    Forum Contributor
    Join Date
    08-15-2006
    Location
    USA
    MS-Off Ver
    Office 365, 64 bit
    Posts
    372

    Re: Condtional formatting based on dates

    The project managers plan a target date as to when they they will complete the milestone. That date is mostly static. Once the milestone is completed, they will update the actual date the milestone was completed (each milestone has a planned and actual column). The TODAY () will dictate when the planned date has expired.

  5. #5
    Forum Expert dredwolf's Avatar
    Join Date
    10-27-2012
    Location
    Clearwater,Canada
    MS-Off Ver
    Excel 2007
    Posts
    2,649

    Re: Condtional formatting based on dates

    yes...the question is not about whether or not the date is exceeded, it's about HOW to tell whether the date has been updated...if there is no reference to to tell if the date has been changed, how can you expect excel to either highlight/not highlight the cell?

    Edit-
    YOU might know the date has changed, YOUR managers might know the date has changed, but HOW is excel supposed to know?
    Last edited by dredwolf; 02-15-2013 at 07:55 PM.

  6. #6
    Forum Contributor
    Join Date
    08-15-2006
    Location
    USA
    MS-Off Ver
    Office 365, 64 bit
    Posts
    372

    Re: Condtional formatting based on dates

    Dredwolf, more clarification:

    - The conditional formatting only applies to the PLN columns, not the ACT columns
    - If the target date is 2/14 and today is 2/15 and the project manager either has forgotten to update the corresponding ACT column or is negligent in doing so, allowing the cell to highlight can alert me that it has passed and to follow-up with the project manager. With over 100 projects and all in different timelines, its difficult to scan through and identify the expired target PLN dates
    - Once the project manager finally updates the ACT date, the PLN date cell no longer be highlighted
    - BTW, column A is where the corresponding project numbers are for each row.

    Thanks...

  7. #7
    Forum Expert dredwolf's Avatar
    Join Date
    10-27-2012
    Location
    Clearwater,Canada
    MS-Off Ver
    Excel 2007
    Posts
    2,649

    Re: Condtional formatting based on dates

    THAT is what I've been asking all along...the ACT column is the switch, thank you...now we can proceed...

  8. #8
    Forum Expert dredwolf's Avatar
    Join Date
    10-27-2012
    Location
    Clearwater,Canada
    MS-Off Ver
    Excel 2007
    Posts
    2,649

    Re: Condtional formatting based on dates

    see if this is what you had in mind : rz6657.sol1.xlsx

    Note- I applied the formula from b3-aa26 and used your first condition as well, if you don't want the 20 days or less as part of the rule change the rule to this:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    or this if the update rule is just that Actual contains a value>0
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Hope this helps

  9. #9
    Forum Contributor
    Join Date
    08-15-2006
    Location
    USA
    MS-Off Ver
    Office 365, 64 bit
    Posts
    372

    Re: Condtional formatting based on dates

    Dredwolf - the last option met my needs. Again, thanks for your help and not giving up on my lack of details.

  10. #10
    Forum Expert dredwolf's Avatar
    Join Date
    10-27-2012
    Location
    Clearwater,Canada
    MS-Off Ver
    Excel 2007
    Posts
    2,649

    Re: Condtional formatting based on dates

    You are welcome!
    Glad I could come up with something you could use

+ 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