A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » General Discussion
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

need to jump cells in column data when finding average, max and mi



 
 
Thread Tools Display Modes
  #1  
Old November 17th, 2009, 06:00 AM posted to microsoft.public.excel.misc
Andrew
external usenet poster
 
Posts: 688
Default need to jump cells in column data when finding average, max and mi

I have a continuous column of data and there is data in every cell, but I
want to find the average, max or min for every 96th block of data. For
example, I have readings every 15 minutes for an entire day, but I want to
find the max, min and avg. for each day without having to retype the max, min
formula every time. I want to put the data in another column so I can make
graphs...
  #2  
Old November 17th, 2009, 10:22 AM posted to microsoft.public.excel.misc
Pete_UK
external usenet poster
 
Posts: 8,780
Default need to jump cells in column data when finding average, max andmi

Suppose your data is in column A, beginning in A1, then you could have
this for your minimum in, say, C1:

=MIN(INDIRECT("A"&(ROW(A1)-1)*96+1&":A"&ROW(A1)*96))

and this for the maximum in D1:

=MAX(INDIRECT("A"&(ROW(A1)-1)*96+1&":A"&ROW(A1)*96))

and this in E1 for the average:

=AVERAGE(INDIRECT("A"&(ROW(A1)-1)*96+1&":A"&ROW(A1)*96))

Then as you copy these down they will each look at the next block of
96 rows in turn.

Hope this helps.

Pete


On Nov 17, 6:00*am, Andrew wrote:
I have a continuous column of data and there is data in every cell, but I
want to find the average, max or min for every 96th block of data. *For
example, I have readings every 15 minutes for an entire day, but I want to
find the max, min and avg. for each day without having to retype the max, min
formula every time. *I want to put the data in another column so I can make
graphs...


 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 02:48 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.