+ Reply to Thread
Results 1 to 2 of 2

Same Category Names Combined before Graphing

  1. #1
    Registered User
    Join Date
    09-07-2008
    Location
    Middletown
    Posts
    33

    Same Category Names Combined before Graphing

    Hi,

    I'm working with the stock market, trying to create a column graph.

    I am trying to get my graph to display industry vs. percent growth. However, the way my excel spreadsheet is setup I have the same industry written down more than once.

    For example, my chart looks like this:

    Stock - Industry - Percent Change
    CYTX - Biotechnology - +2.02%
    ESLR - Electrical Components - -16.64%
    MNTA - Biotechnology - -6.64%

    and so on...

    When I go to plot industry vs. percent change in a column bar graph, the same industry will show up twice. Instead I want it to group industries together and also average the two percent changes together.

    Is there an easy way to do this and do I a present my problem clearly?

    Thanks

    Mark

  2. #2
    Forum Contributor
    Join Date
    06-14-2008
    Posts
    153
    Hi,

    I think the easiest way is to use a pivot table and summarize your data by industry.
    In your case your data will be summarized using the sum function as a default, but you can easily change that to an average.

    In case you are not familiar with pivot table:

    1. In the data menu click Pivot Table and then follow the wizard.
    2. When you get the pivot table field list:
    a. Drop the "industry" filed in the area where its says "Drop row fields here".
    b. Drop the percentage filed in the area where its says "Drop data items here".
    C. Double click on "sum of ..." and change that to "average".
    3. You can then plot a chart using the pivot table instead of your detailed data.

    Note: your data must have columns headings.

    I hope this helps.

    Regards.
    Last edited by se1429; 09-08-2008 at 04:10 AM.
    Welcome to: http://www.exceldigest.com/myblog/
    "Excel help for the rest of us"

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. New to VBA and Excel, need help splitting a name field and dumping extra middle names
    By Jonnymorris in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 09-05-2008, 08:44 AM
  2. Changing / Masking Category Names on a PivotChart
    By Rob_Clark in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-09-2008, 10:25 AM
  3. how do I search a word or pdf for a list of names in a CSV file?
    By Martin Crane in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-30-2008, 05:16 PM
  4. Hiding Category Names For Zero Values
    By TPARK in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 06-28-2007, 05:03 PM
  5. Clearing / Deleting Range Names
    By tekman in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-27-2007, 01:54 PM

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