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
 

Some videos you may like

Excel Facts

Can a formula spear through sheets?
Use =SUM(January:December!E7) to sum E7 on all of the sheets from January through December

RudiS

Active Member
Joined
May 7, 2015
Messages
349
You could create a calculated field in the Pivot: Distinct Count / Number in Cohort
 

kgw2511

New Member
Joined
Mar 11, 2015
Messages
3
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.
 

RudiS

Active Member
Joined
May 7, 2015
Messages
349
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.
 

Watch MrExcel Video

Forum statistics

Threads
1,122,806
Messages
5,598,188
Members
414,218
Latest member
speedbit

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
Top