Rolling Up Daily Values in a Large Spreadsheet

damon_l

New Member
Joined
Jul 13, 2017
Messages
25
Good Day,

I have a large spreadsheet with more than 76,000 rows.

In this spreadsheet I have 3 columns, namely Date, Time and kWh.
The kWh column gives half hourly electricity consumption values based on the Date and Time interval.

I need to roll up the date and time columns into a 24 hour period so I can get daily electricity consumption figures. What I would like is have a new column with the date such as 2018/06/01 and a 2nd corresponding column giving the corresponding total kWh for that day based on the half hourly data points in the original kWh column.

My question is what formula do I need to roll up the dates into a 24 hour period and total the kWh for that period?

Thanks
Regards
 
This is what I get now..

DateTimeHourly kWh ConsDaily kWh
2014/07/0100:30:0033.310
2014/07/0101:00:0031.8080
2014/07/0101:30:0032.8380
2014/07/0102:00:0033.3830
2014/07/0102:30:0032.8310
2014/07/0103:00:0033.6040
2014/07/0103:30:0033.2340
2014/07/0104:00:0033.0720
2014/07/0104:30:0033.50
2014/07/0105:00:0033.0430
2014/07/0105:30:0055.8450
2014/07/0106:00:0093.6720
2014/07/0106:30:0091.5680
2014/07/0107:00:0088.7410
2014/07/0107:30:0096.860
2014/07/0108:00:00100.5420
2014/07/0108:30:00106.3130
2014/07/0109:00:00110.680
2014/07/0109:30:00109.340
2014/07/0110:00:00106.1270
2014/07/0110:30:00102.9990
2014/07/0111:00:0098.7010
2014/07/0111:30:0099.9390
2014/07/0112:00:0099.1790

<colgroup><col><col><col span="2"></colgroup><tbody>
</tbody>
 
Upvote 0

Excel Facts

Show numbers in thousands?
Use a custom number format of #,##0,K. Each comma after the final 0 will divide the displayed number by another thousand
the date in the first col . . is it date/time or string?
what result gives "=A2"? (general format)
[should be 41821]

NB have you tried a PivotTable?
 
Last edited:
Upvote 0
Date String

How do I configure pivot table to sum up the half hourly figures in according to the dates for a daily total?
 
Upvote 0
what is the formula in the dayly kWh-col?

pivot:
dates in the rows field
sum of kWh Cons in the values field
 
Upvote 0

Forum statistics

Threads
1,221,418
Messages
6,159,790
Members
451,589
Latest member
Harold14

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