Discussions

Expand all | Collapse all

Overdue formula

  • 1.  Overdue formula

    Posted 06-01-2018 12:38
    I am trying to set up a field that will show what tasks are overdue by department. If the complete date is not entered in before the due date I would like this to show overdue. Also if the overdue field could show how many days have past since the due date for each department

    Thank you


  • 2.  RE: Overdue formula

    Posted 06-04-2018 22:56
    Hi SkyTriv,

    If I was building out a formula like this I would start with something like this in a formula text field, this will give you an Overdue warning and then also give you the number of days overdue:

    If(IsNull([Complete Date] and Today()>=[Due Date], "Overdue" & Days(Today()-[Due Date]),
    If([Complete Date]>[Due Date], "Overdue" & Days([Complete Date]-[Due Date]), "On Time"))

    This essentially just checks to see if no complete date has been entered and if the current date at the time of running the formula is greater then the Due Date it will display the Overdue message and the number of days overdue. If Complete Date has been filled in and is greater then the Due Date it will capture how many days overdue it is. Finally if it isn't overdue it will display as "On Time".

    It might require some tweaking if you wanted the output to be adjusted or if your fields need to be matched up for type but this should be a basic framework to work from with room for customization. 


  • 3.  RE: Overdue formula

    Posted 06-06-2018 12:34
    Thank you for your help!