Creating a 12MTD calculation

Rhian

New Member
Joined
Dec 23, 2014
Messages
2
Can somebody help please, i am trying to work out a formula which will give me a 12MTD figure.

I have got data stretching from June 2013 to current month and i need to show what the 12 MTD avergae figure is as i add data in month on month.

This needs to be a formual as manually calculating the average for each row would be time consuming.

Any ideas??
 

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
Hi rhian

Try this for the average:

=AVERAGE(INDIRECT(ADDRESS(ROW(),COLUMN(C4)+COUNTA(C4:AG4))&":"&IF(COUNTA(C4:AG4)<12,ADDRESS(ROW(),COLUMN(C4)),ADDRESS(ROW(),COLUMN(C4)+COUNTA(C4:AG4)-12))))

This is based on your first month of data being in cell C4, and the data running to CG4 (Dec-15), change those parts accordingly
 
Upvote 0
I should add that this assumes cells are empty after the month you have just added the data in.
 
Upvote 0

Forum statistics

Threads
1,216,115
Messages
6,128,923
Members
449,479
Latest member
nana abanyin

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