In the attached file I have an interactive data range where I can pull up various stats and the desired time period and a chart that displays a single stats. In A21 I have this formula,
=OFFSET(INDEX(Chart_Options,MATCH(A19,Chart_Options,0)),0,1,1,(15-COUNTBLANK(B5:P5)))
which I have used to created a defined name of input, which I have put in the chart series for source data.
My problem is, if I change the desired charted stat in A19 the chart goes blank and I get an error message saying, "A formula in this worksheet contains one or more invalid references. Verify that your formulas contain a valid path, workbook, range name, and cell reference." Putting the cursor in A21, being in edit mode and hitting enter will then update the chart and fix the issue.
Where did I make a mistake, I can't see it for myself?
edit: I can't edit any part of the drop down menu without getting an error message.
Bookmarks