Daily Statistics from a List

Loofa

New Member
Joined
Jun 2, 2014
Messages
2
Hello-

Newbie here. I am generating data from a small water supply meter every minute and want to get statistics from the data. There are 1440 lines every day and I would like to get a summary report for a month.

Ideally I would like Daily statistics. Like Min, Max and Average for each day. perhaps even Total flow for a day (this is a SUM for that day of the flow readings). What functions should I be looking at to generate this. Any assistance would be great.


Time StampFlow GPMpHTemperature
6/1/2014 0:0087.674.1
6/1/2014 0:0177.674.1
6/1/2014 0:0297.674.1
6/1/2014 0:0387.674.1
6/1/2014 0:0467.674.1
6/1/2014 0:0547.674.1
6/1/2014 0:0697.674.1
6/1/2014 0:0747.674.1
6/1/2014 0:0897.674.1
6/1/2014 0:0997.674.1
6/1/2014 0:1067.674.1
6/1/2014 0:1157.674.1

<tbody>
</tbody>
 

Excel Facts

Shade all formula cells
To shade all formula cells: Home, Find & Select, Formulas to select all formulas. Then apply a light fill color.
Hi Loofa,

This sounds like a great project to use a pivot table on:
- Place all of your data on a single sheet (Only keep the column headers once at the top) - should have enough rows for 1 month's data.
- Highlight the data set (something like A1:C60000 - Don't highlight beyond the data you have, no blank rows).
- At the top, click Insert > Pivot Table (Your range should auto-populate with what you've already selected) > New worksheet > OK. You should see the pivot table field list appear on the side of your screen.
- Add (Click and drag) "TimeStamp" to the Rows section. You should see all of the entries show up in the table on your worksheet.
- Now, right-click on one of those date/time stamps and click "Group...". A "Grouping" box should appear.
- Next, select "Days" only in the "By" section and click "OK". This should now only show the dates of the days in your table. This also groups the data for the next steps.
- Now, Click on your table to see the Pivot Table Fields list appear on the side of your screen again. Add "Flow", "pH", "Temp" to the "Values" section. This should, by default, add a "sum of" column to your tables.
- From here, go back to the "Values" Section. Click on the menu triangle to the right of "Sum of Flow" and click Value Field Settings. Here is where you can choose Sum/Min/Max/Avg for the data.

Simply drag the "Flow" field down again to the "Values" section again to create a new column with the same data, but now you can select a different measurement type (Sum/Min/Max/Avg).

Hope this makes sense.
 
Upvote 0
May be example below will give you a start.

Note the formulas are array formulas and must be entered with
Excel Workbook
ABCDEFGHIJKLMNOPQ
1Time StampFlow GPMpHTemperatureSummaryMinMaxAvergeTotal
26/1/2014 0:0087.674.1DateFlow GPMpHTemperatureFlow GPMpHTemperatureFlow GPMpHTemperatureFlow
36/1/2014 0:0177.674.16/1/201447.674.197.674.177.674.184
46/1/2014 0:0297.674.16/2/201447.574.187.7756.67.5874.3833
56/1/2014 0:0387.674.1
66/1/2014 0:0467.674.1MinMaxAvergeTotal
76/1/2014 0:0547.674.1MonthFlow GPMpHTemperatureFlow GPMpHTemperatureFlow GPMpHTemperatureFlow
86/1/2014 0:0697.674.1647.574.197.7756.887.5974.18117
96/1/2014 0:0747.674.1
106/1/2014 0:0897.674.1
116/1/2014 0:0997.674.1
126/1/2014 0:1067.674.1
136/1/2014 0:1157.674.1
146/2/2014 0:0067.674.5
156/2/2014 0:0147.574.1
166/2/2014 0:0277.574.1
176/2/2014 0:0387.774.2
186/2/2014 0:0487.675
19
CTRL-SHIFT-ENTER.
 
Upvote 0
AhoyNC and Sheltonite-

Thank you very much. I have tried your suggestions and it looks like this will work.
 
Upvote 0

Forum statistics

Threads
1,214,990
Messages
6,122,626
Members
449,093
Latest member
catterz66

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top