Hello
I have invoices for accounts for many years.
They would be something like

12/23/2008 Company A $1200
01/15/2009 Company A $20
01/22/2009 Company B $25
06/23/2009 Company A $1200
08/15/2009 Company A $20
10/22/2009 Company B $25

And so on

What I want is to pivot this so that I have
Company 2008 2009 2010 2011 2012
Company A 1200 1240
Company B 0 50

and so on

SO that I can see what business we did with our customers over time.
The columns are the sum of the invoices for a certain year
The rows are the company

What is the best way to do this?

Thanks in advance. Appreciate the help.
Sam