J
john.shanks
I have a large database from which I need to calulate a significan
number of "moving averages" of "variable" length. As a simpl
example, consider a sequence of numbers in cells A1:A100. To calculat
a moving average of length 10, I can put =AVERAGE(A1:A10) into cell B
and then copy down to B91. I now wish to change this moving averag
sequence to be based on a different length, say 15. Is there somewa
to place the required length into a separate cell which I can edit a
required and have the calculation update automatically without havin
to edit the B column manuly each time, ie can I somehow incorporate
variable into the range definition within the AVERAGE function
number of "moving averages" of "variable" length. As a simpl
example, consider a sequence of numbers in cells A1:A100. To calculat
a moving average of length 10, I can put =AVERAGE(A1:A10) into cell B
and then copy down to B91. I now wish to change this moving averag
sequence to be based on a different length, say 15. Is there somewa
to place the required length into a separate cell which I can edit a
required and have the calculation update automatically without havin
to edit the B column manuly each time, ie can I somehow incorporate
variable into the range definition within the AVERAGE function