PC Review


Reply
Thread Tools Rate Thread

Data grouping and averaging in excel 2003

 
 
qcrob
Guest
Posts: n/a
 
      9th Mar 2008
I am looking into purchasing a data logger that will collect voltage,
amperage with a time scale.
Below is a sample of the data and a summary to be generated above the
data. I have some problems with how I can have a msexcel spreadsheet
automatically calculate averages and total times for each zone.
I would like a summary for many separate zones with a dozen or so
sessions that have recording to last from 10 to 100 seconds within
each session and automatically disregard calculating any values in
column C that are <30 & all rows in column B that have been
disregarded in column C.
Averaging for volts and amps will include all readings within each
zone.
To calculate time, I would like to calculate the difference between
when the amps go above 30 & the time when the amps drop below 30 + the
time one row down.

Formulas
In A2 =(A11-A9)+(A15-A13)+(A20-A15)
In B2 =AVERAGE(B9:B10,B13:B15,B18:B19)
In C2 =AVERAGE(C9:C10,C13:C15,C18:C19)
In A3 =(A24-A22)+(A29-A26)
In B3 =AVERAGE(B22:B23,B26:B28)
In C3 =AVERAGE(C22:C23,C26:C28)

A B C D
1 total time avg volts avg amps total zone
2 00:00:54 25.3 122 b
3 00:00:30 25.0 125 f
4
5
6
7
8 time volts amps zone
9 13:30:12 24.9 131 b
10 13:30:18 25.3 124 b
11 13:30:24 39.4 12 b
12 13:30:30 38.4 9 b
13 13:30:36 26.3 130 b
14 13:30:42 24.9 114 b
15 13:30:48 25.3 125 b
16 13:30:54 39.4 2 b
17 13:31:00 38.4 8 b
18 13:31:06 25.2 111 b
19 13:31:12 25.1 117 b
20 13:31:18 39.4 3 b
21 13:31:24 38.4 13 b
22 13:31:30 25.1 125 f
23 13:31:36 25 131 f
24 13:31:42 38.4 7 f
25 13:31:48 37.6 11 f
26 13:31:54 25 124 f
27 13:32:00 24.9 130 f
28 13:32:06 24.8 114 f
29 13:32:12 37.6 11 f

Can anyone help me with this? And an I on the right track?
Can this be accomplished without VBA? (as I have no success with it in
the past)
Thank you for your consideration.
 
Reply With Quote
 
 
 
 
Max
Guest
Posts: n/a
 
      10th Mar 2008
This will give you the conditional averages for the volts and amps that
you're after

Suppose you list the zones in E2 down, eg: b, f
Put this in F2's formula bar, array-enter it
by pressing CTRL+SHIFT+ENTER to confirm the formula:
=AVERAGE(IF(($D$9:$D$29=$E2)*($C$9:$C$29>=30),B$9:B$29))
Copy F2 to G2, fill down. Adapt the ranges to suit.
Col F returns the required av for volts, col G returns the av for amps

--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"qcrob" <(E-Mail Removed)> wrote in message
news:13c03a0d-57bb-4466-b96f-(E-Mail Removed)...
>I am looking into purchasing a data logger that will collect voltage,
> amperage with a time scale.
> Below is a sample of the data and a summary to be generated above the
> data. I have some problems with how I can have a msexcel spreadsheet
> automatically calculate averages and total times for each zone.
> I would like a summary for many separate zones with a dozen or so
> sessions that have recording to last from 10 to 100 seconds within
> each session and automatically disregard calculating any values in
> column C that are <30 & all rows in column B that have been
> disregarded in column C.
> Averaging for volts and amps will include all readings within each
> zone.
> To calculate time, I would like to calculate the difference between
> when the amps go above 30 & the time when the amps drop below 30 + the
> time one row down.
>
> Formulas
> In A2 =(A11-A9)+(A15-A13)+(A20-A15)
> In B2 =AVERAGE(B9:B10,B13:B15,B18:B19)
> In C2 =AVERAGE(C9:C10,C13:C15,C18:C19)
> In A3 =(A24-A22)+(A29-A26)
> In B3 =AVERAGE(B22:B23,B26:B28)
> In C3 =AVERAGE(C22:C23,C26:C28)
>
> A B C D
> 1 total time avg volts avg amps total zone
> 2 00:00:54 25.3 122 b
> 3 00:00:30 25.0 125 f
> 4
> 5
> 6
> 7
> 8 time volts amps zone
> 9 13:30:12 24.9 131 b
> 10 13:30:18 25.3 124 b
> 11 13:30:24 39.4 12 b
> 12 13:30:30 38.4 9 b
> 13 13:30:36 26.3 130 b
> 14 13:30:42 24.9 114 b
> 15 13:30:48 25.3 125 b
> 16 13:30:54 39.4 2 b
> 17 13:31:00 38.4 8 b
> 18 13:31:06 25.2 111 b
> 19 13:31:12 25.1 117 b
> 20 13:31:18 39.4 3 b
> 21 13:31:24 38.4 13 b
> 22 13:31:30 25.1 125 f
> 23 13:31:36 25 131 f
> 24 13:31:42 38.4 7 f
> 25 13:31:48 37.6 11 f
> 26 13:31:54 25 124 f
> 27 13:32:00 24.9 130 f
> 28 13:32:06 24.8 114 f
> 29 13:32:12 37.6 11 f
>
> Can anyone help me with this? And an I on the right track?
> Can this be accomplished without VBA? (as I have no success with it in
> the past)
> Thank you for your consideration.



 
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
Data grouping and averaging questions in excel 2003 qcrob Microsoft Excel Discussion 0 9th Mar 2008 07:12 PM
Grouping data with Pivot Tables Excel 2003 =?Utf-8?B?TGVlZmlzaGVy?= Microsoft Excel Misc 1 17th Sep 2007 07:44 PM
Grouping and averaging in a query =?Utf-8?B?S2V2aW4gRw==?= Microsoft Access Queries 2 22nd May 2006 10:17 PM
Grouping data in Excel =?Utf-8?B?SGFubmFoIFA=?= Microsoft Excel Charting 0 27th Mar 2006 05:39 PM
Grouping Data in Excel =?Utf-8?B?RnJhbiBC?= Microsoft Excel Misc 1 26th Feb 2006 07:22 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:31 AM.