Using indifferent function and name manager to create a chart

Copper Contributor

Hi all,

I am a novice excel user who ran into a trouble about creating a chart using indifferent function and name manager. It stuck with this problem for a whole day, however, I could not get my chart working.


I created two named ranges, called for example, 'A' and 'B'. 
'A' points to the cell references found at C23:C35 with the 'INDIRECT' function, selecting the range I wish to chart.
'B' simply is a same formula as A, but point to the cell references of D23:D35
Note: The whole formula is "=INDIRECT(ADDRESS(23,COLUMN('Data'!$B$2),1,1,"Data")):INDIRECT(ADDRESS(MATCH(1E+99,'Data'!$B:$B,1),COLUMN('Data'!$B$2),1,1,"Data"))"

Under the name manager, both of the named ranges correctly highlighted the range I wished to plot, but the problems arose when I tried to use these named ranges in order to create the chart. I typed ='[Workbookname]Data'!A and ='[Workbookname]Data'!B respectively and then I got the following error message.

"We have found a problem with one or more formula references in this worksheet. Check that the cell references, range names, defined names and links to other workbooks are all correct."

 

So, here is my question. I doubt whether it is possible for the excel to create the chart using indirect function and name manager. Should I try to overcome this problem, if so, how? or I should turn to use offset function instead.  

Any advice would be greatly appreciated,

Many thanks,

Kob

0 Replies