View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
T. Valko T. Valko is offline
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