I can't see an example but a PivotTable with Dates Grouped as weeks would be a simple & efficient solution