Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 2
Default Create a Pie Chart?

I've got a spreadsheet with Demographic information on it (Name, Address,
City, State, etc.) I want to create a pie chart that shows how many people
on the sheet are from which cities. So the title of the chart will be Cities
and the chart should have pie peices, one for each different city that's in
the list along with the percent of the entries are in eash city, depicted as
a percentage peice of that pie. I do not have predefined lables as these
will be different and entered as they come in. How do I do this? I'm new to
excel and don't know what to put in the feilds in the Chart Wizard to get it
to do what I'm trying to do. Any help would be delightful. Thanks in
advance.

  #2   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 1
Default Create a Pie Chart?

I think the easiest way to get what you want is by using countif
Let's say that your city names are in the D column,
use some blank cells to hold this formula
=COUNTIF(D:D,"New York")
=COUNTIF(D:D,"Los Angeles")
etc.
now create a pie chart with these cells as the data series. I think
this is what you are looking for.

  #3   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 1,071
Default Create a Pie Chart?

You are best off creating a PivotTable and an associated PivotChart. Check
Data | PivotTable and PivotChart Report...

In the PivotTable, put the City as the row field and also as the data field.
XL will automatically use COUNT(City) as the data field. That will give you
what you want.

--
Regards,

Tushar Mehta
www.tushar-mehta.com
Excel, PowerPoint, and VBA add-ins, tutorials
Custom MS Office productivity solutions

In article , ?B?
RGF4IEFycm93YXk=?= <Dax says...
I've got a spreadsheet with Demographic information on it (Name, Address,
City, State, etc.) I want to create a pie chart that shows how many people
on the sheet are from which cities. So the title of the chart will be Cities
and the chart should have pie peices, one for each different city that's in
the list along with the percent of the entries are in eash city, depicted as
a percentage peice of that pie. I do not have predefined lables as these
will be different and entered as they come in. How do I do this? I'm new to
excel and don't know what to put in the feilds in the Chart Wizard to get it
to do what I'm trying to do. Any help would be delightful. Thanks in
advance.


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 link between columns from a data chart? Sara Excel Discussion (Misc queries) 1 June 2nd 06 06:51 PM
How to create a chart based on a 2 dim data range dynamical in 1 d Beertje Charts and Charting in Excel 1 October 25th 05 11:54 AM
Macro to Create a Chart and Update it Automatically maperalia Charts and Charting in Excel 2 October 21st 05 05:42 PM
How to create combination stacked area and line chart? BarbAug Charts and Charting in Excel 2 May 19th 05 01:18 PM
Urgent Chart Assistance Requested Brent E Excel Discussion (Misc queries) 0 May 9th 05 11:01 PM


All times are GMT +1. The time now is 07:39 PM.

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

About Us

"It's about Microsoft Excel"