Rolling 12 Mo. by date.

tommyizzle

New Member
Joined
Dec 13, 2015
Messages
3
Hello,
I am throwing in the towel and asking for help... I have been trying to find a formula that will track the sum for a range of cells and exclude any rows in which the date is more than one year old. Here is the data (I mocked up a visual aid using a table below):
  • Dates will be entered in A4:A10000
  • Raw data will be entered in columns B-F by row
  • Ideally I would like each line to populate in column G by row and report the total to N1 (excluding anything older than 1 year)
  • So far I have tried =SUMIF and =SUMIFS but in both cases it does not exclude any dates that are outside of one year old.
  • I have also tried adding a running total column to report to N1 (which i would like to avoid if possible)

Any help is truly appreciated!

TIA - Thomas O.
ABCDEFGHIJKLMN
1LabelsLabel1Label2Label3Label4Label5TotalRunning Total (Optional)Rolling 12 Mo. Total(Populates Here)
2Date:
3Example LineEx.Ex.Ex. Sum
411/20/2014110 (Because older than 12 Mo.)
501/13/20151122
603/24/20151124
7

<tbody>
</tbody>
 

Excel Facts

Can you AutoAverage in Excel?
There is a drop-down next to the AutoSum symbol. Open the drop-down to choose AVERAGE, COUNT, MAX, or MIN
Like this?
Copy formulas in G4 and N4 down as needed.
Excel Workbook
ABCDEFGHIJKLMN
1LabelsLabel1Label2Label3Label4Label5TotalRunning Total (Optional)Rolling 12 Mo. Total(Populates Here)
2Date:6
3Example LineEx.Ex.Ex. Sum
411/20/20141100
51/13/20151122
63/24/20151124
Sheet
 
Upvote 0
Thank you for the help! But I was looking to have N1 keep a running total of G4:G10000 excluding dates beyond a year. Any suggestions? If there's not, I can us the running total by line and then have that column report to N1.
 
Upvote 0
You should be able to use just a SUM function. As a row total in G gets past 1 year it will turn to 0.
Excel Workbook
ABCDEFGHIJKLMN
1LabelsLabel1Label2Label3Label4Label5TotalRunning Total (Optional)Rolling 12 Mo. Total(Populates Here)
2Date:4
3Example LineEx.Ex.Ex. Sum
411/20/2014110
51/13/2015112
63/24/2015112
Sheet
 
Upvote 0
Actually I just copied the formula you had for the G4 cell down through G10000 and then used =SUM(G4:G10000) in N1 and that fixed it. Ran a few test and it's working great! Thanks again for the help, I was obviously trying to do it the hardest possible way!
:LOL:
 
Upvote 0
You're welcome. Thanks for the feedback and welcome to the forum.
 
Upvote 0

Forum statistics

Threads
1,214,567
Messages
6,120,268
Members
448,953
Latest member
Dutchie_1

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