why not resort to the old-and-good pivot table solution?