When trying to determine the number of workdays in a month, the following equation stops working when you cross from December of one year into January of the next. Any ideas as to what I'm missing/doing wrong? Thanks in advance!
The equation below is for January, I have equations for all the other months of the year but with the appropriate start and end numbers for the individual months (ie, April would have 4,1 and 4,30 in the equation)
=IF(AND($[Start Date]@row <= DATE(YEAR($[Start Date]@row ), 1, 31), $[End Date]@row >= DATE(YEAR($[Start Date]@row ), 1, 1)), NETWORKDAYS(MAX($[Start Date]@row , DATE(YEAR($[Start Date]@row ), 1, 1)), MIN($[End Date]@row , DATE(YEAR($[Start Date]@row ), 1, 31))) * 8, 0)