Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

How to limit pie-chart slices to top 5 & rest to group in others

13,045 views
Skip to first unread message

McEwen

unread,
May 29, 2007, 1:47:01 AM5/29/07
to
In a pie chart if there are multiple slices, then the readability decreases.
Therefore I am interested in knowing if excel provides a way of restricting
the number of slices, yet accounts for the total picture.

For example if there are 25 slices created, I would like the pie chart to
display the top 5 as individual slices and the balance 20 to get clubbed
together under OTHERS.

Andy Pope

unread,
May 29, 2007, 3:54:19 AM5/29/07
to
Hi,

There is no built in method for this.
You would need to sort the data and then sum the points you want included in
the Others category. And produce your pie on the six data points.

Possible but not advised. You can use the Pie of Pie to create the chart.
You need to know the cut off figure for the Others group. Or sort the data
and define the position. Once you have the pie of pie you can format the gap
width to be zero. The size of the second plot to be five. You then need to
format each slice in the second pie to have no fill or border colour. Also
set the leader lines to the same colour as the plot area.
The major drawbacks with this work around are you can not rotate the pie so
the Other slices is positioned nicely. Or get an Others category to appear
in the legend.

Cheers
Andy

--

Andy Pope, Microsoft MVP - Excel
http://www.andypope.info
"McEwen" <McE...@discussions.microsoft.com> wrote in message
news:C90F6C33-CAC6-40A3...@microsoft.com...

McEwen

unread,
May 29, 2007, 7:29:00 AM5/29/07
to
Thanks Andy for your feedback. I had previously tried what you had suggested
but was hoping for a better/easier way. Perhaps MS could take it on as a
feature addition in a future release of Excel.

steven...@wanadoo.fr

unread,
May 29, 2007, 11:31:37 AM5/29/07
to
Use the LARGE() function to identify the top five slices then subtract
from total to get remaining portion.


Su Marney

unread,
Aug 16, 2010, 10:47:41 AM8/16/10
to
Hi,
I was working on a pie chart from a pivot table. I have 'Customers' as row header, 'Year' and 'Period' as Column headers and 'sum of profit' as values.
My User wanted to display the top 10 customers in a pie chart and put the rest in a bucket called 'Others'.
There are 72 Customers so I went to the Customer filter and selected the bottom 62! (not dynamic, I know.).
Then with the filter applied, select the customers left and group these (right - click Group). Rename this group 'Others'. Minimise the group and you will see a clearer list of the top 10 and 'Others'. If you insert your pie chart now it will look more like it. You do end up with 2 Customer columns but you can hide the original using your Pivot Field List and un - ticking.

Hope this makes sense.

> On Tuesday, May 29, 2007 1:47 AM McEwe wrote:

> In a pie chart if there are multiple slices, then the readability decreases.
> Therefore I am interested in knowing if excel provides a way of restricting
> the number of slices, yet accounts for the total picture.
>
> For example if there are 25 slices created, I would like the pie chart to
> display the top 5 as individual slices and the balance 20 to get clubbed
> together under OTHERS.


>> On Tuesday, May 29, 2007 3:54 AM Andy Pope wrote:

>> Hi,
>>
>> There is no built in method for this.
>> You would need to sort the data and then sum the points you want included in
>> the Others category. And produce your pie on the six data points.
>>
>> Possible but not advised. You can use the Pie of Pie to create the chart.
>> You need to know the cut off figure for the Others group. Or sort the data
>> and define the position. Once you have the pie of pie you can format the gap
>> width to be zero. The size of the second plot to be five. You then need to
>> format each slice in the second pie to have no fill or border colour. Also
>> set the leader lines to the same colour as the plot area.
>> The major drawbacks with this work around are you can not rotate the pie so
>> the Other slices is positioned nicely. Or get an Others category to appear
>> in the legend.
>>
>> Cheers
>> Andy
>>
>> --
>>
>> Andy Pope, Microsoft MVP - Excel
>> http://www.andypope.info
>> "McEwen" <McE...@discussions.microsoft.com> wrote in message
>> news:C90F6C33-CAC6-40A3...@microsoft.com...


>>> On Tuesday, May 29, 2007 7:29 AM McEwe wrote:

>>> Thanks Andy for your feedback. I had previously tried what you had suggested
>>> but was hoping for a better/easier way. Perhaps MS could take it on as a
>>> feature addition in a future release of Excel.
>>>
>>> "Andy Pope" wrote:


>>>> On Tuesday, May 29, 2007 11:31 AM steven.gibb wrote:

>>>> Use the LARGE() function to identify the top five slices then subtract
>>>> from total to get remaining portion.


>>>> Submitted via EggHeadCafe - Software Developer Portal of Choice
>>>> AJAX Web Service Driven Customers Table With Customer Details
>>>> http://www.eggheadcafe.com/tutorials/aspnet/4c3d2726-d99e-4f83-9e49-0d4867b6271a/ajax-web-service-driven-customers-table-with-customer-details.aspx

0 new messages