+ Reply to Thread
Results 1 to 4 of 4

Excel 2007 Conditional Format date range

  1. #1
    Registered User
    Join Date
    03-16-2011
    Location
    USA
    MS-Off Ver
    Excel 2003
    Posts
    2

    Excel 2007 Conditional Format date range

    Hello,

    First, thanks for having this forum. It is greatly appreciated. I have a gantt style spreadsheet. I track multiple projects with a start date, due date and a complete date. I currently have the formula =AND(J$5>=$E6,J$5<=$F6) that will highlight a date range, from the start to the due date. It is highlighted in yellow. I would like to keep that same date range and have it change to green when the project is completed. I would also like to have the date range change to red if it goes pass the due date.
    I was thinking that I need to have a formula that looks at the date completed verses the date due. If the date completed is equal to or less than the date due, change the date range to green. To change to red, it would be the if =today() is greater than the due date, turn the date range to red. I can't figure out how to combine the different pieces into one formula.
    I have attached a test spreadsheet with some dummy data. Any ideas or suggestions would be appreicated.
    Thanks Tj
    Attached Files Attached Files
    Last edited by NBVC; 03-17-2011 at 08:33 AM.

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Excel 2007 Conditional Format date range

    For green add rule:

    =AND(I$5>=$D6,I$5<=$E6,$F6<>"")

    For red add rule:

    =AND(I$5>=$D6,I$5<=$E6,$E6<$B$3)
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Registered User
    Join Date
    03-16-2011
    Location
    USA
    MS-Off Ver
    Excel 2003
    Posts
    2

    Re: Excel 2007 Conditional Format date range

    Thanks NBVC

    That worked. Much Appreciated!

  4. #4
    Registered User
    Join Date
    02-25-2014
    Location
    City of Folsom
    MS-Off Ver
    Excel 2007
    Posts
    1

    Re: Excel 2007 Conditional Format date range

    Where is the formula on your spreadsheet? The one I downloaded does not have the formula in there. I like what you are trying to do I just don't know where it goes. Please let me know. Thanks, Betty

+ 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