dynamic 12 month average?

stuartwoodburn

New Member
Joined
Apr 6, 2010
Messages
2
;)Hi,

Can anyone advise me how to achieve the following?

colum A - random dates
colum B - percentage audit scores

I need to keep a rolling average of the last twelve months of percentage audit scores. The difficulty being that audit scores are not entered on a regular or controllable basis. This makes the data difficult to use.

example

Col A Col B

01/01/2010 80%
01/01/2010 85%
04/01/2010 75%
01/02/2010 70%
04/05/2010 75%

how to i keep a rolling score of the last 12 months. Bearing in mind that at any point in time, the last 12 months will have varying numbers of contributing audits.
 

Excel Facts

What do {} around a formula in the formula bar mean?
{Formula} means the formula was entered using Ctrl+Shift+Enter signifying an old-style array formula.
Try formula in C1:

=TEXT(SUMIF(A$1:A100,">="&DATE(YEAR(A1-1),MONTH(A1),DAY(A1)),B$1:B100)/COUNTIF(A$1:A100,">="&DATE(YEAR(A1-1),MONTH(A1),DAY(A1))),"0%")

Regards
Northwolves
 
Upvote 0
Average of SumIf column A > (Now - 365)

"I know Nutink" about writing SumIf statements. Sorry.

If you have an extra column, Fill Down this formula
Code:
=IF(A1>Today()-365,B1,0)
Then average that total
 
Upvote 0
SamTyler,

Thanks so much. thats a nice elegant solution. much appreciated. I can see a way forward with this project now, thanks.

Northwolves,

your formula worked, but the result always seemed to be a few percent out. I'm not an expert at excel so it may hav been the way i implemented it.

Thanks to you both.
 
Upvote 0

Forum statistics

Threads
1,214,932
Messages
6,122,332
Members
449,077
Latest member
jmsotelo

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top