ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Average (https://www.excelbanter.com/excel-worksheet-functions/85503-average.html)

Danny

Average
 
I have a column of numbers for which i need to average every 12 rows(i.e
average rows 1-12, 13-24, 25-36, etc). It is two years worth of data (730
days) with 12 entries per day. I need the average daily readings for each
day.

Is there a simple and efficient method to copy and paste the same formula
for all 730 days. I know I can use the average function for each range, but
that is a lot of typing!

Thanks in advance!

Danny

Harlan Grove

Average
 
Danny wrote...
I have a column of numbers for which i need to average every 12 rows(i.e
average rows 1-12, 13-24, 25-36, etc). It is two years worth of data (730
days) with 12 entries per day. I need the average daily readings for each
day.

Is there a simple and efficient method to copy and paste the same formula
for all 730 days. I know I can use the average function for each range, but
that is a lot of typing!


Check the responses to your previous, nearly identical posting before
you respond or (Gawd Ferbid!) start another thread.


Biff

Average
 
Hi!

One way:

Assume data is in column A, A1:An.

Enter this formula in B1:

=AVERAGE(OFFSET(A$1,(ROWS($1:1)-1)*12,,12))

Copy down as needed.

The results will be like this:

B1 = AVERAGE(A1:A12)
B2 = AVERAGE(A13:A24)
B3 = AVERAGE(A25:A36)
B4 = AVERAGE(A37:A48)
etc

Biff

"Danny" wrote in message
...
I have a column of numbers for which i need to average every 12 rows(i.e
average rows 1-12, 13-24, 25-36, etc). It is two years worth of data (730
days) with 12 entries per day. I need the average daily readings for each
day.

Is there a simple and efficient method to copy and paste the same formula
for all 730 days. I know I can use the average function for each range,
but
that is a lot of typing!

Thanks in advance!

Danny




Danny

Average
 
Yes, sorry about the multiple positng. I was travelling and in the middle of
a major thunder storm. Right when I hit the send button we lost power.
After checking & recehcing, I could nto find my original post, so i had to
recreate.

"Harlan Grove" wrote:

Danny wrote...
I have a column of numbers for which i need to average every 12 rows(i.e
average rows 1-12, 13-24, 25-36, etc). It is two years worth of data (730
days) with 12 entries per day. I need the average daily readings for each
day.

Is there a simple and efficient method to copy and paste the same formula
for all 730 days. I know I can use the average function for each range, but
that is a lot of typing!


Check the responses to your previous, nearly identical posting before
you respond or (Gawd Ferbid!) start another thread.



Danny

Average
 
Biff,

Thanks! It solved my problem and I am on my way!

"Biff" wrote:

Hi!

One way:

Assume data is in column A, A1:An.

Enter this formula in B1:

=AVERAGE(OFFSET(A$1,(ROWS($1:1)-1)*12,,12))

Copy down as needed.

The results will be like this:

B1 = AVERAGE(A1:A12)
B2 = AVERAGE(A13:A24)
B3 = AVERAGE(A25:A36)
B4 = AVERAGE(A37:A48)
etc

Biff

"Danny" wrote in message
...
I have a column of numbers for which i need to average every 12 rows(i.e
average rows 1-12, 13-24, 25-36, etc). It is two years worth of data (730
days) with 12 entries per day. I need the average daily readings for each
day.

Is there a simple and efficient method to copy and paste the same formula
for all 730 days. I know I can use the average function for each range,
but
that is a lot of typing!

Thanks in advance!

Danny





Biff

Average
 
You're welcome. Thanks for the feedback!

Biff

"Danny" wrote in message
...
Biff,

Thanks! It solved my problem and I am on my way!

"Biff" wrote:

Hi!

One way:

Assume data is in column A, A1:An.

Enter this formula in B1:

=AVERAGE(OFFSET(A$1,(ROWS($1:1)-1)*12,,12))

Copy down as needed.

The results will be like this:

B1 = AVERAGE(A1:A12)
B2 = AVERAGE(A13:A24)
B3 = AVERAGE(A25:A36)
B4 = AVERAGE(A37:A48)
etc

Biff

"Danny" wrote in message
...
I have a column of numbers for which i need to average every 12 rows(i.e
average rows 1-12, 13-24, 25-36, etc). It is two years worth of data
(730
days) with 12 entries per day. I need the average daily readings for
each
day.

Is there a simple and efficient method to copy and paste the same
formula
for all 730 days. I know I can use the average function for each
range,
but
that is a lot of typing!

Thanks in advance!

Danny








All times are GMT +1. The time now is 05:56 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com