How to display only top 10 per group? Excel PivotTable

claytont454

New Member
Joined
Feb 28, 2013
Messages
8
I have a long PivotTable for a group of doctors with the codes they use for all their patients, and how many times they used each code.
I only want to show (up to) 10 code + qty lines for each doctor. I have about 300 doctors; some have just a few codes, others have hundreds. All of the "Top 10" Sort or Filter things I have found so far either show the most-often used codes between *all* the doctors, or the top 10 doctors with the most codes overall. This is a sample:
(this last column is what I want to show the top 10 lines per each doctor)
Physician nameCodeNumber of times used
Smith, John (only 4)
401.93
787.912
272.42
305.12
Aberger, Cheese (only 2)
V58.832
285.92
Baker, Tammy (has 195)
401.9140
272.4122
25059
272.241
244.941
V58.6138
427.3133
305.129
lots more......
Bird, Song (has 133)
V27.030
65020
626.218
625.618
648.8318
V74.517
625.915
V77.9115
625.315
lots more......

<colgroup><col><col><col></colgroup><tbody>
</tbody>

Thanks in advance for ideas!
 

Excel Facts

Select all contiguous cells
Pressing Ctrl+* (asterisk) will select the "current region" - all contiguous cells in all directions.
I did find that, but it only seems to sort the *entire* pivottable area, giving me the top 10 providers or adds all the top codes together and presents the top 10 of those totals.
I'm trying to get a result that shows each provider, and then their top 10. Thanks, CT
 
Upvote 0
I have a long PivotTable for a group of doctors with the codes they use for all their patients, and how many times they used each code.
I only want to show (up to) 10 code + qty lines for each doctor. I have about 300 doctors; some have just a few codes, others have hundreds. All of the "Top 10" Sort or Filter things I have found so far either show the most-often used codes between *all* the doctors, or the top 10 doctors with the most codes overall. This is a sample:
(this last column is what I want to show the top 10 lines per each doctor)
Physician nameCodeNumber of times used
Smith, John (only 4)
401.93
787.912
272.42
305.12
Aberger, Cheese (only 2)
V58.832
285.92
Baker, Tammy (has 195)
401.9140
272.4122
25059
272.241
244.941
V58.6138
427.3133
305.129
lots more......
Bird, Song (has 133)
V27.030
65020
626.218
625.618
648.8318
V74.517
625.915
V77.9115
625.315
lots more......

<tbody>
</tbody>

Thanks in advance for ideas!

DID you ever figure this out I am trying to solve a similar problem and for the life of me cannot. I need the bottom three numbers from each category, I have close to 1000 categories and more them 15000 entries.
 
Upvote 0
DID you ever figure this out I am trying to solve a similar problem and for the life of me cannot. I need the bottom three numbers from each category, I have close to 1000 categories and more them 15000 entries.

Hi Mushmon, I did not. I eventually went to an SQL expert and had them write a report for me. -Clay
 
Upvote 0

Forum statistics

Threads
1,203,525
Messages
6,055,916
Members
444,834
Latest member
ComputerExcel

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