+ Reply to Thread
Results 1 to 7 of 7

How to create daily average from LONG list of hourly data

  1. #1
    Registered User
    Join Date
    06-14-2013
    Location
    Fairbanks, Alaska
    MS-Off Ver
    Excel 2010
    Posts
    10

    How to create daily average from LONG list of hourly data

    Hello everybody,

    I would greatly appreciate the help on this one.

    I need to do daily averages on a LONG list of hourly data. There are 56088 rows of hourly temperature readings. It will take me a long, long time for me to manually do "=AVERAGE(A1:A24)" and then "AVERAGE(A25:A48)", and then "AVERAGE(A49:A72)", and so on.

    Is there a better way to do this?

    My file is below... the blank spots in the excel file are just missing values.

    Thank you much
    Attached Files Attached Files

  2. #2
    Forum Expert Moo the Dog's Avatar
    Join Date
    09-28-2012
    Location
    Wisconsin
    MS-Off Ver
    Office 365 (PC & Mac)
    Posts
    1,845

    Re: How to create daily average from LONG list of hourly data

    I am positive this isn't the best way to do this (because if you delete rows from the data set it will cause problems... but it is a way none the less...

    Try this in cell:
    D1: =AVERAGE(A1:A24)
    D2: =AVERAGE(INDIRECT("A"&ROWS(A$1:A1)*24+1&":A"&ROWS(A$1:A2)*24))

    Fill the above formula in D2 down as far as you need to go.

    Once you start seeing #DIV/0, you will have encountered the last 24-cell series (Should be 2337 rows in depth according to your data. Row 2338 returns the first #DIV/0)

    - Moo
    Last edited by Moo the Dog; 06-14-2013 at 04:18 PM.

  3. #3
    Forum Expert
    Join Date
    12-11-2011
    Location
    Netherlands
    MS-Off Ver
    office 365
    Posts
    3,294

    Re: How to create daily average from LONG list of hourly data

    If there is a column with times it becomes maybe easier
    Willem
    English is not my native language sorry for errors
    Please correct me if I'm completely wrong

  4. #4
    Registered User
    Join Date
    06-14-2013
    Location
    Fairbanks, Alaska
    MS-Off Ver
    Excel 2010
    Posts
    10

    Re: How to create daily average from LONG list of hourly data

    Hey Moo!

    Your solution was exactly what I needed. Thank you very much!!

  5. #5
    Registered User
    Join Date
    12-12-2017
    Location
    Edmonton, Alberta
    MS-Off Ver
    Office 2016
    Posts
    2

    Re: How to create daily average from LONG list of hourly data

    Hey, I just stumbled across this post and I am having a similar issue averaging hourly data, except my data doesn't have a consistent number of hourly readings per day. Some days I only have 5 hourly readings, other days I have 10 hourly readings, other days 20. Is there a way to get excel to average the data based on the date, and not on a predefined interval as in the above problem (ie. every 24 cells)?

  6. #6
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2404
    Posts
    13,406

    Re: How to create daily average from LONG list of hourly data

    Yes but you will need to post your own thread posting a link to this one if it helps.
    Dave

  7. #7
    Registered User
    Join Date
    12-12-2017
    Location
    Edmonton, Alberta
    MS-Off Ver
    Office 2016
    Posts
    2

    Re: How to create daily average from LONG list of hourly data

    You know what I actually got it figured out yesterday! Instead of using formulas I used a Pivot Table and it worked really well.

    Thanks anyways!

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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