Arrange data from a 24hr cycle to by day rather than by hour

edwardzbrown

New Member
Joined
Jun 12, 2017
Messages
20
Hello,

My power company exports my energy use by hour. I want to arrange years worth of data by day with all the hours of a day to the right of that day's row. That way I can compare energy use by hour and even by day of the week. What would be the best way to go about organizing this?


This is what I want:
Weekday Date12:00 AM1:00 AM2:00 AM3:00 AM4:00 AM5:00 AM6:00 AM7:00 AM
Friday1/5/20180.871.180.910.670.711.070.624.81
Saturday1/6/20180.690.641.020.90.560.61.290.99

<colgroup><col><col><col span="8"></colgroup><tbody>
</tbody>

This is what I have:
1/6/201811:000.61
1/6/201812:001.5
1/6/201813:003.94
1/6/201814:006.48
1/6/201815:005.11
1/6/201816:005.21
1/6/201817:003.06
1/6/201818:007.26
1/6/201819:002.48
1/6/201820:001.3
1/6/201821:000.94
1/6/201822:001.2
1/6/201823:000.88
1/7/20180:000.65
1/7/20181:001.93
1/7/20182:005.01
1/7/20183:000.82
1/7/20184:000.75
1/7/20185:000.73
1/7/20186:001.13
1/7/20187:000.65

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

Excel Facts

Remove leading & trailing spaces
Save as CSV to remove all leading and trailing spaces. It is faster than using TRIM().
Ohh, I found a way that works. I used a data Filter. I filtered by each hour of the day, copy and paste it over into my spread sheet. I just needed to do this 24 times to import my entire data set. Not too terrible.
 
Upvote 0

Forum statistics

Threads
1,214,653
Messages
6,120,750
Members
448,989
Latest member
mariah3

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