Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default non-progressive formula copying

Hello!
I am trying to peform a time series data analysis in excel. This is the
problem that I'm having.
I have a continuous time series data in Column A of a workseet (about 10,000
values). In column B I am trying to calculate the average of 7
non-overlapping cells and repeat this process for the entire time series.
For instance, cell B1 should contain the following formula: =AVERAGE(A1:A7),
cell B2 should be =AVERAGE(A8:A14), cell B3 should be =AVERAGE(A15:21) and so
on. This there an easy way of achieving this in excel without going into
macro writing and all that stuff?
Thanks,
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default non-progressive formula copying

One way ..

In B1:
=AVERAGE(OFFSET(INDIRECT("A"&ROWS($1:1)*7-6),,,7))
Copy B1 down as far as required, eg to B1430 thereabouts, if you have ~10k
rows of source data in col A.
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"jgraulau" wrote:
Hello!
I am trying to peform a time series data analysis in excel. This is the
problem that I'm having.
I have a continuous time series data in Column A of a workseet (about 10,000
values). In column B I am trying to calculate the average of 7
non-overlapping cells and repeat this process for the entire time series.
For instance, cell B1 should contain the following formula: =AVERAGE(A1:A7),
cell B2 should be =AVERAGE(A8:A14), cell B3 should be =AVERAGE(A15:21) and so
on. This there an easy way of achieving this in excel without going into
macro writing and all that stuff?
Thanks,

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,651
Default non-progressive formula copying

=AVERAGE(OFFSET(A$1,7*(ROW()-1),0,7))
--
David Biddulph

"jgraulau" wrote in message
...
Hello!
I am trying to peform a time series data analysis in excel. This is the
problem that I'm having.
I have a continuous time series data in Column A of a workseet (about
10,000
values). In column B I am trying to calculate the average of 7
non-overlapping cells and repeat this process for the entire time series.
For instance, cell B1 should contain the following formula:
=AVERAGE(A1:A7),
cell B2 should be =AVERAGE(A8:A14), cell B3 should be =AVERAGE(A15:21) and
so
on. This there an easy way of achieving this in excel without going into
macro writing and all that stuff?
Thanks,



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
copying the Hyperlink function result without copying the actual formula mcheng Excel Worksheet Functions 2 June 9th 07 02:43 AM
Progressive Calculation nospaminlich Excel Worksheet Functions 5 November 1st 05 09:03 AM
Progressive Addition Formula Robert Moore Excel Worksheet Functions 2 July 17th 05 03:52 AM
progressive select Mike Excel Worksheet Functions 1 June 8th 05 02:08 AM
Progressive summing Maarten Excel Worksheet Functions 5 April 27th 05 10:25 AM


All times are GMT +1. The time now is 04:59 AM.

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

About Us

"It's about Microsoft Excel"