Hi everyone. I'm trying to come up with the best way to count the number of days that a project is being worked on in a particular week. You can see in my screenshot that ProductiveDays is counting the working days from 6/10 to 6/14.
I've come up with a rather cumbersome formula that works and only requires that I manually change the dates. I could easily have the dates linked to cells so I wouldn't have to copy and paste a new formula each week.
=IF(AND(Start@row >= DATE(2019, 6, 10), Finish@row <= DATE(2019, 6, 14)), NETWORKDAYS(Start@row, Finish@row), IF(AND(Start@row < DATE(2019, 6, 10), Finish@row > DATE(2019, 6, 14)), NETWORKDAYS(DATE(2019, 6, 10), DATE(2019, 6, 14)), IF(Start@row > DATE(2019, 6, 14), 0, IF(Finish@row < DATE(2019, 6, 10), 0, IF(Finish@row <= DATE(2019, 6, 14), 5 - (DATE(2019, 6, 14) - Finish@row), IF(Start@row >= DATE(2019, 6, 10), 5 - (Start@row - DATE(2019, 6, 10))))))))
Is there an easier way to do this? I've been racking my brain trying to come up with a solution and this is the best I could do.
