Results 1 to 12 of 12

Calculating average from every nth row across varying periods

Threaded View

  1. #1
    Registered User
    Join Date
    07-23-2017
    Location
    Wroclaw, Poland
    MS-Off Ver
    2015
    Posts
    11

    Calculating average from every nth row across varying periods

    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.
    Attached Files Attached Files

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Calculating maximum of moving average values across varying periods
    By yaro_yaro in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-11-2019, 07:06 AM
  2. [SOLVED] How to use MATCH to get results within varying timestamp periods
    By jrtaylor in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 11-17-2018, 01:36 PM
  3. Charting occurrences over varying time periods
    By bex1210 in forum Excel Charting & Pivots
    Replies: 3
    Last Post: 03-05-2018, 10:25 PM
  4. [SOLVED] Total units made by week number with varying manufacturing periods
    By BRISBANEBOB in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-09-2016, 06:49 PM
  5. IRR with varying hold periods
    By kmorque in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 06-02-2009, 03:04 AM
  6. Calculating hours in periods
    By XCESIV in forum Excel General
    Replies: 2
    Last Post: 05-29-2009, 04:03 AM
  7. average rolling periods
    By RobPatrick in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-13-2007, 05:26 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1