How can I get days overdue to stop revving without setting the value to null
I am currently using the following formula which captures the days overdue within the formula field ?Days Overdue? while the status is not equal to Delivered. I would like to be able to set the status to Delivered and not reset the ?Days Overdue? field to null. I also want to ensure that the ?Days Overdue? field stops counting so I have a record of the exact number of days the task was overdue so it can be reported.
Current working formula:
If([Status] = "Delivered", null, ToDays(Today() - ToDate([Calculated Finish Date])) <= 0, null, Today() - ToDate([Calculated Finish Date]))
For example:
Status = In Process with a the Calculated Finish Date of 4-19-2019. This displays 4 days overdue.
If I set Status = Delivered, I would like to keep the current value in Days Overdue field (4) and would expect if I logged in the next day that the Days Overdue value remains at 4.
Any help would be appreciated.