Rolling average, variable number of cells

bedalhome

New Member
Joined
Nov 18, 2002
Messages
11
I want to report rolling average in ColD, but I want to change the number of points used. Also, I do not always have temperature readings so I want the number of points used to be the last N temps taken.


Date,Temp,RollAveCount,Roll Average
5/29/09 185.2 1 185.2
6/1/09 185.0 2 185.1
6/3/09 185.0 3 185.1
6/6/09 185.2 3 185.1
6/9/09 3 185.1
6/12/09 185.0 3 185.1
6/15/09 185.8 4 185.3
6/18/09 4 185.3
6/20/09 185.6 4 185.4
6/25/09 4 185.4
6/29/09 184.4 3 185.3
 
Last edited:

Excel Facts

Format cells as time
Select range and press Ctrl+Shift+2 to format cells as time. (Shift 2 is the @ sign).
not very clear:confused:

what is the N here? is it the number in column C?

could you post some sample data with expected results as a table with borders ? ( if you are using IE you can simply copy paste a range with all borders from excel to the board, otherwise try with excel jeanie (see my signature))
 
Upvote 0
I want to report rolling average in ColD, but I want to change the number of points used. Also, I do not always have temperature readings so I want the number of points used to be the last N temps taken.


Excel Workbook
ABCD
3DateTempRollAveCountRoll Average
45/29/09185.21185.2
56/1/09185.02185.1
66/3/09185.03185.1
76/6/09185.23185.1
86/9/09*3185.1
96/12/09185.03185.1
106/15/09185.84185.3
116/18/09*4185.3
126/20/09185.64185.4
136/25/09*4185.4
146/29/09184.43185.3
Sheet1
 
Last edited:
Upvote 0
try this
Excel Workbook
ABCD
1DateTempRollAveCountRollAverage
229/05/2009185.21185.2
301/06/20091852185.1
403/06/20091853185.06667
506/06/2009185.23185.06667
609/06/20093185.06667
712/06/20091853185.06667
815/06/2009185.84185.25
918/06/20094185.25
1020/06/2009185.64185.4
1125/06/20094185.4
1229/06/2009184.43185.26667
Sheet8
#VALUE!
 
Upvote 0

Forum statistics

Threads
1,214,965
Messages
6,122,496
Members
449,089
Latest member
Raviguru

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