ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Charts and Charting in Excel (https://www.excelbanter.com/charts-charting-excel/)
-   -   creating a pie chart (https://www.excelbanter.com/charts-charting-excel/84109-creating-pie-chart.html)

blue

creating a pie chart
 
when i select the text that i want to create the pie chart from and i click
on insert, chart, and i select the pie chart, it just shows me a line instead
of the pie chart.
Can someone please help me

Andy Pope

creating a pie chart
 
Hi,

Excel will not automatically summarize you textual values.
For example if your data, in A1:A6, was;

Apple
Orange
Orange
Orange
Apple
Apple

you would not get a 2 slice pie chart with each slice being 50%. You
need to summarize the data using formula or pivot table. The create the
pie chart on the summary data.

Here is an example of summarizing the example data.
B1: ="Apple" C1: =COUNTIF($A$1:$A$6,B1)
B2: ="Orange" C2: =COUNTIF($A$1:$A$6,B2)

The select B1:C2 in order to create your chart

Cheers
Andy

blue wrote:
when i select the text that i want to create the pie chart from and i click
on insert, chart, and i select the pie chart, it just shows me a line instead
of the pie chart.
Can someone please help me


--

Andy Pope, Microsoft MVP - Excel
http://www.andypope.info


All times are GMT +1. The time now is 12:32 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com