Pie Chart for Repeated Values

RyanWi

New Member
Joined
May 15, 2013
Messages
22
Hello,

I have a cloumn with the following values (example)

221
315
565
865
55
323
221
9856
221
589
9744
655
221

As you can see 221 is repeated 4 times so i want the Pie chart to be created for all the values and higher percentage for the repeated value..
Hope it's easy to understand what I wrote.
 

Excel Facts

Can you AutoAverage in Excel?
There is a drop-down next to the AutoSum symbol. Open the drop-down to choose AVERAGE, COUNT, MAX, or MIN
Hi Ryan,

The only solution that comes to my mind is to do the following:

Column A: paste the 13 values from your list
Column B: paste & drag the following formula:
=IF(COUNTIF($A$1:$A$13,A1)=COUNTIF(A1:$A$13,A1),SUMIF($A$1:$A$13,A1,$A$1:$A$13),NA())

As you can see, for the value of 221 the formula displays the sum of all 4 values (884). However, we do not want it to be repeated 4 times, that is why for the remaining 221s the formula displays #N/A.

Now you can create your Pie Chart - treat column B as your values and column A as your labels. If you change the Pie Chart Design to Layout 1, you will see that the value of 221 has a percentage of 4% and is only displayed once.

I hope it helps.
 
Upvote 0

Forum statistics

Threads
1,223,264
Messages
6,171,081
Members
452,377
Latest member
bradfordsam

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