Add multiple series to a dynamic chart from the same data table

anirbas

New Member
Joined
Jul 23, 2015
Messages
3
I have a large amount of data stored in a table that is used to update about 8 charts (through named ranges). Each chart has the date and ID as the x-axis with a particular parameter being charted. Each column of the table has its own named range which allows this to work and for the charts to update as more data is added.
This all works great, but now the end user is requesting that one of the series on the charts is broken down into some other series. For example my data could be:
[TABLE="width: 500, align: center"]
<tbody>[TR]
[TD]Date[/TD]
[TD]ID[/TD]
[TD]Source[/TD]
[TD]Parameter 1[/TD]
[TD]Parameter 2[/TD]
[TD]Parameter 3[/TD]
[/TR]
[TR]
[TD]7/21/15[/TD]
[TD]11[/TD]
[TD]Boston[/TD]
[TD]12[/TD]
[TD]55[/TD]
[TD]5.25[/TD]
[/TR]
[TR]
[TD]7/21/15[/TD]
[TD]12[/TD]
[TD]New York[/TD]
[TD]10[/TD]
[TD]53[/TD]
[TD]5.05[/TD]
[/TR]
[TR]
[TD]7/21/15[/TD]
[TD]13[/TD]
[TD]Boston[/TD]
[TD]10.2[/TD]
[TD]57[/TD]
[TD]5.16[/TD]
[/TR]
[TR]
[TD]7/21/15[/TD]
[TD]14[/TD]
[TD]Albany[/TD]
[TD]12[/TD]
[TD]54[/TD]
[TD]4.95[/TD]
[/TR]
[TR]
[TD]7/21/15[/TD]
[TD]15[/TD]
[TD]Vermont[/TD]
[TD]15[/TD]
[TD]56[/TD]
[TD]5.62[/TD]
[/TR]
[TR]
[TD]7/22/15[/TD]
[TD]11[/TD]
[TD]Albany[/TD]
[TD]14.3[/TD]
[TD]53[/TD]
[TD]5.34[/TD]
[/TR]
[TR]
[TD]7/22/15[/TD]
[TD]12[/TD]
[TD]New York[/TD]
[TD]11.2[/TD]
[TD]55[/TD]
[TD]5.80[/TD]
[/TR]
</tbody>[/TABLE]
Currently, all this data is being charted as one series, but now I would like to have different series for each of the sources. Since there is so much data, I would really rather not have to sort it and manually edit the source data for each of the charts as this would be very time consuming. Does anyone have any solutions on how to separate the named range based on the value in a particular column?
To add a visual of the chart I am trying to edit:
ZD3Hj.png


The table above is a simplified version of the data. The charts themselves include data from multiple worksheets, but the series I would like to add would be a breakdown of the Cities series shown above.
Any and all help is appreciated.
 
Last edited:

Excel Facts

Waterfall charts in Excel?
Office 365 customers have access to Waterfall charts since late 2016. They were added to Excel 2019.
Hi anirbas,

that's a toughy, my first instinct yells "pivot table with slicers", the second thought is "peltier". One column/series of data can't be split by a chart into several sub-series AFAIK, so you'll have to take another path.
1) pivot table with slicers -> this would mean a level between your data and the chart where you give the user slicers to select certain periods/sources etc.
2) John Peltier has plenty of creative charts, e.g. VBA Conditional Formatting of Charts by Category Label - Peltier Tech Blog It will require some VBA, but then you could color the points in your chart by label (source)

Hope that helps,

Koen
 
Upvote 0

Forum statistics

Threads
1,223,723
Messages
6,174,117
Members
452,545
Latest member
boybenqn

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top