+ Reply to Thread
Results 1 to 4 of 4

conditional formatting for blank cells dependent on due dates

  1. #1
    Registered User
    Join Date
    01-19-2017
    Location
    Maryland
    MS-Off Ver
    Office 365 Business
    Posts
    2

    Question conditional formatting for blank cells dependent on due dates

    Help!! I need to create a formula for a due date spreadhseet for multiple items with varying due dates. I have the due dates, but I want to highlight the cells directly below based on the following:

    If the cell date is equal to or less than the above due date, GREEN.

    If the cell is BLANK and the due date above is less than or equal to TODAY, RED
    If the cell is BLANK and the due date above is between TODAY +1 and TODAY +7, ORANGE
    If the cell is BLANK and the due date above is between TODAY +8 and TODAY +14, YELLOW
    If the cell is BLANK and the due date above is greater than or equal to greater than TODAY +15, NO COLOR

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

    Re: conditional formatting for blank cells dependent on due dates

    Select the cell (lets assume A2)

    Conditional Formatting
    New Rule
    Use a formula to determine...
    4 formulas required, in this order.

    =AND(A2 < > "",A2 < A1)
    format as green

    =(AND(A2="",A1 > =TODAY()+8,A1 < =TODAY()+14))
    format as yellow

    =(AND(A2="",A1 > =TODAY()+1,A1 < =TODAY()+7))
    format as orange

    =(AND(A2="",A1 < =TODAY()))
    format as red

    Format as required
    Use Format painter (paintbrush icon) to copy to other cells
    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
    10-13-2013
    Location
    China
    MS-Off Ver
    Excel 2011
    Posts
    15

    Re: conditional formatting for blank cells dependent on due dates

    For some reason, I can't load attach the file here, but I think I have your solution.

    Use separate conditional formatting for each color, and use formulas to determine the cells to format.
    For this example, have your due date in cell B3, and the coloring cell will be B4:

    For the red formatting, use this formula:
    =AND(B4=0,B3-TODAY()<=0)

    For the green formatting, use this formula:
    =AND(B4<>0,B4<=B3)

    For the orange formatting, use this formula:
    =AND(B4=0,(B3-TODAY())<=7)

    For the yellow formatting, use this formula:
    =AND(B4=0,((B3-TODAY())<=14))

    If you would like to provide your email address, I can email the file to you since I can't upload the file to this thread.

  4. #4
    Registered User
    Join Date
    01-19-2017
    Location
    Maryland
    MS-Off Ver
    Office 365 Business
    Posts
    2

    Talking Re: conditional formatting for blank cells dependent on due dates

    Worked like a charm! Thank you!

+ 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. Conditional formatting blank cells relating to dates
    By -jack in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 10-27-2016, 08:24 PM
  2. Conditional Formatting - Color Formatting for Blank Cells
    By mlbdc2012 in forum Excel General
    Replies: 10
    Last Post: 02-10-2015, 06:28 AM
  3. Replies: 3
    Last Post: 02-09-2015, 09:00 AM
  4. Replies: 7
    Last Post: 11-20-2013, 04:00 PM
  5. Replies: 4
    Last Post: 08-29-2013, 11:23 AM
  6. [SOLVED] Conditional formatting based on dates and blank cells
    By formatting freak in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 05-10-2013, 09:23 AM
  7. [SOLVED] 3 Outcomes Conditional Formatting based on 4 blank/non blank cells
    By Supraman in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-14-2012, 06:21 AM

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