Avg Resolution Workdays excluding statuses

Hello, my client has asked for the below report, but wants to exclude days spent in transition statues ‘Open’ and ‘On Hold’.
Is there a way to create a measure that shows us average resolution workdays excluding these statuses?
Thanks in advance
Joe