Making a chart dynamic with variable rows as the series

Peter Davison

Active Member
Joined
Jun 4, 2020
Messages
330
Office Version
  1. 365
Platform
  1. Windows
I have a chart that has a number of series for each row (e.g. AO6 to BA6 and so on)
As the number of rows (series) can vary from say 3 to 33 etc, Is it possible to make the series dynamic with an offset and count named range?
I've looked at google and the dynamic all seem to be by column as opposed to row.
Below is my data and chart I am using for help.
Appreciate any help.

1641020166476.png


1641020216277.png
1641020216277.png1641020166476.png
 

Excel Facts

Did you know Excel offers Filter by Selection?
Add the AutoFilter icon to the Quick Access Toolbar. Select a cell containing Apple, click AutoFilter, and you will get all rows with Apple

BSALV

Banned user
Joined
Oct 31, 2010
Messages
1,651
Office Version
  1. 365
  2. 2013
  3. 2007
1. a lazy workaround, say you know the maximum of series 'll be 40 for example.
You create your chart immediately with 40 series (=columns) and you hide the extra ones, that are not necessary.

2. make it dynamic with VBA (manually, a lot of work) ???
 
Upvote 0
Solution

Peter Davison

Active Member
Joined
Jun 4, 2020
Messages
330
Office Version
  1. 365
Platform
  1. Windows
Okay thank you.
I did sort of do that but just with 25 out of a possible total of 100. 90% will always be within 25.
Thanks for your guidance.
It is well appreciated.
 
Upvote 0

Forum statistics

Threads
1,191,274
Messages
5,985,702
Members
439,975
Latest member
eelyn

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
Top