+ Reply to Thread
Results 1 to 6 of 6

Summing values of a speficied time range over multiple days

  1. #1
    Registered User
    Join Date
    11-18-2015
    Location
    Pennsylvania, USA
    MS-Off Ver
    2013
    Posts
    10

    Summing values of a speficied time range over multiple days

    Hello,

    I have hourly data that extends for about seven months and I need to sum the value for each date between 06:00 and 18:00. Any ideas on how to do this? I've attached the file.

    Thanks,
    R
    Attached Files Attached Files

  2. #2
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,648

    Re: Summing values of a speficied time range over multiple days

    Try this....

    In E2
    Please Login or Register  to view this content.
    Regards
    sktneer


    Treat people the way you want to be treated. Talk to people the way you want to be talked to.
    Respect is earned NOT given.

  3. #3
    Registered User
    Join Date
    11-18-2015
    Location
    Pennsylvania, USA
    MS-Off Ver
    2013
    Posts
    10

    Re: Summing values of a speficied time range over multiple days

    It looks like this is giving me the total for the entire year. What I'm looking for is the total for each day.

  4. #4
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,648

    Re: Summing values of a speficied time range over multiple days

    Not sure exactly how do you want to populate the sum based on each day, try this to see if this is what you are trying to achieve.

    In E2
    Please Login or Register  to view this content.
    It will return the Sum for each new date in column A.

  5. #5
    Registered User
    Join Date
    11-18-2015
    Location
    Pennsylvania, USA
    MS-Off Ver
    2013
    Posts
    10

    Re: Summing values of a speficied time range over multiple days

    That's getting closer, but I'm unable to drag the formula down to fill in each date. Basically what I want to appear in D2 is the sum of B8:B20, then D3 should be the sum of B32:B44, D4 should be the sum of B56:B68, etc. So I would need a formula that calculates the sum of 12 rows, then skips 12 rows, and repeats that for the entire time series.

  6. #6
    Registered User
    Join Date
    11-18-2015
    Location
    Pennsylvania, USA
    MS-Off Ver
    2013
    Posts
    10

    Re: Summing values of a speficied time range over multiple days

    Any more ideas on this? sktneer's suggestion works to some degree, but I need the values to match the dates in column C.

+ 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. Conditionally summing values by single days and various conditions
    By cmshawks2 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-01-2015, 01:49 PM
  2. Challenge summing time (mm:ss) values?
    By Mr Davo in forum Excel General
    Replies: 3
    Last Post: 12-16-2014, 08:38 PM
  3. Using countifs with date range, and summing values in that range
    By bmcoonan in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 08-30-2013, 11:28 AM
  4. Summing time values and ignoring text
    By Si902 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 11-03-2011, 11:19 PM
  5. Summing Values Between Two Days
    By andrewc in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-05-2008, 11:29 AM
  6. Calculating time elapsed in days and count days within same range
    By michellem410 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 09-19-2008, 01:13 PM
  7. Summing based on Date and Time Range
    By DanSherwood in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 03-10-2008, 09:32 AM

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