Hope someone can help I'm pulling my hair out. I have exercise data taken every few seconds (every breath). I want to average readings over 30 second intervals. It is not as simple as say averaging 30 rows if there was data every second for 30 seconds as the number of data points in each 30 second interval varies depending on breathing rate, ie there might be data at 1 second, 3 seconds, 5 seconds etc. or 2 seconds, 10 seconds, 15 seconds etc.
I therefore need a formula/macro that can look at the column with the timing of the data (breath) mm:ss and pick out the rows between 00:00 and 00:30, 00:31 and 00:59, 01:00 and 01:29... etc. and then average another column for those rows, thus giving me 30 second averages. It's the irregular number of rows that is stumping me and currently I'm selecting them manually.
If anyone has an idea how to solve this I would be grateful!
Bookmarks