I would group it by that field. Then specify the groups that you want instead of just having the field automatically grouped in ascending or descending directions.
Then I would make just two group blocks, the one before that time and past that time.
Finally, I'd sum up the totals from each group and put it in each of the footers