+ Reply to Thread
Results 1 to 10 of 10

Converting Half-hourly data into average daily data

  1. #1
    Registered User
    Join Date
    04-16-2013
    Location
    Ireland
    MS-Off Ver
    Excel 2010
    Posts
    5

    Converting Half-hourly data into average daily data

    Hi guys

    I have a very very long list of variables, one is electricity output, which is measured every half hour. I need to convert this to daily, so obviously summing up and dividing by 48 (24 x half hours). I was just wondering if there is a quick drag option that will put blocks of 48 into one separate cell for me? I have attached the problem.
    So for example C2:C49 is 1st Jan 2013, to get the daily average I have added up and divided by 48, which is in O2. But I can't click and drag down because I can't have Jan 1st and Jan 2nd combining, which would be O3 if I did. I can't do this manually because it would take ages. I have attached the document
    What I need is O2 = daily average 1st Jan
    O3 = daily average 2nd Jan...etc
    Attached Files Attached Files

  2. #2
    Registered User
    Join Date
    12-30-2011
    Location
    Bristol, UK
    MS-Off Ver
    Excel 2010
    Posts
    82

    Re: Converting Half-hourly data into average daily data

    Hi there,

    As you're using Excel 2010 you can use AVERAGEIF. So, for the attached sheet this should work:

    =AVERAGEIF($A$2:$C$2833,$N2,$C$2:$C$2833)

    HTH,

    FermentedR

  3. #3
    Registered User
    Join Date
    04-16-2013
    Location
    Ireland
    MS-Off Ver
    Excel 2010
    Posts
    5

    Re: Converting Half-hourly data into average daily data

    Thank you,

    so if i drag that down I should get the averages on a daily basis? in accordance with the dates in column N?

  4. #4
    Registered User
    Join Date
    12-30-2011
    Location
    Bristol, UK
    MS-Off Ver
    Excel 2010
    Posts
    82

    Re: Converting Half-hourly data into average daily data

    You're welcome! Yes, just drag it down, should work fine

  5. #5
    Registered User
    Join Date
    04-16-2013
    Location
    Ireland
    MS-Off Ver
    Excel 2010
    Posts
    5

    Re: Converting Half-hourly data into average daily data

    ok i have more than one of these documents. I have six months ones, same problem
    what is the standard formula?

  6. #6
    Registered User
    Join Date
    12-30-2011
    Location
    Bristol, UK
    MS-Off Ver
    Excel 2010
    Posts
    82

    Re: Converting Half-hourly data into average daily data

    Take a look at this - should be able to surmise from this article and what we've already gone through: http://office.microsoft.com/en-gb/ex...010342193.aspx

  7. #7
    Registered User
    Join Date
    04-16-2013
    Location
    Ireland
    MS-Off Ver
    Excel 2010
    Posts
    5

    Re: Converting Half-hourly data into average daily data

    Hi there, thanks again. but i just found out that I need the sum of the total daily, rather than the average. what would be the answer for that? sorry

  8. #8
    Registered User
    Join Date
    05-23-2018
    Location
    London
    MS-Off Ver
    macOS
    Posts
    4

    Re: Converting Half-hourly data into average daily data

    Hello, this query is pretty much exactly like mine but with a slight twist. First of all the function here for summing daily would be SUMIF but I'm sure you got this already.

    I have a data set which contains half hourly reads but for several customers. so for January, and 30 customers, there are 48 (albeit missing data) rows with the same customer ID for 1st, then another 48 rows for 2nd unto 31st. Then of course same for all customers.

    Would there be a way of calculating the daily sum as before but for each customer? I am looking at several hundreds of customers, so this will be very useful!

  9. #9
    Registered User
    Join Date
    05-23-2018
    Location
    London
    MS-Off Ver
    macOS
    Posts
    4

    Re: Converting Half-hourly data into average daily data

    Thus is similar to the post: Re: Converting Half-hourly data into average daily data

    I have a data set which contains half hourly reads but for several customers. so for January, and 30 customers, there are 48 (albeit missing data) rows with the same customer ID for 1st, then another 48 rows for 2nd unto 31st. Then of course same for all customers.

    Would there be a way of calculating the daily sum as before but for each customer? I am looking at several hundreds of customers, so this will be very useful!

  10. #10
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,929

    Re: Converting Half-hourly data into average daily data

    Unfortunately your post does not comply with Rule 2 of our Forum RULES. Do not post a question in the thread of another member -- start your own thread.

    If you feel an existing thread is particularly relevant to your need, provide a link to the other thread in your new thread.

    Old threads are often only monitored by the original participants. New threads not only open you up to all possible participants again, they typically get faster response, too.
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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