How do you create a Matrix (Crosstab) on Same Field?

dmarek

New Member
Joined
Mar 26, 2010
Messages
21
Hello,

I have a table that has lets say:


Store Program Business Sales
9999 1 A 100
9999 B B 150
1000 2 A 100
1000 B B 150
9000 1 A 100
9000 A B 150
2000 2 A 100
2000 C B 150

I want to crosstab this to put it in a matrix that looks like this:


______A_______B______C

1____250_____250_____0

2 ____0______250_____250

Where underscores are blanks (couldn't get it to display properly).

How do I split out the Program by Business Types to the Row/Column Headers and ensure the values calculate properly off the combination?
 
Last edited:

Excel Facts

Show numbers in thousands?
Use a custom number format of #,##0,K. Each comma after the final 0 will divide the displayed number by another thousand
So what I'm taking from that video is you are suggesting I don't use a cross tab and do it manually?

Which could work...
 
Upvote 0
A crosstab query should work:

Program in Row (group by), Business in Column (group by), Sales in Value (sum)

ξ
 
Upvote 0
The video suggests you make the cross tab manually versus using the wizard which has some limitations. But as Xenou has said, a cross tab query will do it. Pick your poison. Manual or Wizard.

Alan
 
Upvote 0

Forum statistics

Threads
1,224,586
Messages
6,179,712
Members
452,939
Latest member
WCrawford

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