+ Reply to Thread
Results 1 to 4 of 4

How to extract daily data from hourly data

  1. #1
    Registered User
    Join Date
    05-14-2021
    Location
    Hampshire, United Kingdom
    MS-Off Ver
    2013
    Posts
    4

    Question How to extract daily data from hourly data

    Hi all,

    This is my first post so any help and advice will be appreciated. I have months of hourly data in column A with corresponding consumption (kWh) in column B and what I need to know is how many days there was no consumption? so in the attached example I should have a count of 1 as there was one day with consumption and one day wothout any consumption. Hope that makes sense. TIA
    Attached Files Attached Files

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,662

    Re: How to extract daily data from hourly data

    Does this help??

    =IF(COUNTIF(A:A,E2)=0,"",IF(SUMPRODUCT((INT($A$2:$A$49)=E2)*($B$2:$B$49))=0,"No consumption","Consumption"))

    it's then easy to use aformula to count the "No Consumption" days.

    =COUNTIF(G:G,"No Consumption")
    Attached Files Attached Files
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU

  3. #3
    Registered User
    Join Date
    05-14-2021
    Location
    Hampshire, United Kingdom
    MS-Off Ver
    2013
    Posts
    4

    Re: How to extract daily data from hourly data

    Thanks Glenn. That will work Much appreciated.

  4. #4
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,662

    Re: How to extract daily data from hourly data

    You're welcome.



    It would be very nice if you were to just click the Add Reputation button at the foot of any of the posts of members who helped you reach a solution.

    Finally, if that takes care of your original question, please select "Thread Tools" from the menu link (just above the first post in the thread) and mark this thread as SOLVED.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 4
    Last Post: 03-09-2022, 07:49 AM
  2. Convert 10mins of data to hourly and daily data
    By Harshareddy9999 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 10-06-2019, 04:49 PM
  3. [SOLVED] Converting a years worth of hourly data into daily data
    By Roblcx in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 06-18-2018, 04:43 PM
  4. Converting Half-hourly data into average daily data
    By TommyHayes1989 in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 05-24-2018, 11:19 AM
  5. Code to convert hourly data to daily data
    By ropbasuel in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 04-12-2016, 10:50 AM
  6. [SOLVED] Finding the mean of hourly data and converting into daily data.
    By saga.sangam in forum Excel General
    Replies: 4
    Last Post: 11-11-2015, 12:33 PM
  7. Replies: 5
    Last Post: 09-11-2012, 03:45 PM

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