Keypoint here is my data set is uses a Filter () function expand and contract the data set. And the graph it feeds loses the links back to the named ranges of that data set.
I have a dynamic data set in Excel on Sheet1 in a workbook in range A1:A10. Each row in rows 1 to 10 use the FIlter() function to populate the data set from another worksheet.
That data set then feeds an Excel chart. Each row in the data set has a Named Ranges. For example in row 1 the named range is called Item1 = cell A2# and for row 2 the named range Item2 = cell A3# etc. All good - data set updates properly using Filter() function.
I then create series in the chart that link back to those dynamically named ranges. When the data table changes the chart is supposed to update dynamically. To do link the chart series properly in Excel I have to precede the dynamic named range for each chart series with the name of the worksheet that the named range resides in (for example series 1 =Sheet1!Item1 and you cannot simply link the series to = Item1). So I have to do this for a all the series in the chart. So as the data set expands and contracts (A1:A10 or A1:D10 or A10:ZZ10 etc) each named row in the data set dynamically expands and each chart series is updated. This is due to the use of the “#” after each cell in the named ranges. All looks good when I manually link each series as described above.
The problem I am having is that the chart series don’t seem, to retain the links to each named dynamic ranges but instead each series reverts back to a static ranges. So for example if I set up my filtered data set to have an active range of A1:K10, and then manually relink all the chart series to the individual named ranges in the rows in the data set, each series properly links and the chart look fine. But when I then change the filtering data and the data set re-populates to an active range of say A1:D10, all the chart series reset back to static range values form the last filtered run (for example Series 1 resets from =Sheet1!Item1 to Sheet1!A1:D1.
Any ideas why this is happening and how do I fix this? I have not had this problem before.
Thanks
I have a dynamic data set in Excel on Sheet1 in a workbook in range A1:A10. Each row in rows 1 to 10 use the FIlter() function to populate the data set from another worksheet.
That data set then feeds an Excel chart. Each row in the data set has a Named Ranges. For example in row 1 the named range is called Item1 = cell A2# and for row 2 the named range Item2 = cell A3# etc. All good - data set updates properly using Filter() function.
I then create series in the chart that link back to those dynamically named ranges. When the data table changes the chart is supposed to update dynamically. To do link the chart series properly in Excel I have to precede the dynamic named range for each chart series with the name of the worksheet that the named range resides in (for example series 1 =Sheet1!Item1 and you cannot simply link the series to = Item1). So I have to do this for a all the series in the chart. So as the data set expands and contracts (A1:A10 or A1:D10 or A10:ZZ10 etc) each named row in the data set dynamically expands and each chart series is updated. This is due to the use of the “#” after each cell in the named ranges. All looks good when I manually link each series as described above.
The problem I am having is that the chart series don’t seem, to retain the links to each named dynamic ranges but instead each series reverts back to a static ranges. So for example if I set up my filtered data set to have an active range of A1:K10, and then manually relink all the chart series to the individual named ranges in the rows in the data set, each series properly links and the chart look fine. But when I then change the filtering data and the data set re-populates to an active range of say A1:D10, all the chart series reset back to static range values form the last filtered run (for example Series 1 resets from =Sheet1!Item1 to Sheet1!A1:D1.
Any ideas why this is happening and how do I fix this? I have not had this problem before.
Thanks