Reshape one hour wide data to 15 min long data

turbalejo

New Member
Joined
Dec 8, 2008
Messages
19
Hi Excelers!,
I am trying to convert data for 30 sites quickly and need a way to reshape my one-hour wide data in kwH to 15 long data?
each sheet is one year/365 days.
Thank you.
Tony
 

Attachments

  • Capture 15 min long.PNG
    Capture 15 min long.PNG
    20.6 KB · Views: 10
  • Capture raw one hour wide.PNG
    Capture raw one hour wide.PNG
    19 KB · Views: 11

Excel Facts

VLOOKUP to Left?
Use =VLOOKUP(A2,CHOOSE({1,2},$Z$1:$Z$99,$Y$1:$Y$99),2,False) to lookup Y values to left of Z values.
Hi Turbalejo,

I'm not sure I've correctly interpreted your requirement but I think you want rows of 15 minute data totaled by hour in a columnar style.

I don't know what HE1, HE2 are so I've replaced with hourly heading times for 24 hours (so column M actually is copied through column AC).

Turbalejo.xlsx
ABCDEFGHIJKLM
1DateTimekWDate0:001:002:003:004:005:006:007:00
21/1/20210:151001/1/2021364868.56652.6800000
31/1/20210:301201/2/202100000000
41/1/20210:451441/3/202112820000000
51/1/20211:00172.81/4/20210000002220
61/1/20211:15207.361/5/202100000000
71/1/20211:302221/6/20210003330000
81/1/20211:45266.41/7/202100000000
91/1/20212:00319.681/8/202100000000
101/1/20212:153331/9/202100000000
111/3/20210:003801/10/202100000000
121/3/20210:154021/11/202100000000
131/3/20210:305001/12/202100000000
141/4/20216:122221/13/202100000000
151/6/20213:593331/14/202100000000
Sheet1
Cell Formulas
RangeFormula
G1:M1G1=F1+TIME(1,0,0)
F2:M15F2=SUMIFS($C$2:$C$99999,$A$2:$A$99999,$E2,$B$2:$B$99999,">="&F$1,$B$2:$B$99999,"<"&F$1+TIME(1,0,0))
E3:E15E3=E2+1
 
Upvote 0

Forum statistics

Threads
1,214,649
Messages
6,120,728
Members
448,987
Latest member
marion_davis

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