Pivot Table showing a count AND and % of total

mayday1

Board Regular
Joined
Oct 5, 2007
Messages
241
I have 3 columns (A:C) - header names are PatientID, Reason, Paid

Reason is the reason for the visit, Paid shows if the visit has been paid for. So the data looks like this:

192837 Reason1 Y
459357 Reason2 Y
459379 Reason2 Y
192837 Reason1 Y
459357 Reason2 Y
342873 Reason3 N
345035 Reason2 N
459379 Reason2 Y

How can I do a pivot table that shows the results like this:
PatientID, Total number of visits by this patient, % of that patient's visits that have been paid for

Or is there a non-pivot table way to get this?
 

Excel Facts

Create a Pivot Table on a Map
If your data has zip codes, postal codes, or city names, select the data and use Insert, 3D Map. (Found to right of chart icons).

Forum statistics

Threads
1,223,911
Messages
6,175,333
Members
452,636
Latest member
laura12345

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