View Single Post
  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Omkar
 
Posts: n/a
Default How to find avg for step size?

Thank you Max.

I did as you said, but I am getting different answers. (I compared values
which I found from separating each data series of 7 points and finding their
avgs.)
Can you explain what is significance of each term. I know some. But you
have written nothing for Rows,Columns,Height for Offset function.
Also what is *7-6 signifies in reference?

Please try to help me.
Thank you for your help.


"Max" wrote:

Corrections, sorry:

Put in any starting cell, say in B2:
=AVERAGE(OFFSET(INDIRECT("A"&ROW(A1)*7-6),,,6))


The formula in B2 should be:
=AVERAGE(OFFSET(INDIRECT("A"&ROW(A1)*7-6),,,7))

and lines
B2 returns: =AVERAGE(A1:A6)
B3 returns: =AVERAGE(A7:A14)
and so on ..


should read as:
B2 returns: =AVERAGE(A1:A7)
B3 returns: =AVERAGE(A8:A14)
and so on ..

--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---