I have the following columns of data:
buzz length start cue end cue803 0.7 7 392.6810.9 0.9 502.4 1002.41514.8 0.4 1231.6 1851.41516.2 0.9 2226 2782.21753 0.8 4024.2 45202470.6 2.9 5050.2 5536.24278.1 1.3 6059.2 6699.84415.9 2.9 5361.9 1.1 6244.1 5.7 6446.6 1.2 6459 2.7
I am trying to create a code that, like the SUMIFS function in Excel, will take the number of buzzes who's time (column 1) falls within the range of a start/end cue pair (columns 3 and 4) and sum their respective lengths (column 2). I'm sure the solution has something to do with indexing to refer to the index positions of some of the values, however I am not sure how to even approach this problem. Any help is appreciated! Thank you for your time!
Best Answer