Hello.
I have a large number of data for 1h measurements across 18 years in which I would like to calculate the hour average in each season. I am looking for a way to get the average of every nth hour (offset of 24h) across the seasonal scale (winter, spring, summer, fall) from a range of inputs (the period from 2000 to 2018).
Data selection for every nth hour for each day can be done using the OFFSET function + MATCH returns, but can I use the second-time OFFSET function to return a reference season using an accounting year approach? To return the quarter of the year, I can apply the formula of ROUNDUP(MONTH(…)/3,0) or IF condition where the first date actually starts of the season (e.g. winter) and the last date is the end of the season of the prior year, then move on to the next year by performing the twice OFFSET formula.
Finally, count all the cells will give the results of 24*4 rows (for 24 hours, e.g for 0:00, 1:00, 2:00 …. 22:00, 23:00; and 4 seasons) across the 2000-2018 time scale.
However, instead of making a complicated formula that would be likely to have errors in presented massive data I am looking for formula as a combination for matching criteria of next hour for dynamic season range calculations.
Attached I add test.xls
Thank you for help.
Bookmarks