colum B=average of last 10 values in A

G

gunther

can I set up a column B that will give me the average of last 10 entries in
column A. Give formula.
 
B

Bob Phillips

=AVERAGE(OFFSET($A$1,COUNTA(A:A)-1,0,-10))

--

HTH

RP
(remove nothere from the email address if mailing direct)
 
L

Lorence

=AVERAGE(OFFSET($A$1,COUNTA(A:A)-1,0,-10))

I thought it was much simpler
Assuming A1-A10 is 1st ten in list in col A
Enter =AVERAGE(A1:A10) in B10, then drag down as far as req'd.
it will change to =AVERAGE(A2:A11) etc. as you go.

Lorence
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top