I am attempting to calculate the average number of working days it takes to complete a request, Criteria I want to base the data collection on include:
- urgency level
- Month and Year(I created a rolling month chart to see trends-see below screenshot)
- The Work Completion Date determines the month it will be reported on
- This is where things get tricky. The Work Completion and Start Date Columns provide the full date format, rather than MO/YEAR format. That works for calculating the networking days to complete work, but it does not work for finding the average in a given month. So, I have to pull month and year from the date in order to see if it meets the criteria.
All calculations are being done in a separate metric sheet
I am doing my best to not add additional columns to the source sheet. There are several entries on this sheet, and I want to prevent exceeding max cells for as long as possible. So, combining calculations, without the use of a helper column, would be ideal.
Here is the calculation I put together. I'm coming up with an #UNPARSEABLE error. Please review and let me know where the error may exist. Thank you.
=AVG(COLLECT(NETWORKDAYS({Work Start Date}, {Work Completion Date}),{Work Completion Date},MONTH({Work Completion Date}) = [Rolling Date Month]65, {Work Completion Date},YEAR({Work Completion Date}) = [Rolling Date Year]65, {Urgency Level}, "Low")))