Averages / Floating averages

Duggiefrshmc

New Member
Joined
Apr 10, 2002
Messages
1
How do I format a cell to average the last 12 entries. So that I can have a monthly average for the the last 12 months. I enter new data in the next cell for the previous month. At this time I have to change the formula every month. Is there a way to have the cell range change automaticly when I enter a new month?
 

Excel Facts

Pivot Table Drill Down
Double-click any number in a pivot table to create a new report showing all detail rows that make up that number
What I do is set up separate sheets:
Sheet 1 contains the data entry without average formulas.

Sheet 2 contains a table that calculates the 12 month floating average.

Sheet 3 contains the finished report with the floating averages. It uses lookup formulas to populate data fields and floating averages by referencing tables 1 and 2.

Hope this helps
Dexter
 
Upvote 0
=AVERAGE(OFFSET($A$1,MATCH(9.99999999999999E+307,A:A)-12,,12))

will average the last 12 cells in column A.
 
Upvote 0

Forum statistics

Threads
1,213,561
Messages
6,114,312
Members
448,564
Latest member
ED38

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