Dear all,
I'm facing one difficulty where I ask for your help.
I have a huge amount of hourly data from 2012 to 2018. Each hour I have one data value. What I would like to have is a VBA code that could transform that hourly data to data each 6 to 6 hours. To do that the code should do a mean of all the 6hours and then give that number.
For example I have data of 01-01-2012 from 00:00 to 23:00. The code should write 06:00 doing a mean of 00:00 to 05:00, then write 12:00 doing a mean of 06:00 to 11:00 and so on.
I attach one example of a sample of the data that I have (Columns A and B) and an expected result of the code (Columns D and E)
Thanks to anyone who tries to help
Best Regards
Bookmarks