If a defined name contains multiple ranges, unioned, INDIRECT doesnt produce a ref. This behaviour also occurs on MS Excel 2007, so perhaps it is desirable to maintain compatibility.
define blah to be "$A$1~$A$3"
Actual results (Calc and MS Office 2007):
Redefine blah to be "$A$1:$A$2" and the results are as expect.
I confirm the behavior, yes, but this is kind of a hairy thing to change, if it breaks compatibility with Excel!
I'd like some more experienced QA person to comment on this.
Win 7 64-bit Version: 188.8.131.52.alpha2+
Build ID: c989f5e0e11e295b11ffc921b0d105869e037e47
TinderBox: Win-x86@42, Branch:master, Time: 2014-11-07_22:50:48
(In reply to Beluga from comment #1)
> I confirm the behavior, yes, but this is kind of a hairy thing to change, if
> it breaks compatibility with Excel!
Yes, compatibility with other products is prized highly by a large number of our users. Let's tread carefully before we intentionally break from the pack.
> I'd like some more experienced QA person to comment on this.
I'm not sure if this is a question for a Calc dev or for UX, so I'll toss it into ux-advise and cc a Calc dev for additional input.
Status -> NEW
This is not for the UX team. No calc formula bug has anything to do with the UX team.
Only references and named ranges are evaluated with INDIRECT, it can not evaluate arbitrary named expressions, it is not an interpreter for spreadsheet formulas. As you rightly noted, also Excel doesn't do this, so won't we.