Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 48
Default average sum of 5rows

Hi All

I have a column of 1020 rows with numbers , I need to average the sum
of every 5 rows down to 1020 rows eg-
a d
1 52
2 60
3 64
4 40
5 71 57.6
6 203
7 150
8 11
9 25
10 93 96.4

Can any one help me please
Thanks in advance
--
bill gras
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default average sum of 5rows

One way...

Assume data starts in cell A2. Enter this formula in B2 and copy down:

=IF(MOD(ROWS(B$2:B2),5),"",AVERAGE(OFFSET(A2,,,-5)))

--
Biff
Microsoft Excel MVP


"bill gras" wrote in message
...
Hi All

I have a column of 1020 rows with numbers , I need to average the sum
of every 5 rows down to 1020 rows eg-
a d
1 52
2 60
3 64
4 40
5 71 57.6
6 203
7 150
8 11
9 25
10 93 96.4

Can any one help me please
Thanks in advance
--
bill gras



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,520
Default average sum of 5rows

In D5 enter the below formula and copy down as required
=IF(MOD(ROW(),5),"",AVERAGE(A1:A5))

If this post helps click Yes
---------------
Jacob Skaria


"bill gras" wrote:

Hi All

I have a column of 1020 rows with numbers , I need to average the sum
of every 5 rows down to 1020 rows eg-
a d
1 52
2 60
3 64
4 40
5 71 57.6
6 203
7 150
8 11
9 25
10 93 96.4

Can any one help me please
Thanks in advance
--
bill gras

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,718
Default average sum of 5rows

In D1: =IF(MOD(ROW(),5)=0,AVERAGE(OFFSET(A1,,,-5,)),"")

copy down as far as needed


"bill gras" wrote:

Hi All

I have a column of 1020 rows with numbers , I need to average the sum
of every 5 rows down to 1020 rows eg-
a d
1 52
2 60
3 64
4 40
5 71 57.6
6 203
7 150
8 11
9 25
10 93 96.4

Can any one help me please
Thanks in advance
--
bill gras

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
A formula to AVERAGE IF but only average a set number of values [email protected] Excel Worksheet Functions 2 January 31st 08 08:28 PM
Find monthly average but have average automatically configured kimbafred Excel Discussion (Misc queries) 2 August 8th 07 12:28 AM
Error Handling #N/A with AVERAGE Function - Average of values in Row Sam via OfficeKB.com Excel Worksheet Functions 13 July 31st 05 03:59 PM
Weighed Average of a weiged average when there are blanks krl - ExcelForums.com Excel Discussion (Misc queries) 1 July 6th 05 07:37 PM
how does one convert text to a formula "average(A:A)" to =average( phshirk Excel Worksheet Functions 4 April 14th 05 01:20 AM


All times are GMT +1. The time now is 06:14 AM.

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"