Averaging numbers

PMRetired2012

Board Regular
Joined
Aug 6, 2019
Messages
123
I have a row of 10 numbers and each week i add numbers. What i want to do is have a formula that will average the last 4 numbers in that row of numbers when i add numbers to the row of numbers. So what im saying is i want to be able to always adverage the last 4 number that have been entered.

Thanks
 

Excel Facts

Save Often
If you start asking yourself if now is a good time to save your Excel workbook, the answer is Yes
Hi

=AVERAGE(INDEX(A:A,COUNT(A:A)),INDEX(A:A,COUNT(A:A)-1),INDEX(A:A,COUNT(A:A)-2),INDEX(A:A,COUNT(A:A)-3))

Have a nice day!
 
Upvote 0
What do I put in the part that says A1:A1 and also does the -1 mean the last 4 numbers to be averaged? So my row of numbers to adverage is b3 thru b13 should that go where the A1:A1 is? And if I want it to adv the last 4 which would be b10 thru b13 would I use -4 instead of -1?

Thanks
 
Upvote 0
Another option.
Excel Workbook
ABCD
1
2Data
345Average
436last 4
52551
636
721
812
958
1069
1154
1256
1325
Sheet
 
Upvote 0

Forum statistics

Threads
1,223,886
Messages
6,175,194
Members
452,616
Latest member
intern444

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