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?
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?