+ Reply to Thread
Results 1 to 9 of 9

Calculate which item is most overdue, or list items by most overdue

  1. #1
    Registered User
    Join Date
    05-10-2021
    Location
    Oregon
    MS-Off Ver
    Office 2013
    Posts
    4

    Calculate which item is most overdue, or list items by most overdue

    I'm doing vehicle maintenance, and our vehicles are supposed to get serviced every 6 months. That's not always possible and some have gone longer than that. Also, it's also not always possible to service them in a specific order. For example, if a vehicle goes to the shop with an unrelated issue and we see that it's due or overdue for service, we go ahead and do it then even if it's not the "next" in line.

    I track each of these services by vehicle number, date, mileage, and have a spot for notes.

    The overall goal is to keep track in real-time of which vehicle is most overdue; that is, the vehicle that has gone the longest (by date) without being serviced. I've tried doing this with conditional formatting but it's not really what I need. A PivotTable was a little closer but still has to be sorted through manually.

    The first sheet has a history of all of the services. The second sheet is a list of all vehicle numbers.

    How can I call out which vehicles are most overdue at a glance?

    Thank you so much!
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor
    Join Date
    05-15-2017
    Location
    US
    MS-Off Ver
    365
    Posts
    901

    Re: Calculate which item is most overdue, or list items by most overdue

    How often would the service dates be updated/changed?
    By real-time what is your expectation? you can always have the order adjusted everytime you open your file so that the oldest are listed at the top and maybe highlighted.
    A macro can be written to run on workbook_open event

    Please Login or Register  to view this content.
    If you are expecting to see updates every few minutes or hours, then you'll need to have some timer to keep time and then run the macro to update the status of each vehicle

    Since you know you want to know about any vehicle that has been over 6 months, you can use conditional formatting to highlight any rows that exceed that duration.
    Last edited by cubangt; 05-10-2021 at 06:12 PM.

  3. #3
    Valued Forum Contributor
    Join Date
    05-15-2017
    Location
    US
    MS-Off Ver
    365
    Posts
    901

    Re: Calculate which item is most overdue, or list items by most overdue

    Here is a simple formula that will determine if the date is older than 6 months
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    05-10-2021
    Location
    Oregon
    MS-Off Ver
    Office 2013
    Posts
    4

    Re: Calculate which item is most overdue, or list items by most overdue

    I'm sorry, I probably shouldn't say "real time" in this context. I only mean that each time the workbook is opened I would see at a glance which vehicle numbers are most overdue based on todays date and when each vehicle number was serviced last.

    Each of those entries is a service date, so each vehicle number will have multiple entries going back a few years within that table.

  5. #5
    Valued Forum Contributor
    Join Date
    05-15-2017
    Location
    US
    MS-Off Ver
    365
    Posts
    901

    Re: Calculate which item is most overdue, or list items by most overdue

    so would it make sense to have a "Past Due" dashboard of sorts.. which would display 1 instance of the each vehicle that is past due?

  6. #6
    Registered User
    Join Date
    05-10-2021
    Location
    Oregon
    MS-Off Ver
    Office 2013
    Posts
    4

    Re: Calculate which item is most overdue, or list items by most overdue

    Yes! And possibly also list the last service date for those past due vehicles, such that they could be sorted (or at least eyeballed) as to which is most overdue and should be next in for service.

  7. #7
    Valued Forum Contributor
    Join Date
    05-15-2017
    Location
    US
    MS-Off Ver
    365
    Posts
    901

    Re: Calculate which item is most overdue, or list items by most overdue

    I created a pivot table with the max dates and applied conditional formatting to highlight the ones that were older than 6 months..
    take a look at the attached and see if that will help.
    Attached Files Attached Files

  8. #8
    Registered User
    Join Date
    05-10-2021
    Location
    Oregon
    MS-Off Ver
    Office 2013
    Posts
    4

    Re: Calculate which item is most overdue, or list items by most overdue

    This is wonderful! Exactly what I need to see. Thank you so much.

  9. #9
    Valued Forum Contributor
    Join Date
    05-15-2017
    Location
    US
    MS-Off Ver
    365
    Posts
    901

    Re: Calculate which item is most overdue, or list items by most overdue

    No problem.

+ 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. list all overdue items 2 months in advance
    By VBAidot in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 10-09-2016, 08:34 AM
  2. Automate Macro script needed to Mark Overdue ,SLA-HOLD,Soon to be Overdue by Hours
    By britishidol200 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-04-2015, 12:55 PM
  3. Custom function to match client and check KPI dates for overdue items
    By Zyphon in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-26-2014, 05:31 AM
  4. Formula to determine total overdue values by length of overdue
    By Midnight_Dragon in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-17-2013, 02:03 AM
  5. Producing a flag or highlight when an item is 14 days overdue
    By danny06m in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 01-30-2013, 04:30 AM
  6. send email via excel for action items with overdue status
    By xiaotianshi in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-21-2007, 11:21 AM
  7. [SOLVED] Due Dates / Overdue items
    By Nic in forum Excel General
    Replies: 5
    Last Post: 06-28-2006, 02:20 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