Graphing the top ten - Should be an easy one

SteveD

Board Regular
Joined
Feb 20, 2002
Messages
104
Good morning,

I'm creating a graph from a pivot table in Excel 07 and I've found the Top 10 filter. It works as it should, but how can I have Excel show me the Top 10 plus all the rest of my data combined into a filed something like "Other"?

Something like:
1 - 20
2 - 19
3 - 17
...
10 - 5
Other - 23

I tried to search for this... but did not even know what to search for.

Thanks,
Steve
 

Excel Facts

When did Power Query debut in Excel?
Although it was an add-in in Excel 2010 & Excel 2013, Power Query became a part of Excel in 2016, in Data, Get & Transform Data.
Very nice.
It will take some coding on the VBA side to make it work out, but this had a few tricks that are helpful.

Thanks!
Steve
 
Upvote 0
Thank you.

If you need help with the VBA part, the easiest approach would be to turn on the macro recorder, then go through the tutorial, and turn off the recorder. You will almost certainly have to clean up and generalize the Excel-generated code but you should have the core code.
 
Upvote 0

Forum statistics

Threads
1,215,420
Messages
6,124,803
Members
449,190
Latest member
cindykay

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