+ Reply to Thread
Results 1 to 8 of 8

Trying to get Excel to highlight cells based on assigned dates.

  1. #1
    Registered User
    Join Date
    04-10-2013
    Location
    Wisconsin, US
    MS-Off Ver
    2010
    Posts
    13

    Trying to get Excel to highlight cells based on assigned dates.

    I am creating a spreadsheet to keep track of multiple projects and the dates associated with each project. Within each project, there are 10 tasks that have assigned due dates. With each task, I have an additional column next to it to keep track of the ACTUAL completion date.

    I am trying to get some sort of formatting to highlight the "Actual Completion" cell as green if it on or before the assigned due date, red if it is after the due date, and no highlighting if there is no value input into the actual completion cell.

    The issue that I'm running into is that if I attempt to drag the formatting down through the 19 different projects (each project is it's own row), it uses row 1 to reference the "assigned date".

    I hope I've done a sufficient job explaining what I need; I've also attached the workbook in hopes that it can further assist any questions. Please let me know if I need to further explain anything as well!
    Attached Files Attached Files
    Last edited by tatumrae; 04-10-2013 at 08:25 PM.

  2. #2
    Forum Expert
    Join Date
    01-15-2007
    Location
    Brisbane, Australia
    MS-Off Ver
    2007
    Posts
    6,591

    Re: Trying to get Excel to highlight cells based on assigned dates.

    Hi

    You have an absolute reference to $E$3 in your formatting test. Try removing the absolute as applied to the row and see how you go ($E3)

    rylo

  3. #3
    Registered User
    Join Date
    04-10-2013
    Location
    Wisconsin, US
    MS-Off Ver
    2010
    Posts
    13

    Re: Trying to get Excel to highlight cells based on assigned dates.

    I changed it to $E3 versus $E$3, but no luck.

  4. #4
    Valued Forum Contributor
    Join Date
    11-20-2012
    Location
    Seattle, WA USA
    MS-Off Ver
    Excel 2010
    Posts
    597

    Re: Trying to get Excel to highlight cells based on assigned dates.

    Project Tracking.xlsx

    so the task 1 in column e is the due date and the actual in column f is the actual right? then you would highlight the cells in column f and do conditional formatting using a formula to determine: =AND(F3<=E3,F3<>"") meaning if the actual is earlier or equal to the task 1 (due date) and if actual is not blank then highlight green. BTW you don't have any that are after to highlight red, however you would add a new rule and do =AND(F3>E3,F3<>"") to highlight red.

    if you select all of the cells that you want to do condidional formatting on then make the upper left cell the active cell you can do it all in one go.

  5. #5
    Registered User
    Join Date
    04-10-2013
    Location
    Wisconsin, US
    MS-Off Ver
    2010
    Posts
    13

    Re: Trying to get Excel to highlight cells based on assigned dates.

    Quote Originally Posted by tatumrae View Post
    I changed it to $E3 versus $E$3, but no luck.
    Sorry I didn't look at the other cells before I responded. This did fix my issue! Thank you!

  6. #6
    Registered User
    Join Date
    01-14-2013
    Location
    Louisiana
    MS-Off Ver
    Excel 2010
    Posts
    10

    Re: Trying to get Excel to highlight cells based on assigned dates.

    In your conditional formatting remove all the dollar signs.

    attached is the corrected file in case you want to see how I would do it.
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    04-10-2013
    Location
    Wisconsin, US
    MS-Off Ver
    2010
    Posts
    13

    Re: Trying to get Excel to highlight cells based on assigned dates.

    Quote Originally Posted by scott.s.fower View Post
    Attachment 227241

    so the task 1 in column e is the due date and the actual in column f is the actual right? then you would highlight the cells in column f and do conditional formatting using a formula to determine: =AND(F3<=E3,F3<>"") meaning if the actual is earlier or equal to the task 1 (due date) and if actual is not blank then highlight green. BTW you don't have any that are after to highlight red, however you would add a new rule and do =AND(F3>E3,F3<>"") to highlight red.

    if you select all of the cells that you want to do condidional formatting on then make the upper left cell the active cell you can do it all in one go.
    Thank you so much! I was able to figure it out. I really appreciate the help!

  8. #8
    Registered User
    Join Date
    04-10-2013
    Location
    Wisconsin, US
    MS-Off Ver
    2010
    Posts
    13

    Re: Trying to get Excel to highlight cells based on assigned dates.

    Quote Originally Posted by jleonard5106 View Post
    In your conditional formatting remove all the dollar signs.

    attached is the corrected file in case you want to see how I would do it.
    Thank you as well! Your example was EXACTLY what I needed!

+ 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