GNOME Bugzilla – Bug 650639
Incorrect interpretation of [$#REF!.$A$1] during ODF import
Last modified: 2011-05-20 21:10:59 UTC
Created attachment 188200 [details] sample file The attached file, created by localc 3.3.2, contains the named expression ProblemName defined as [$#REF!.$A$1]. Cell A1 uses that name in its formula. The expression [$#REF!.$A$1] is invalid (see the bug https://bugs.freedesktop.org/show_bug.cgi?id=37391 filed against localc). On import Gnumeric interprets this expression as [.$A$1]. This is incorrect. Since the expression is invalid it should be interpreted as an error, namely an invalid reference, (or in the case of a named expression it would be justifiable to ignore that expression). Both of these actions should have the same effect that A1 obtains the value #REF!.
A patch that would fix this problem has been attached to bug # 650640.
LibreOffice Calc will also save stuff such as [$Sheet1.$#REF!$1] and [$Sheet1.$A$#REF!] which aren't valid OpenFormula but we should probably handle too.
[$#REF!.$A$1] is now handled correctly. Keeping open for [$Sheet1.$#REF!$1] and [$Sheet1.$A$#REF!].
This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.