• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Sumifs with Time range conditions

rajreddy

Member
Hi,

I would need to get the output based on half an hour interval, data is 5 minutes interval data and i would need 30 mins interval.

Column D data should add with 30 mins interval condition. D6 & D7 are the sample outputs which are for your reference.
 

Attachments

Peter Bartholomew

Well-Known Member
Virtually the same formula
= SUMIFS( values, timeJobs, ">=" & timeReport, timeJobs, "<" & timeReport+halfHour )
except that, instead of 'copy down', I use absolute references and an array formula.
It works brilliantly with dynamic arrays (the formula is in a single cell and sizes to match the references without further user intervention); somewhat 'clunky' with CSE arrays.
 
Top