Can you create dynamic named series for a chart?

chrisseanhayes

New Member
Joined
Dec 15, 2009
Messages
7
I need a column chart which trends 6 month(I have this covered) but stretches rows based on values in the data set. I could hook the chart to the pivot BUT I need to summarize all values over a count of 5.

so, if you have 4 values, then just who 4 (3,2,1) BUT if you have 12 values then show the top 4 (I can do this) but sum the other 8 (I can do this)

the problem is: How do I get the chart to add and remove series based on this.

Right now I have an area that does all this calculation but I don't know how to get the chart to use the dynamic range for it's data (and dynamic series)
 

Excel Facts

Copy PDF to Excel
Select data in PDF. Paste to Microsoft Word. Copy from Word and paste to Excel.
Create dynamic series by creating dynamic lists, naming them using the offset function. Once the name has been created, use the name when you create the chart and add the series. Edit the series to include the name of the dynamic list you created. There is a naming convention you must use--the name of the list MUST be included AFTER the filename and exclamation mark. An example is:

='Board Reports MASTER-AUG2011 - Excelver07.xlsm'!Ret6moVal
 
Upvote 0
@Excelestial, I did this and it doesn't work. The chart will accept the named range for creating the chart but it converts it to a un-named range and always looks for the original rows and columns that were selected by the named range at that time and point.
 
Upvote 0
=offset(start,0,0,if(count(totalcolumninpivot)>5,5,count(totalcolumnsinpivot)),6)
I'm creating a top 4 or 5 where row 5 is "Other" summed based off a pivot that shows all the values. I use the pivot to calculate how many rows I need. All other calculations are done in the referenced area.
 
Upvote 0
My experience has been to never rely on the non-existent dependability of using formulas against a pivot table. I'm sure the pivot table is resetting your array.
 
Upvote 0
yes, it's resetting my array, because it's a 'dynamic' area that get's filtered by geography. That's the whole point. I need a 'dynamic' data set for the chart with 'dynamic' series that change as the report is filtered by geography
 
Upvote 0

Forum statistics

Threads
1,223,911
Messages
6,175,333
Members
452,636
Latest member
laura12345

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