+ Reply to Thread
Results 1 to 3 of 3

Making a comparison chart with Excel 2007

  1. #1
    Registered User
    Join Date
    03-28-2009
    Location
    Jeddah, Saudi Arabia
    MS-Off Ver
    Excel 2007
    Posts
    2

    Making a comparison chart with Excel 2007

    Hi All,

    I'm trying to do a chart that compare the ages of a group. For example I have 10 entries in the table with some ages repeated. I want to be able to see how many are 30 years old and put it in a graph to compare.

    An example set:

    user1 -- 30
    user2 -- 32
    user3 -- 30
    user4 -- 20
    user5 -- 20
    .
    .
    .

    I want a pie that shows that I have 2 thirty years old and compare it to others and so on..

    Please help I'm kinda new in graphs for Excel. I'm using Excel 2007

    Thanks
    Alaa G

  2. #2
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,436

    Re: Making a comparison chart with Excel 2007

    You need to summarize the data before charting it.

    Assuming you data is in A2:B6 then use the following formula

    for 30 year olds
    =COUNTIF(B2:B6,30)

    for not 30 years old
    =COUNT(B2:B6)-COUNTIF(B2:B6,30)

    The second part of the second formula can be a reference to the cell rather than a repeat of the formula.

    You can now chart the 2 values.
    Attached Files Attached Files
    Cheers
    Andy
    www.andypope.info

  3. #3
    Registered User
    Join Date
    03-28-2009
    Location
    Jeddah, Saudi Arabia
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: Making a comparison chart with Excel 2007

    Thanks Andy for the help.

+ 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