Jun 15 2022 09:23 AM
Hello Mentors ,
In my attached sheet I am trying to do ageing analysis. Please help me to get result under mentioned bucket in the sheet.
ageing wise for Open cases
-> how many are under 0-30 days , 31-60 days , 61-90 days and >90 days.
ageing wise for Closed cases
- how long it took to close the incident.
->how many are under 0-30 days , 31-60 days , 61-90 days and >90 days ( took to close).
Average number of incident raised every month.
Is there any way to identify or mention or count the common description among all.
please help me to get the result.
Jun 20 2022 08:34 AM
Jun 20 2022 10:57 PM
Jun 21 2022 08:47 AM
Hi @Maddy29
this was my formula example:
=COUNT(C2:C20)/((MONTH(MAX(C2:C20))-MONTH(MIN(C2:C20))+1))
The COUNT part should be clear, it just counts all entries in the range C2:C20
Next, I calculated the latest month of the dates in range C2:C20
MONTH(MAX(C2:C20))
Then, I calculated the earliest month of the dates in range C2:C20
MONTH(MIN(C2:C20))
When you subtract the earliest month from the latest month and add 1, you should get the number of months in your range.
And last, I divided the count by the number of months.
This solution assumes that all dates are within the same calender year. It would not work properly if you have dates in different years. Maybe this is the reason why it does not work on your side.
A more robust solution would be this:
=COUNT(C2:C20)/DATEDIF(MIN(C2:C20),MAX(C2:C20),"M")
Try this one instead of my first proposal.
For information:
DATEDIF is an undocumented function that calculates date differences in years ("Y"), months ("M") or days ("D")
Jun 22 2022 01:58 AM
Jun 29 2022 05:37 AM
Aug 08 2022 03:54 AM