Dear @Vitalii_Simonov,
This is not something to be solved quickly, but to give you the right directions, to my opinion you should use the solution from this post
In this way you will be able to find all days of the project and in case of matching dates in between the project and the sickdays, nat. holidays, etc. to deduct them to calculate the net working days by project
It’s a bit the question to play around step by step and when you get one solved the rest can be added in the same manner.