The following two named range definitions are valid (verified by Excel), and both highlight the same range of cells.
=OFFSET('AU_ARENDOFDAY Times'!$C$1, COUNT('AU_ARENDOFDAY Times'!$C$2:$C$10000) - 29, 0, 30, 1)
and
=OFFSET(INDIRECT("'AU_ARENDOFDAY Times'!" & ADDRESS(MATCH(TODAY(), 'AU_ARENDOFDAY Times'!$A$1:$A$10000, 0), MATCH("RAXMTR_1", 'AU_ARENDOFDAY Times'!$A$1:$ZZ$1, 0))), -29, 0, 30, 1)
The first named range is accepted as a chart series, and it plots the data just fine. The second named range (pointing to the same cells) is not accepted. Excel throws up an error window saying, "We found a problem with one or more formula references in this worksheet."
I've tried using a static date in place of the TODAY
function, but it still didn't work. That shouldn't be the issue, though, since Excel will highlight the appropriate cells for both named ranges.
The only thing I can think of is that Excel charts cannot use named ranges that include the MATCH
function. Is this true? If so, is there an alternative way to accomplish the same thing?