#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Danny
 
Posts: n/a
Default average

I have a very longer list (column) of numbers for two years, by day. Each
day contains 12 numeric entries. I need to determine the daily average of
these numbers. While an average formula can simply be used, it has to be
re-entered for every 12 rows 730 times (365x2). Is there a more efficent way
to write the average formula and then copy? Basically the first 12 numbers
are averaged, then the next 12 down the column, then the next 12, etc.

Thanks in advance,

Danny
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Harlan Grove
 
Posts: n/a
Default average

Danny wrote...
I have a very longer list (column) of numbers for two years, by day. Each
day contains 12 numeric entries. I need to determine the daily average of
these numbers. While an average formula can simply be used, it has to be
re-entered for every 12 rows 730 times (365x2). Is there a more efficent way
to write the average formula and then copy? Basically the first 12 numbers
are averaged, then the next 12 down the column, then the next 12, etc.


If your data were in a range named Data, and the topmost average were
to appear in cell X99 with the subsequent averages below it, you could
try

X99:
=AVERAGE(INDEX(Data,12*ROWS(X$99:X99)-11):INDEX(Data,12*ROWS(X$99:X99)))

and fill X99 down into X100:X828.

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Danny
 
Posts: n/a
Default average

Harlan,

Thanks for the help. Unfortunatley I double posted (slightly different) do
to a power failure causing me to think the original post did not get out.

I tried Biff's suggestion of AVERAGE(OFFSET(A$1,(ROWS($1:1)-1)*12,,12)) and
it worked.

I will try your solution and get back.

Thanks


"Harlan Grove" wrote:

Danny wrote...
I have a very longer list (column) of numbers for two years, by day. Each
day contains 12 numeric entries. I need to determine the daily average of
these numbers. While an average formula can simply be used, it has to be
re-entered for every 12 rows 730 times (365x2). Is there a more efficent way
to write the average formula and then copy? Basically the first 12 numbers
are averaged, then the next 12 down the column, then the next 12, etc.


If your data were in a range named Data, and the topmost average were
to appear in cell X99 with the subsequent averages below it, you could
try

X99:
=AVERAGE(INDEX(Data,12*ROWS(X$99:X99)-11):INDEX(Data,12*ROWS(X$99:X99)))

and fill X99 down into X100:X828.


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
rolling average William Okumu Excel Worksheet Functions 5 May 25th 06 03:49 PM
in a pivot table, can the average include blank entries? Aaron Excel Discussion (Misc queries) 0 March 3rd 06 07:14 PM
plotted Average Micayla Bergen Charts and Charting in Excel 4 July 15th 05 12:13 PM
What is this kind of average called? havocdragon Excel Worksheet Functions 3 June 24th 05 05:10 PM
Average the Last Five Cells in a Column Warrior Princess Excel Worksheet Functions 3 March 16th 05 02:12 PM


All times are GMT +1. The time now is 07:15 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"