+ Reply to Thread
Results 1 to 4 of 4

how to count text and produce bar graph from results

  1. #1
    Registered User
    Join Date
    06-30-2009
    Location
    Providence, USA
    MS-Off Ver
    Excel 2003
    Posts
    3

    how to count text and produce bar graph from results

    I have a dumb question. I'm trying to do something in excel that seems like it should be easy (and maybe it is), but I can't quite figure out how to do it.

    here is a sample of my dataset:

    Representative ----------- Party
    Fred G. Aandahl ---------- Republican
    Watkins Moorman Abbitt -- Democratic
    Amos Abbott ------------- Whig
    Jo Abbott ---------------- Democratic
    Joel Abbott -------------- Democratic-Republican
    Josiah Gardner Abbott ---- Democratic
    Nehemiah Abbott --------- Republican
    James Abdnor ------------ Republican
    Pete Abele --------------- Republican


    All I want to do is create a bar graph in which:

    parties are displayed across the x-axis (ie Democratic, Democratic-Republican, Republican, Whig)
    and
    values corresponding to the number of people in each party are represented along the y-axis. (in this case 4 instances of Republican, 3 Democratic, 1 Democratic-Republican, and 1 Whig)


    it can't be that complicated... i just don't know how to do it..

    thanks in advance

  2. #2
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: how to count text and produce bar graph from results

    here you go!
    Attached Files Attached Files
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  3. #3
    Forum Expert contaminated's Avatar
    Join Date
    05-07-2009
    Location
    Baku, Azerbaijan
    MS-Off Ver
    Excel 2013
    Posts
    1,430

    Re: how to count text and produce bar graph from results

    or smth like this....
    Attached Files Attached Files
    Люди, питающие благие намерения, как раз и становятся чудовищами.

    Regards, ?Born in USSR?
    Vusal M Dadashev

    Baku, Azerbaijan

  4. #4
    Registered User
    Join Date
    06-30-2009
    Location
    Providence, USA
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: how to count text and produce bar graph from results

    thanks guys!

+ 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