Apache OpenOffice (AOO) Bugzilla – Issue 94612
Excel incompatibility - string in a Math formula
Last modified: 2008-10-04 00:05:31 UTC
When you use a string that contains a numeric string, Excel will use it as a number. OpenOffice treats it as a zero regardless of the actual value. Example: B12: 8 E12: =IF(B12<5,"$59.99",IF(B12<15,"$49.99")) F12: 1.99 G12: 1.5 M12: =SUM((E12+F12+G12)+(E12+F12+G12)*0.069)*B12 (all cells except B12 formatted as currency) In this scenario, Excel will display: B12 | ... | E12 | F12 | G12 | .... | M12 8 ... | $49.99 | $1.99 | $1.50 | .... | $457.36 OpenOffice will display 8 ... $49.99 $1.99 $1.50 .... $29.85 This is similar to bug 6768, which I believe should not have been closed. Regardless of whether Excel's behavior is philosophically "logical" or "correct", when OpenOffice yields different mathematical results than Excel, that undermines trust in OpenOffice.
Sorry, but a string is a string and not a number. And BTW it's a double to Issue 5658 as stated in the Issue you mentioned. *** This issue has been marked as a duplicate of 5658 ***
closed double