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

Square and cube roots
The =SQRT(25) is a square root. For a cube root, use =125^(1/3). For a fourth root, use =625^(1/4).

SteveD

Board Regular
Joined
Feb 20, 2002
Messages
104
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

tusharm

MrExcel MVP
Joined
May 28, 2002
Messages
11,029
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,191,671
Messages
5,987,956
Members
440,121
Latest member
eravella

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