Hello, I have a data table that had 6 repeat test data set. I need to summarize index from each test but not sure how to do so:

For each test, I need to summarize the time range (column 1) in between -0.5 to 0.5. For example for test 1, time between -0.5 to 0.5 is 12.
Is this something doable in summary table or formula? What would be the right script for this?
Any help is highly appreciated. Thank you!