+ Reply to Thread
Results 1 to 3 of 3

[SOLVED] Create a Pie Chart?

  1. #1
    Dax Arroway
    Guest

    [SOLVED] 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. #2

    Re: 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. #3
    Tushar Mehta
    Guest

    Re: 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 <[email protected]>, =?Utf-8?B?
    RGF4IEFycm93YXk=?= <Dax [email protected]> 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 to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1