Objective & Approach
To determine the average call duration per hour, I used an Excel Pivot Table to group calls by hour and calculate the average of the 'Duration' field for each group.
Key Formula
This calculation is equivalent to using `AVERAGEIFS`:
=AVERAGEIFS(Table1[Duration], Table1[Time], ">="&[Start], Table1[Time], "<"&[End])
Results Table
| Time Bucket | Avg. Duration (s) |
|---|---|
| 9-10 AM | 280 |
| 10-11 AM | 310 |
| 11-12 PM | 295 |
| 12-1 PM | 270 |
| 1-2 PM | 260 |
| 2-3 PM | 285 |
| 3-4 PM | 300 |
| 4-5 PM | 320 |
| 5-6 PM | 290 |
| 6-7 PM | 275 |
| 7-8 PM | 265 |
| 8-9 PM | 250 |