I have a formatting issue that I can't quite get to work. I am trying to create a report that will display expenses vertically, then I need the amounts displayed horizontally. My data looks like this:
Year Quarter Expense Cost
2006 1 Food 200
2006 1 Clothing 400
2006 2 Gas 100
2006 2 Food 180
2006 3 Food 150
2006 4 Gas 160
I need the information Displayed like this:
Q1 Q2 Q3 Q4 Total
Food 200 180 150 0 530
Clothing 400 0 0 0 400
Gas 0 100 0 160 260
Total 600 280 150 160 1190
Any help would be greatly appreciated.
Year Quarter Expense Cost
2006 1 Food 200
2006 1 Clothing 400
2006 2 Gas 100
2006 2 Food 180
2006 3 Food 150
2006 4 Gas 160
I need the information Displayed like this:
Q1 Q2 Q3 Q4 Total
Food 200 180 150 0 530
Clothing 400 0 0 0 400
Gas 0 100 0 160 260
Total 600 280 150 160 1190
Any help would be greatly appreciated.