Avg days between two statuses

Hi @martins.vanags - thanks for your reply.
The only issue with Calculate Lead/Cycle Time From Specific Statuses is that it calculates days from the chosen status to the resolved time. I need to calculate average days from In Progress to Waiting for Production.
Is there any way to change it?
Thanks again
Joe