Apache OpenOffice (AOO) Bugzilla – Issue 6157
Formula not calculating properly in imported Excel sheet
Last modified: 2003-09-08 16:55:29 UTC
I recently received a Excel file that worked well in Excel but not in OpenOffice. Cell J14 had the formula =ROUND(C14*(E14*(1-F14))*(I14/366)*0.2;0) C14 = 1 E14 = 520 F14 = empty, no value G14 = 03/04/03 (date MM/DD/YY) H14 = 07/01/04 (date MM/DD/YY) I14 = =IF(H14-G14<=1;"";H14-G14+1) The cell J14 is displaying 0.00 when it should display 138.00 Only 1 row is correct. C17 = 1 E17 = 9,995 F17 = empty, no value G17 = 01/12/02 (date MM/DD/YY) H17 = 01/01/04 (date MM/DD/YY) Formulas are same as in row 14. And J17 displays 4296.00 as it should. I hope I have described this adequately. Regards Rick Baseley
Created attachment 2098 [details] Excel file where extended price comes up zero but shouldn't.
Hi Rick, this is not a bug. OOo can't calculate with numbers formated as text. C14, C15, C18 and C19 are formated as text. Only C17 is a 'true' number. So only the calculation which involves C17 can give the correct result. Never the less this is a double to Issue 5658. Best regards Frank *** This issue has been marked as a duplicate of 5658 ***
closed as duplicate