So, I'm trying to create a metrics sheet formula that will count the number of projects that occur in each month.
In my resource planning sheet I am using as a reference I have a Project column, Assigned To, Start Date, End Date along with a few others. The projects are divided by months and the resource planning sheet spans over the next two years. I am trying to count the number of projects that each team member is responsible for each month. On my metrics sheet I have a new section for each month. I am trying to use a countif function but it will not count the project for all 3 months. For example if the project starts 9/01/2021 and ends 11/01/2021 they need to have a count for working on a project under the September, October, and November section and it is only counting that the team member is working on one project and it is in September. How can I create a formula to recognize that if range of start date to end date occurs in October it would count it once as well, and once for November, and it would not count the team member for having a project for December because the end date is in November.
The formula I've been trying to use is:
=COUNTIFS({PMO Release Schedule/Resource Planning Range 1}, [Second Metric (If Needed)]@row, {PMO Release Schedule/Resource Planning Range 3}, MONTH(9))
Range 1 is the area of the Release Schedule Sheet that has who the project is assigned to. The second metric if needed is the team member's name that the project is assigned to, and the Range 3 is the area of the Release Schedule Sheet that has the project dates that start in September.
I keep getting an #INVALID DATA TYPE error and I cant figure out why. Also, the current function I have would not count the project if it occurred in any other month than the start date.
Any help at all would be greatly appreciated.