ExcelTip.com
Account Icon Account Icon Account Icon
ExcelTip.com

Go Back   Excel Help Forum > Usenet Groups > Excel Charting

Notices

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
  #1  
Old 09-07-2008, 10:50 PM
nirvehex nirvehex is offline
Registered User
 
Join Date: 07 Sep 2008
Location: Middletown
Posts: 1
nirvehex is on a distinguished road
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
Reply With Quote
  #2  
Old 09-08-2008, 05:04 AM
se1429 se1429 is offline
Forum Contributor
 
Join Date: 14 Jun 2008
Posts: 116
se1429 is on a distinguished road
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.
__________________
Welcome to: http://www.exceldigest.com/myblog/
"Excel help for the rest of us"

Last edited by se1429; 09-08-2008 at 05:10 AM.
Reply With Quote
Reply

Bookmarks

New topics in Excel Charting


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
Forum Jump

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


All times are GMT -4. The time now is 05:42 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0