+ Reply to Thread
Results 1 to 5 of 5

Highlight cell if past due date

  1. #1
    Valued Forum Contributor
    Join Date
    10-17-2007
    Location
    Tasmania, Australia
    MS-Off Ver
    2019, 365(v2310)
    Posts
    366

    Highlight cell if past due date

    Hi,

    I am trying to ask excel to visually alert me to the fact a date has passed 21 days unless the cell value in R3 is "Complete"

    Screenshot_7.jpg

    I would like the visual alert in A3 based on the date in C3

    So if the date in C3 exceeds 21 days, it will have "Overdue" and Red unless the value in R3 is set to "Complete" and so forth down.

    I have tried a number of formulas and conditional formatting but am unable to get both to happen at the same time.

    Any help would be greatly appreciated.
    Last edited by russkris; 04-26-2021 at 01:25 AM.

  2. #2
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,481

    Re: Highlight cell if past due date

    In A3:
    =IF(AND(R3<>"Complete",TODAY()-C3>21),"Overdue","")

    In A3, Conditional formatting/New rules/use a formula:
    =A3="Overdue"
    Quang PT

  3. #3
    Valued Forum Contributor
    Join Date
    10-17-2007
    Location
    Tasmania, Australia
    MS-Off Ver
    2019, 365(v2310)
    Posts
    366

    Re: Highlight cell if past due date

    Hi,

    Thank you very much, Just wondering why all the cells say "Overdue" even though the date cell is blank.

    Screenshot_1.jpg

  4. #4
    Valued Forum Contributor
    Join Date
    10-17-2007
    Location
    Tasmania, Australia
    MS-Off Ver
    2019, 365(v2310)
    Posts
    366

    Re: Highlight cell if past due date

    Quote Originally Posted by bebo021999 View Post
    In A3:
    =IF(AND(R3<>"Complete",TODAY()-C3>21),"Overdue","")

    In A3, Conditional formatting/New rules/use a formula:
    =A3="Overdue"
    Hi bebo

    Thank you very much, Just wondering why all the cells say "Overdue" even though the date cell is blank.

    Attachment 729530

  5. #5
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,751

    Re: Highlight cell if past due date

    A blank cell used in a formula with date arithmetic will look like 0, which is Jan 1 1900. Add this:

    =IF(AND(R3<>"Complete",C3>0,TODAY()-C3>21),"Overdue","")
    Jeff
    | | |會 |會 |會 |會 | |:| | |會 |會
    Read the rules
    Use code tags to [code]enclose your code![/code]

+ 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] HIghlight cell when date past due or > than submitted date
    By rz6657 in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 03-23-2018, 01:42 PM
  2. Highlight cell if "date" is past 30 day and change cell text
    By Tweet76 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 11-06-2017, 12:43 PM
  3. Highlight Cell if date is past
    By akalkins in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-17-2016, 03:00 PM
  4. Replies: 32
    Last Post: 09-30-2014, 12:26 PM
  5. Replies: 5
    Last Post: 08-22-2012, 05:06 PM
  6. how can i highlight something when it goes past a certain date
    By bilco in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-11-2006, 12:12 PM
  7. HIGHLIGHT A DATE 10 DAYS BEFORE IT IS PAST DUE
    By cookie04 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-14-2005, 06:06 PM

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