PC Review


Reply
Thread Tools Rate Thread

Average a dynamic Range

 
 
Richard
Guest
Posts: n/a
 
      13th Apr 2010
HI,
My data is as follows:
CW001P01-SH-C:

Time Duration Partition Utilization %
20/03/2010 23:56 900 86.3521441
21/03/2010 00:11 901 86.35425916
21/03/2010 00:26 899 86.35738494
21/03/2010 00:41 902 86.3596435
21/03/2010 00:56 901 86.36061494
21/03/2010 01:11 901 86.33145463
21/03/2010 01:26 912 86.33382161
and then again
CW001P03-SH-C:

Time Duration Partition Utilization %
20/03/2010 23:56 900 80.56180556
21/03/2010 00:11 901 80.57303517
21/03/2010 00:26 898 80.59451559
21/03/2010 00:41 903 80.59689922
21/03/2010 00:56 901 80.59860572
and so on down to 90000 rows. I need to average each of the sections of
data based on the CW number. The number of rows for each CW number is
dynamic. I had the code to do this but I crashed by PC and lost the info. Can
someone please help.Thanks, Richard
 
Reply With Quote
 
 
 
 
Bob Phillips
Guest
Posts: n/a
 
      13th Apr 2010
Try this array formula

=IF(C1="",AVERAGE(C2:INDEX(C:C,MIN(IF(C2:$C$10000="",ROW(C2:$C$10000)-1)))),"")

--

HTH

Bob

"Richard" <(E-Mail Removed)> wrote in message
news:4A2DBB6D-A61F-4126-9D53-(E-Mail Removed)...
> HI,
> My data is as follows:
> CW001P01-SH-C:
>
> Time Duration Partition Utilization %
> 20/03/2010 23:56 900 86.3521441
> 21/03/2010 00:11 901 86.35425916
> 21/03/2010 00:26 899 86.35738494
> 21/03/2010 00:41 902 86.3596435
> 21/03/2010 00:56 901 86.36061494
> 21/03/2010 01:11 901 86.33145463
> 21/03/2010 01:26 912 86.33382161
> and then again
> CW001P03-SH-C:
>
> Time Duration Partition Utilization %
> 20/03/2010 23:56 900 80.56180556
> 21/03/2010 00:11 901 80.57303517
> 21/03/2010 00:26 898 80.59451559
> 21/03/2010 00:41 903 80.59689922
> 21/03/2010 00:56 901 80.59860572
> and so on down to 90000 rows. I need to average each of the sections of
> data based on the CW number. The number of rows for each CW number is
> dynamic. I had the code to do this but I crashed by PC and lost the info.
> Can
> someone please help.Thanks, Richard



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to average data with a dynamic range Sharon Microsoft Excel Misc 2 14th Aug 2008 05:16 PM
dynamic range based on criteria, within a dynamic range, passed to a function rajansood@hotmail.com Microsoft Excel Programming 5 9th Oct 2007 10:13 PM
creating a dynamic range based on criteria, within a dynamic range, and passing it to a function rajansood@hotmail.com Microsoft Excel Programming 0 9th Oct 2007 05:22 PM
Dynamic Range with unused formula messing up x axis on dynamic graph cabybake@yahoo.com Microsoft Excel Charting 2 2nd Feb 2006 08:02 PM
Dynamic Range with unused formula messing up x axis on dynamic graph cabybake Microsoft Excel Discussion 6 25th Jan 2006 06:40 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:21 AM.