Chuck it into a pivot table. No code, no formulas, aside from a calculated column.