+ Reply to Thread
Results 1 to 8 of 8

Formula to Calculate Days Overdue, using Due Date/Date Returned/Extended Date

  1. #1
    Registered User
    Join Date
    02-02-2017
    Location
    Prince Edward Island
    MS-Off Ver
    2013
    Posts
    4

    Formula to Calculate Days Overdue, using Due Date/Date Returned/Extended Date

    Loan tracker snippet.JPG

    Using Excel 2013

    I would really appreciate help with this writing a function to return the number of days overdue based on whether or not the item has been returned or extended. The loan date, return date and extended date are entered manually, the due date and days overdue are calculated. I'd also love to keep this clean, so the "Value!" error doesn't populate in blank rows.

    I've shown the tests that this must match, but I'm just not good at formulating logical functions (and have no experience with programming )

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Formula to Calculate Days Overdue, using Due Date/Date Returned/Extended Date

    Please upload the workbook or a representative cut down copy, anonymised if necessary. It is always easier to advise if we can see your request in its context.

    Show a before and after situation with manually calculated results, explaining which information is data and which is results, and if it's not blindingly obvious how you have arrived at your results some explanatory notes as well.

    Pictures are rarely much use and we prefer not to have to recreate your workbook when you already have it.
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    Forum Expert José Augusto's Avatar
    Join Date
    10-29-2014
    Location
    Portugal
    MS-Off Ver
    2013-2016
    Posts
    3,329

    Re: Formula to Calculate Days Overdue, using Due Date/Date Returned/Extended Date

    Try this

    Formula: copy to clipboard
    Please Login or Register  to view this content.

  4. #4
    Registered User
    Join Date
    02-02-2017
    Location
    Prince Edward Island
    MS-Off Ver
    2013
    Posts
    4

    Re: Formula to Calculate Days Overdue, using Due Date/Date Returned/Extended Date

    Still the same results, thanks! This might help with what I'm looking for. The formula must meet the conditions:

    If Date Returned and Extended date are blank, calculate days overdue from todays date minus Due Date.
    If Date Returned is NOT blank, do not calculate & return a blank field.
    If Extended Date is NOT blank, calculate days overdue from the Extended Date and Today.
    Do not return - or 0 as a result.

  5. #5
    Registered User
    Join Date
    02-02-2017
    Location
    Prince Edward Island
    MS-Off Ver
    2013
    Posts
    4

    Re: Formula to Calculate Days Overdue, using Due Date/Date Returned/Extended Date

    How do I go about uploading a workbook, Richard? When I go to Insert Image, I am only provided the options for jpg, jpeg, gif or png. I did search the help faq on this, but insert image was all that I found as an option. Your guidance would be appreciated!

  6. #6
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Formula to Calculate Days Overdue, using Due Date/Date Returned/Extended Date

    Hi

    The paperclip icon doesn't work - why I've no idea. When the forum gets back to some sort of normality maybe we can get that point addressed.
    In the meantime you need to select the Go Advanced button at the bottom right of any post, look underneath the post area for the 'Manage Attachments' link, click this browse to a file, Upload it and Close the upload window. Then submit the post.

  7. #7
    Forum Expert José Augusto's Avatar
    Join Date
    10-29-2014
    Location
    Portugal
    MS-Off Ver
    2013-2016
    Posts
    3,329

    Re: Formula to Calculate Days Overdue, using Due Date/Date Returned/Extended Date

    Try this in F2
    Formula: copy to clipboard
    Please Login or Register  to view this content.

  8. #8
    Registered User
    Join Date
    02-02-2017
    Location
    Prince Edward Island
    MS-Off Ver
    2013
    Posts
    4

    Re: Formula to Calculate Days Overdue, using Due Date/Date Returned/Extended Date

    Oops, I missed copying the formula down. It DOES clear the value error, thanks!!!!

+ 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. Date Calculation for Number of Days Overdue
    By Sharr76 in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 02-05-2021, 02:08 AM
  2. [SOLVED] Trying to calculate- compares two dates, chooses later date, tells days to current date
    By Vicious00013 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-31-2016, 12:20 PM
  3. Replies: 14
    Last Post: 04-06-2015, 09:19 PM
  4. Calculate completion date from start date and duration - only work days
    By Robsheep in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 03-23-2015, 03:31 AM
  5. Calculate End Date Using Start Date and No. of Days excluding specific days.
    By SinusxCosinusx in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-22-2013, 05:48 AM
  6. Replies: 2
    Last Post: 10-06-2013, 02:03 PM
  7. [SOLVED] formula to calculate future date from date in cell plus days
    By Chicesq in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 11-03-2005, 08:30 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