Pivot table for more than two variables?

DanielManiel

New Member
Joined
May 29, 2017
Messages
2
How can I get a pivot table telling me which observations with certain variable values have another variable value. All my variables are binary.
Since that might be a little hard to understand, here is an example:

[TABLE="width: 500"]
<tbody>[TR]
[TD]Employement[/TD]
[TD]Black[/TD]
[TD]College[/TD]
[TD]Citizen[/TD]
[/TR]
[TR]
[TD]TRUE[/TD]
[TD]75%[/TD]
[TD]95%[/TD]
[TD]85%[/TD]
[/TR]
[TR]
[TD]FALSE[/TD]
[TD]25%[/TD]
[TD]5%[/TD]
[TD]15%[/TD]
[/TR]
</tbody>[/TABLE]


My data uses more variables and they aren't these variables but this is a fitting example.
I want my final table to tell me what percentage of people who have College = 1 also have Employement =1. I want to do this in one table because I have about a dozen variables.
 

Excel Facts

What is the fastest way to copy a formula?
If A2:A50000 contain data. Enter a formula in B2. Select B2. Double-click the Fill Handle and Excel will shoot the formula down to B50000.
Because the primary method of reducing (Pivot Table Filters) what is shown on the Pivot Table affects all results you would have to utilize DAX for PowerPivot.
You can then use a full grid and then GetPivotTableData formulas .
 
Upvote 0

Forum statistics

Threads
1,223,910
Messages
6,175,316
Members
452,634
Latest member
cpostell

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