I think the OP wants a moving average. This is very simple. In column
A, you have your data points. Let's say you want a moving average of
the last 10 data points. Then in cell B10, enter "=AVERAGE(A1:A10)".
Fill B10 all the way down. Each cell will be incremented automatically.