Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
mj mj is offline
external usenet poster
 
Posts: 78
Default averaging lines of data at every ten lines

I have spreadsheet with 1000 lines of data, time intervals every minute. I
want to average every ten minutes. Is there a realtively simple way to do
this?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default averaging lines of data at every ten lines

Try this...

Assuming your data starts in A2.

Enter this formula in C2 and copy down as needed:

=AVERAGE(OFFSET(A$2,(ROWS(C$2:C2)-1)*10,,10))

This is what you'll end up with:

C2 = average of A2:A11
C3 = average of A12:A21
C4 = average of A22:A31
C5 = average of A32:A41
etc
etc

--
Biff
Microsoft Excel MVP


"MJ" wrote in message
...
I have spreadsheet with 1000 lines of data, time intervals every minute. I
want to average every ten minutes. Is there a realtively simple way to do
this?



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 57
Default averaging lines of data at every ten lines

On Dec 28, 4:52*pm, MJ wrote:
I have spreadsheet with 1000 lines of data, time intervals every minute. *I
want to average every ten minutes. *Is there a realtively simple way to do
this?


Assuming your data to average is in A1:A1000 then you can average
every 10 cells with this formula in C1 copied down

=AVERAGE(OFFSET(A$1,ROWS(C$1:C1)*10-10,0,10))
  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 857
Default averaging lines of data at every ten lines

Hi,

Suppose your data is in A1:A1000 and you want an average on rows 10,20,...

1. In cell B10 enter the formula =AVERAGE(A1:A10)
2. Select cells B1:B10 and then drag the fill handle down as far as
necessary.

If this helps, please click the Yes button.

Cheers,
Shane Devenshire

"MJ" wrote in message
...
I have spreadsheet with 1000 lines of data, time intervals every minute.
I
want to average every ten minutes. Is there a realtively simple way to do
this?


  #5   Report Post  
Posted to microsoft.public.excel.misc
mj mj is offline
external usenet poster
 
Posts: 78
Default Additional data

I guess I did not give enough data. The spreadsheet is 1000 lines with 15
columns. I want to average each column at each ten rows of data. So I would
have an average number in each of the fifteen columns after each ten rows.

Thank you.


  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default Additional data

I can't think of an elegant way to do this.

--
Biff
Microsoft Excel MVP


"MJ" wrote in message
...
I guess I did not give enough data. The spreadsheet is 1000 lines with 15
columns. I want to average each column at each ten rows of data. So I
would
have an average number in each of the fifteen columns after each ten rows.

Thank you.



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
24 lines between data SaraJane via OfficeKB.com Excel Discussion (Misc queries) 10 June 19th 07 08:22 PM
24 lines between data SaraJane via OfficeKB.com Excel Discussion (Misc queries) 0 June 18th 07 07:05 PM
Inserting Lines or Copying lines with formulas but without data wnfisba Excel Discussion (Misc queries) 2 August 18th 06 04:41 PM
Vertical Lines on the Lines on 2 Axes Chart [email protected] Charts and Charting in Excel 3 March 3rd 06 04:14 AM
Deleting unused lines between used lines? Stevel Setting up and Configuration of Excel 1 November 25th 05 12:58 AM


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