ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   New Users to Excel (https://www.excelbanter.com/new-users-excel/)
-   -   how do i set up a moving average in Excel (https://www.excelbanter.com/new-users-excel/115643-how-do-i-set-up-moving-average-excel.html)

p-nut

how do i set up a moving average in Excel
 
i am trying to set up a 7 day running average and cannot figure out how to do
it? Any help would be greatly appreciated.


Bernard Liengme

how do i set up a moving average in Excel
 
Hope I understand the Q
You have numbers in A1:A20 and will be adding more
In B7 enter =IF(ISNUMBER(A7),AVERAGE(A2:A7),"")
Copy down the column
This finds the average of the preceding seven numbers in A, provided there
is a value next to it
best wishes

--
Bernard V Liengme
www.stfx.ca/people/bliengme
remove caps from email

"p-nut" wrote in message
...
i am trying to set up a 7 day running average and cannot figure out how to
do
it? Any help would be greatly appreciated.





All times are GMT +1. The time now is 10:44 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com