Apache OpenOffice (AOO) Bugzilla – Issue 18721
Error using a MS Excel 97 file with formulas (IF, ABS)
Last modified: 2003-09-08 16:55:29 UTC
OpenOffice 6.0.8639.500 (ENG) with Microsoft Windows XP (SP1)(ITA) I have a spreadsheet created with Microsoft Excel 97 (Sr-2)(ITA) When I open it in OO I got an error (ERR:511) in the cell whith this: right forumula in Excel: IF((B2-A2)<0;24-Abs(B2-A2)*24;(B2-A2)*24) wrong formula in OO: IF((B2-A2)<0;24-(Abs;B2-A2)*24;(B2-A2)*24)
Created attachment 8802 [details] MS Excel 97 file
In Italian Excel and OOo Calc the function is named ASS. Therefore the entered function "Abs" is stored as unknown function call (you can see it because it is not converted to uppercase letters). The attached spreadsheet does not work correctly in Excel and OOo Calc (in cell B2, try to enter a time less than the time in A2, you will get a #NAME! error in Excel). The only difference is that OOo Calc detects the error even if the condition in the IF function is false, and the part with the wrong function is not evaluated. I see it as an advantage that Calc immediately notifies the user about an error in the function.
invalid->closed