+ Reply to Thread
Results 1 to 10 of 10

Count days overdue only

Hybrid View

  1. #1
    Registered User
    Join Date
    04-22-2021
    Location
    Dublin,Ireland
    MS-Off Ver
    Office 365
    Posts
    4

    Count days overdue only

    Can someone help please. I’m trying to count days overdue in column e only when item is not closed out in column N.
    Have managed the following formula =IF(OR(C2>TODAY(),AND(D2<>””,D2<C2),C2=“”,),””,TODAY()-C2) but that is highlighting the row that’s overdue but not counting the days. Thanks I’m advance
    Attached Files Attached Files

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    48,188

    Re: Count days overdue only

    Put your formula
    Formula: copy to clipboard
    =IF(OR(C2>TODAY(),AND(D2<>"",D2<C2),C2=""),"", TODAY()-C2)
    in cell E2 and copy down.
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,662

    Re: Count days overdue only

    To avoid negative values when the due date is still in the future (e.g. row 6), use:

    =IF(N2="No",MAX(0,TODAY()-C2),"")
    Attached Files Attached Files
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU

  4. #4
    Registered User
    Join Date
    04-22-2021
    Location
    Dublin,Ireland
    MS-Off Ver
    Office 365
    Posts
    4
    Quote Originally Posted by Glenn Kennedy View Post
    To avoid negative values when the due date is still in the future (e.g. row 6), use:

    =IF(N2="No",MAX(0,TODAY()-C2),"")
    Thanks that’s worked in it’s only highlighting cells e2 and e4 red but it’s still not counting the days.

  5. #5
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,662

    Re: Count days overdue only

    It's not highlighting the cells.... You asked about COUNTING, not highlighting... and it IS counting the cells.

    I have now added some conditional formatting to highlight the cells.
    Attached Images Attached Images
    Attached Files Attached Files

  6. #6
    Registered User
    Join Date
    04-22-2021
    Location
    Dublin,Ireland
    MS-Off Ver
    Office 365
    Posts
    4
    Quote Originally Posted by Glenn Kennedy View Post
    It's not highlighting the cells.... You asked about COUNTING, not highlighting... and it IS counting the cells.

    I have now added some conditional formatting to highlight the cells.
    Sorry Glenn as you can gather excel is not my forte that’s amazing thanks so much I’ve been trying for a week on and off to figure it out myself🙈
    Sorry I didn’t explain myself properly at the start really appreciate it. Thank you.

  7. #7
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,662

    Re: Count days overdue only

    It happens to all of us!! You're welcome.



    It would be very nice if you were to just click the Add Reputation button at the foot of any of the posts of members who helped you reach a solution.

    Finally, if that takes care of your original question, please select "Thread Tools" from the menu link above and mark this thread as SOLVED.

  8. #8
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    48,188

    Re: Count days overdue only

    Bit bemused. Did you miss my post? You said it's not counting the days ... that's because you didn't have a formula in column E to calculate the value, only CF to highlight cells in the row.

  9. #9
    Registered User
    Join Date
    04-22-2021
    Location
    Dublin,Ireland
    MS-Off Ver
    Office 365
    Posts
    4

    Re: Count days overdue only

    Apologies I’m working off mobile phone here (job has this website blocked)and I didn’t see your reply. I can see it now. Thanks so much for taking the time to help me too I haven’t a clue what I’m at in excel ......or forums clearly 🤣

  10. #10
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    48,188

    Re: Count days overdue only

    You're welcome. Thanks for the rep.

+ 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] Overdue Days
    By Shan54321 in forum Excel General
    Replies: 3
    Last Post: 08-24-2019, 08:52 AM
  2. [SOLVED] Overdue days
    By Shenan in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-25-2017, 11:29 AM
  3. overdue days calculation
    By MANISH2AGRAWAL in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-03-2016, 02:12 AM
  4. overdue days calculation
    By MANISH2AGRAWAL in forum Access Tables & Databases
    Replies: 1
    Last Post: 04-03-2016, 01:50 AM
  5. No. days overdue in invoice
    By Janmarcus in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-14-2014, 06:51 AM
  6. Formula to count days overdue 5, 10, 15, 20, 25, 30, 60, 90+
    By clintwade in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-30-2013, 10:37 AM
  7. Days Overdue Column
    By Frank Sellin in forum Excel General
    Replies: 3
    Last Post: 09-13-2010, 11:32 AM

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