Apache OpenOffice (AOO) Bugzilla – Issue 104714
Remove undocumented AND and OR infix operators
Last modified: 2017-05-20 11:11:51 UTC
For reproducing this bug you should have OOo in english as well as in german localization. First try with englisch OOo: (1) Open new spreadsheet (2) In A2 enter: =IF((A1>=0.1)AND(A1<1);1;0) (3) Result is: 0 or 1 depending on your value in A1 Ok, so far. (4) In A2 enter: =IF(A1>=0.1AND(A1<1);1;0) (5) Missing brackets lead to result: #NAME? Ok, so far. Now try with german OOo: (1) Open new spreadsheet (2) In A2 enter: =WENN(A1>=0,1UND(A1<1),1,0) (3) Missing brackets do *NOT* lead to an error. (4) Result is: 0 or 1 depending on your value in A1 (5) Save, close and reopen the document (6) You get: =WENN(A1>=0.1and(A1<1);1;0) (7) Formula is not usable anymore. The defect is, that Calc accepted the wrong formula with missing brackets in german step 2.
Sorry for a typo in the bug description above! Step 2 in german must read: (2) In A2 enter: =WENN(A1>=0,1UND(A1<1);1;0)
We should completely remove this undocumented and error prone legacy "feature". Other applications opening an ODF document wouldn't be able to calculate that anyway.
Reset assigne to the default "issues@openoffice.apache.org".