I know how to do this with MySQL, but am at a loss as to how (or even if possible) within MS Excel. I am running Excel version 14 on Windows (part of Office Professional 20
Here is how to achieve this using pivot table.
I just created a 20 seconds screencast here.