A Rolling 12 Month Sum Formula

Deanwilson

New Member
Joined
Dec 28, 2010
Messages
3
So we are working on a little tracking project and would like to have a formula that will provide a rolling 12 month total. For example, Jane had 10 points from 02/2010 and another 5 points from 06/2010 and 10 points from 01/2011. In light of it currently being March 2011 I am looking to write a formula that just reviews the last 12 calendar months and would result in 15 as the correct answer here....not 25. I rarely utilize date functions and this may be a no brainer to you folks but I would certainly appreciate any help.
 

Excel Facts

How can you turn a range sideways?
Copy the range. Select a blank cell. Right-click, Paste Special, then choose Transpose.
looking at this

I adapted it to
Excel Workbook
ABCD
1DateAmount
2Feb-201010
3Jun-2010515
4Jan-201110
5
Sheet2
Excel 2003
Cell Formulas
RangeFormula
D3=SUMPRODUCT(--(ABS(12*(2010-YEAR(A$2:A$10000))+5.5 -MONTH(A$2:A$10000)+ROWS(D$1:D1))<6),B$2:B$10000)
 
Upvote 0

Forum statistics

Threads
1,224,574
Messages
6,179,629
Members
452,933
Latest member
patv

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