Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
HarCo
 
Posts: n/a
Default create chart from series grouped by value in another column

How to create a chart from series grouped by a value from another column?
Example
The sheet has these rows:
A, DATE, 1
A, DATE, 6
A, DATE, 7
B, DATE, 3
B, DATE, 15
B, DATE, 6
B, DATE, 6
A{1,6,7} is a series and B{3,15,6,6} is a different series. I have around
2000 different series like that in my excel. How can I auto-create charts for
each series (i.e. not selecting each series one by one)?
  #2   Report Post  
Mike Punko
 
Posts: n/a
Default

Creat another Sheet with the data series in the order you wish to graph them.

"HarCo" wrote:

How to create a chart from series grouped by a value from another column?
Example
The sheet has these rows:
A, DATE, 1
A, DATE, 6
A, DATE, 7
B, DATE, 3
B, DATE, 15
B, DATE, 6
B, DATE, 6
A{1,6,7} is a series and B{3,15,6,6} is a different series. I have around
2000 different series like that in my excel. How can I auto-create charts for
each series (i.e. not selecting each series one by one)?

  #3   Report Post  
Jon Peltier
 
Posts: n/a
Default

Depends on your chart type. If it's an XY chart, use a pivot table to arrange your
data nicely, with Date in the Row area, A/B/C in the Column area, and the values in
the Data area. Copy the pivot table, paste as values, remove extra labels so the
data looks like:

A B C
Date 1
Date 3 6
Date 6 15
Date 7 2
etc.

Select this range and create your chart.

Otherwise you could write a VBA routine to start at the top of the range, loop to
examine the first column, and when the value changes, create a chart for the rows
with the same value. Then continue with the next value.

- Jon
-------
Jon Peltier, Microsoft Excel MVP
Peltier Technical Services
Tutorials and Custom Solutions
http://PeltierTech.com/
_______

HarCo wrote:

How to create a chart from series grouped by a value from another column?
Example
The sheet has these rows:
A, DATE, 1
A, DATE, 6
A, DATE, 7
B, DATE, 3
B, DATE, 15
B, DATE, 6
B, DATE, 6
A{1,6,7} is a series and B{3,15,6,6} is a different series. I have around
2000 different series like that in my excel. How can I auto-create charts for
each series (i.e. not selecting each series one by one)?


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
How can I display multiple series in a pie chart? AncientPC Charts and Charting in Excel 3 May 3rd 23 05:09 PM
How to hide a dummy series in a chart legend? holg3r New Users to Excel 2 July 14th 05 09:04 AM
Create new series (on the same chart) for every change of values in a combobox uriel78 Charts and Charting in Excel 5 April 15th 05 12:08 AM
How to change Series order in a Combination Chart? vrk1 Charts and Charting in Excel 3 April 1st 05 07:21 AM
How to change Series Order in a Combination Chart? vrk1 Excel Discussion (Misc queries) 0 March 31st 05 11:19 PM


All times are GMT +1. The time now is 03:13 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"