Is it possible to dynamically add chart series' based on dynamic named range?

marsh_e79

New Member
Joined
May 30, 2024
Messages
1
Office Version
  1. 365
Platform
  1. Windows
Hi Friends!

Coming to you in exasperated desperation! I'm quite familiar with dynamic named ranges. I've created one for a chart data set which adjusts when a new row of data is added (see in example workbook: rngChartData). I can even pass this into the 'Chart Data Range' field of the Select Data Source dialogue, and it creates a perfect chart based on the current size of the range (also see example attached):

When I then add a row to the data set which needs to be added dynamically as a series to the chart, the dynamic range updates (because it's dynamic - yay!) but the chart doesn't add the new series because the dynamic range I pass in (per above) gets converted into a static, absolute range reference (it's no longer dynamic so it ignores the new rows - Boo!).

Can anyone help? Hoping this thread can be a gamechanger for anyone else encountering similar if we can find a solution!

NB: Unable to use VBA or Table object - has to be dynamic named-range-based.

Thanks!!
 

Excel Facts

How to total the visible cells?
From the first blank cell below a filtered data set, press Alt+=. Instead of SUM, you will get SUBTOTAL(9,)
You can use dynamic ranges to change the number of data points (or the data points illustrated) in the chart, but not to change the number of series.

You could do it using VBA - if you were able to use it!
 
Upvote 0

Forum statistics

Threads
1,224,259
Messages
6,177,482
Members
452,782
Latest member
ZCapitao

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