Crosstab in pivot table

dcoons

Board Regular
Joined
Apr 21, 2002
Messages
56
I have data like this:

office market sales revenue
one big 10 25
two little 5 50
three big 10 25

which needs to be summarized into markets. I can get the pivot table to "stack" the statistics:

Big sales 20
revenue 50
Little sales 5
revenue 50

But what I want is:
sales revenue
Big 20 50
Little 5 50

Can this be done in a pivot table, or do I need to use Access?
 

Excel Facts

Bring active cell back into view
Start at A1 and select to A9999 while writing a formula, you can't see A1 anymore. Press Ctrl+Backspace to bring active cell into view.
Pull the PivotTable data until it's the right shape

Pull the PivotTable data until it's the right shape, with your mouse. When tyhe icon for the data changes shape, drop it.

See here:
Book2
ABCDEFGHIJKLM
1officemarketsalesrevenuemarketDataTotalData
2onebig1025bigSum of sales20marketSum of salesSum of revenue
3twolittle550Sum of revenue50big2050
4threebig1025littleSum of sales5little550
5Sum of revenue50Grand Total25100
6Total Sum of sales25
7Total Sum of revenue100
8
Sheet1
 
Upvote 0
Move your mouse over the Data button until the cursor changes to a cross with arrows on the end. Then click and drag to the right.
 
Upvote 0

Forum statistics

Threads
1,214,653
Messages
6,120,751
Members
448,989
Latest member
mariah3

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top