Find the highest rolling average from a range

Pedro's PhD

Board Regular
Joined
Jun 3, 2011
Messages
63
Hi All,

I have numerical data in over 1000 cells in ColumnA, and I am in need of finding the highest average from a rolling average of 10 consecutive cells.

Can anyone help?

Thanks in advance

Pedro
 

Some videos you may like

Excel Facts

Select all contiguous cells
Pressing Ctrl+* (asterisk) will select the "current region" - all contiguous cells in all directions.

Marcelo Branco

MrExcel MVP
Joined
Aug 23, 2010
Messages
16,414
See if this example with 20 numbers helps


A
B
C
1
Numbers​
Top Avg10​
2
16​
38,3​
3
50​
4
39​
5
8​
6
25​
7
34​
8
22​
9
30​
10
50​
11
25​
12
80​
13
70​
14
16​
15
4​
16
27​
17
12​
18
21​
19
45​
20
35​
21
39​

Array formula in C2
=MAX(SUBTOTAL(1,OFFSET(A2,ROW(A2:A12)-ROW(A2),0,10)))
confirmed with Ctrl+Shift+Enter, not just Enter

M.
 

Watch MrExcel Video

Forum statistics

Threads
1,123,311
Messages
5,600,886
Members
414,414
Latest member
neil_c

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
Top