Excel 2013 Pivot Table

kgw2511

New Member
Joined
Mar 11, 2015
Messages
3
I have created a pivot table, using data from two tables but rather than just expressing totals, I want to show one number as a percentage of the other, i.e. 40%, 30%, 35% in the table below.

Can this be done?

FemaleMaleTotal
Distinct CountNumber in CohortDistinct CountNumber in CohortDistinct CountNumber in Cohort
2050155035100

<tbody>
</tbody>

Thanks
 

Excel Facts

What do {} around a formula in the formula bar mean?
{Formula} means the formula was entered using Ctrl+Shift+Enter signifying an old-style array formula.
You could create a calculated field in the Pivot: Distinct Count / Number in Cohort
 
Upvote 0
Thanks for your reply Rudi, however I didn't think it was possible to use calculated fields in pivot tables which use data from two different tables? When I look at creating a calculated field, the menu item is greyed out.
 
Upvote 0
I didn't consider that, but its probably true as a pivot table becomes very limited in options with multiple data sources. Is there any chance that you can combine the records from these two sources and then create the PT? Alternative, have a look into using the Power Pivot add-in, or using VLOOKUP to combine the data from table 2 into table 1 (incl. the calculated values) and then use PT's to report it.
 
Upvote 0

Forum statistics

Threads
1,214,832
Messages
6,121,847
Members
449,051
Latest member
excelquestion515

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