# Ageing Analysis

Copper Contributor

# Ageing Analysis

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.

6 Replies

# Re: Ageing Analysis

I have attached my file with some formulas that should answer most of your questions.

# Re: Ageing Analysis

thank you sir, it really helped me. just for clarification on average number of incidents raised. - how will it work. In my long data set when I apply this formula it doesn't give me the right picture. if you help me to understand would be great sir. Thanks.

# Re: Ageing Analysis

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")

# Re: Ageing Analysis

thank you so much sir for your help and explanation would surely guide me.
appreciate that.