Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
jt42
 
Posts: n/a
Default excel question

How can I get the average of every six values (rows) in a column?
  #2   Report Post  
Ragdyer
 
Posts: n/a
Default

Do you mean:
1 to 6
2 to 7
3 to 8

Then just enter this formula and copy down as needed:

=AVERAGE(A1:A6)

OR, do you mean:
1 to 6
7 to 12
13 to 18

Then just enter this formula and copy down as needed:

=AVERAGE(INDEX(A:A,6*ROW(A1)-5):INDEX(A:A,6*ROW(A1)))

--
HTH,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------
"jt42" wrote in message
...
How can I get the average of every six values (rows) in a column?


  #3   Report Post  
jt42
 
Posts: n/a
Default

Yes, I meant the latter:
1 to 6, 7 to 12, 13 to 18, etc.
I thought that perhaps there is a formula using bin of 6, but what you
suggested works very well.
Many thanks, Joanna

"Ragdyer" wrote:

Do you mean:
1 to 6
2 to 7
3 to 8

Then just enter this formula and copy down as needed:

=AVERAGE(A1:A6)

OR, do you mean:
1 to 6
7 to 12
13 to 18

Then just enter this formula and copy down as needed:

=AVERAGE(INDEX(A:A,6*ROW(A1)-5):INDEX(A:A,6*ROW(A1)))

--
HTH,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------
"jt42" wrote in message
...
How can I get the average of every six values (rows) in a column?



  #4   Report Post  
Ragdyer
 
Posts: n/a
Default

Appreciate the feed-back.
--
Regards,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------
"jt42" wrote in message
...
Yes, I meant the latter:
1 to 6, 7 to 12, 13 to 18, etc.
I thought that perhaps there is a formula using bin of 6, but what you
suggested works very well.
Many thanks, Joanna

"Ragdyer" wrote:

Do you mean:
1 to 6
2 to 7
3 to 8

Then just enter this formula and copy down as needed:

=AVERAGE(A1:A6)

OR, do you mean:
1 to 6
7 to 12
13 to 18

Then just enter this formula and copy down as needed:

=AVERAGE(INDEX(A:A,6*ROW(A1)-5):INDEX(A:A,6*ROW(A1)))

--
HTH,

RD


--------------------------------------------------------------------------

-
Please keep all correspondence within the NewsGroup, so all may benefit

!

--------------------------------------------------------------------------

-
"jt42" wrote in message
...
How can I get the average of every six values (rows) in a column?




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
Excel files in separate program windows Jason Dove Excel Discussion (Misc queries) 27 October 24th 08 07:58 PM
Excel Question....Help !!!! matt guy Excel Discussion (Misc queries) 1 June 10th 05 08:55 PM
eXceL 2003 - list or combo box question David Gerstman Excel Discussion (Misc queries) 2 May 23rd 05 03:58 PM
Hints And Tips For New Posters In The Excel Newsgroups Gary Brown Excel Worksheet Functions 0 April 15th 05 05:47 PM
Statistical Excel Function Question within Excel 2000... Drew H Excel Worksheet Functions 3 October 31st 04 06:55 PM


All times are GMT +1. The time now is 09:07 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"