Creating Dynamic Chart (via dynamic named range)

PatrickO

New Member
Joined
Jul 6, 2010
Messages
36
Hello,

I am working in Excel 2003 :(

I am attempting to create a dynamic chart by utilizing dynamic named ranges. For my dynamic named range, for example, I have =OFFSET('Chart'!$E$2,0,0,COUNTA(A2:A40)-COUNTIF(A2:A40,""))

I am able to verify the dynamic name range is working by using the sum() function, but I am unable to use the dynamic named range in the Series() function to create my dynamic chart.

I get an error message saying that the formula contains errors. If I manually try to put the offset formula as seen above, I get an error message that says the function is not valid.

Thanks in advance for your help.
 

Excel Facts

Create a chart in one keystroke
Select the data and press Alt+F1 to insert a default chart. You can change the default chart to any chart type
I may have answered my question... partially.

It seems the issue was that I was directly putting the named range into the series data, but what I really needed to do was list it like this:

'Chart'!Named_Range

Where this doesn't work is the category axis labels. I am still unable to dynamically change the category axis labels, either through a named range, or through offset function.

*EDIT*

Ok, it seems that I can just set the category axis label to the maximum possible, and the chart will only display if the data is available.
 
Last edited:
Upvote 0

Forum statistics

Threads
1,224,507
Messages
6,179,183
Members
452,893
Latest member
denay

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