function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
dcorkdcork 

Calculating Case Duration and Turnaround

I need to create a report that shows the average turnaround time in hours for all open cases. The challenge is that we don't provide support 24x7 and the time we're not here shouldn't be included in the turnaround time calculation. Basic requirements:

- If the case was created after 7pm, count it as arriving at 7am the next day.
- If the case came in on Saturday or Sunday, count it as arriving at 7am on Monday.
- The turnaround time is the average time across open cases.
- The report is dynamic so that the turnaround time is calculated in real-time each time the report is run.

Is there a way to do this using calculated fields? Is there other code out there that may help.

Thanks.
Nick.ax106Nick.ax106
I currently export a report to excel and use a Visual Basic function from http://freevbcode.com/ShowCode.Asp?ID=5244

I have a formula field in the application that calculates case age in days

http://forums.crmsuccess.com/sforce/board/message?board.id=discuss&message.id=1772

Cheers,

Nick