Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Ray in HK
 
Posts: n/a
Default How to create pie chart with %

I have got a problem that I don't if excel could help me to calculate the %
within a column and draw a pie chart.

My case is I have a column containing a series of numbers. e.g.
1,4,8,1,3,9,11,2,4,5,6,.........etc

I want to draw a pie chart that showing 1-3 , 4-6, 7-9, 9 with the
corresponding % inside that column.

Can anyone tell me how can I make it ?


  #2   Report Post  
Jon Peltier
 
Posts: n/a
Default

Ray -

You need to calculate the frequencies in your data.

Let's assume your data is in A1:A12. In B1:B3 enter these numbers, the
upper limits on the groupings:

3
6
9

You can enter "9" into B4 without messing up any formulas below.

Select C1:C4, with C1 as the active cell. Type this formula:

=FREQUENCY(A1:A12,B1:B3)

then hold down CTRL+SHIFT while pressing ENTER. If done properly, Excel
inserts curly braces around the formula:

{=FREQUENCY(A1:A12,B1:B3)}

Here's how my sample data appears:

1 3 6
4 6 3
3 9 2
5 9 1
6
2
3
9
8
2
11
2

Select B1:C4 and make a pie chart. Apply data labels, using the category
name and percentage options. The entries in column B are the category
names, and Excel computes the percentages for you.

- Jon
-------
Jon Peltier, Microsoft Excel MVP
Peltier Technical Services
Tutorials and Custom Solutions
http://PeltierTech.com/
_______


Ray in HK wrote:

I have got a problem that I don't if excel could help me to calculate the %
within a column and draw a pie chart.

My case is I have a column containing a series of numbers. e.g.
1,4,8,1,3,9,11,2,4,5,6,.........etc

I want to draw a pie chart that showing 1-3 , 4-6, 7-9, 9 with the
corresponding % inside that column.

Can anyone tell me how can I make it ?


  #3   Report Post  
Ray in HK
 
Posts: n/a
Default

Done !

"Jon Peltier" ¦b¶l¥ó
¤¤¼¶¼g...
Ray -

You need to calculate the frequencies in your data.

Let's assume your data is in A1:A12. In B1:B3 enter these numbers, the
upper limits on the groupings:

3
6
9

You can enter "9" into B4 without messing up any formulas below.

Select C1:C4, with C1 as the active cell. Type this formula:

=FREQUENCY(A1:A12,B1:B3)

then hold down CTRL+SHIFT while pressing ENTER. If done properly, Excel
inserts curly braces around the formula:

{=FREQUENCY(A1:A12,B1:B3)}

Here's how my sample data appears:

1 3 6
4 6 3
3 9 2
5 9 1
6
2
3
9
8
2
11
2

Select B1:C4 and make a pie chart. Apply data labels, using the category
name and percentage options. The entries in column B are the category
names, and Excel computes the percentages for you.

- Jon
-------
Jon Peltier, Microsoft Excel MVP
Peltier Technical Services
Tutorials and Custom Solutions
http://PeltierTech.com/
_______


Ray in HK wrote:

I have got a problem that I don't if excel could help me to calculate

the %
within a column and draw a pie chart.

My case is I have a column containing a series of numbers. e.g.
1,4,8,1,3,9,11,2,4,5,6,.........etc

I want to draw a pie chart that showing 1-3 , 4-6, 7-9, 9 with the
corresponding % inside that column.

Can anyone tell me how can I make it ?




Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
how do I create a stacked bar chart in excel PatK Charts and Charting in Excel 2 July 5th 05 02:33 PM
Urgent Chart Assistance Brent E Charts and Charting in Excel 1 May 10th 05 09:09 AM
Urgent Chart Questions Brent E Excel Discussion (Misc queries) 0 May 9th 05 11:01 PM
How do I create a "backwards" chart Sarah Charts and Charting in Excel 2 March 31st 05 05:08 AM
Create a custom chart, two stacked bars/month w/ two axes? Oscar Charts and Charting in Excel 1 March 21st 05 11:07 PM


All times are GMT +1. The time now is 03:45 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"