Bug 91796 - Reopening a modified original Excel-Sheet converts "SUM"-formula to text string
Summary: Reopening a modified original Excel-Sheet converts "SUM"-formula to text string
Status: CLOSED WONTFIX
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
4.4.3.2 release
Hardware: x86-64 (AMD64) macOS (All)
: medium critical
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-06-01 15:08 UTC by Nico
Modified: 2016-08-04 20:23 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
comparison of original and reopened file (48.66 KB, image/png)
2015-06-01 15:08 UTC, Nico
Details
Saving the xls-document (75.19 KB, image/png)
2015-06-02 15:12 UTC, Nico
Details
Reopening (98.21 KB, image/png)
2015-06-02 15:13 UTC, Nico
Details
Sample-file (1.69 KB, application/zip)
2015-06-02 15:14 UTC, Nico
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nico 2015-06-01 15:08:20 UTC
Created attachment 116226 [details]
comparison of original and reopened file

1. Given an simple Excel-Sheet with one formula in a field.

2. Formula is in the form: "=SUMME(Y2:Y30)".

3. Modifying the sheet somewhere in order to trigger the save warning.

4. Select "Save" and on the warning choose "Use Microsoft Excel 2003 XML-Format". It saves and the content of the current open spreadsheet window stays as is.

5. Close the sheet.

6. Reopen the file and look at the cell with the formula. It now is destroyed and shows as being changed to the following text string:

of:]=SUM([.Y2:.Y3])
Comment 1 Nico 2015-06-01 15:21:03 UTC
Additional information:

After reopening the Excel-Sheet and manually retyping the "SUM"-formula, then saving again as Excel 2003 XML, closing and reopening that, the same modification takes place.
Comment 2 raal 2015-06-01 15:48:26 UTC Comment hidden (obsolete)
Comment 3 Nico 2015-06-02 15:12:28 UTC
Created attachment 116241 [details]
Saving the xls-document
Comment 4 Nico 2015-06-02 15:13:01 UTC
Created attachment 116242 [details]
Reopening
Comment 5 Nico 2015-06-02 15:14:37 UTC
Created attachment 116243 [details]
Sample-file
Comment 6 Nico 2015-06-02 15:16:50 UTC
I have added the sample xls-file. It is the xls-file already opened in LibreOffice 4.4.3.2 and saved as Excel 2003 XML and then reopened.

The application that originally generated the file unfortunately does not allow for anonymous data export.
Comment 7 Alex Thurgood 2015-06-02 16:01:54 UTC
Excel 15 for OSX tells me that the file in invalid xml, and there is an error with HTML style import displayed beforehand. The file then fails to open in Excel 15.
Comment 8 Alex Thurgood 2015-06-02 16:05:13 UTC
Cell W3 displays :
of:]=SUM([.W2:.W2])

Cells X3 and Y3 are also incorrect

in LO 4432 OSX 10.10.3
Comment 9 Eike Rathke 2016-08-04 20:23:18 UTC
In short: do not use the interim Excel 2003 XML file format, it is exported/imported only via an XML style sheet transformation and not maintained.

Use either ODF OpenDocument .ods or Excel 2007-2013 XML .xlsx file format.