Bug 38356 - Saving formula in Excel XML format is invalid
Summary: Saving formula in Excel XML format is invalid
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
(earliest affected)
3.4.0 release
Hardware: All All
: medium normal
Assignee: Not Assigned
Depends on:
Blocks: MSO-XML2003
  Show dependency treegraph
Reported: 2011-06-15 14:53 UTC by Yogurt
Modified: 2020-03-13 18:37 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Note You need to log in before you can comment on or make changes to this bug.
Description Yogurt 2011-06-15 14:53:58 UTC
1. Create a new spreadsheet.
2. Enter a number in A1.
3. Enter a number in A2.
4. Write "=SUM(A1:A2)" in A3 (or your localized equivalent of SUM).
5. Save as Excel 2003 XML format.
6. Reopen the saved file in LibO Calc, or MS Excel, or check it with your favourite text editor.

Expected behaviour:
<Cell ss:Formula="=SUM([.A1:.A2])"> is written.
What really happens:
<Cell ss:Formula="of:=SUM([.A1:.A2])"> is written.

What is that extra "of:" there?

LibreOffice 3.4.0
OOO340m1 (Build:12)
with the Hungarian Pack
on Windows 7 x64
Comment 1 Björn Michaelsen 2011-12-23 12:21:59 UTC Comment hidden (obsolete)
Comment 2 Yogurt 2012-03-26 05:47:42 UTC
This bug is still present in LibreOffice 3.5.1 release.
Comment 3 A (Andy) 2013-03-10 10:22:11 UTC
reproducible with LO (Win7 Home, 64bit)

the formula is broken
Comment 4 Ruslan Fatakhov 2014-03-30 17:21:32 UTC
reproducible with LO Calc (Win XP, Ubuntu 13.10)

the formula is broken
Comment 5 Joel Madero 2015-05-02 15:42:11 UTC Comment hidden (obsolete)
Comment 6 Buovjaga 2015-06-20 15:09:31 UTC
Still true.

Win 7 Pro 64-bit Version:
Build ID: 3ecef8cedb215e49237a11607197edc91639bfcd
TinderBox: Win-x86@62-merge-TDF, Branch:MASTER, Time: 2015-06-19_23:16:58
Locale: fi-FI (fi_FI)
Comment 7 QA Administrators 2016-09-20 10:11:30 UTC Comment hidden (obsolete)
Comment 8 raal 2018-06-12 19:13:46 UTC
repro LO 6,win7

XML generated by excel:
<Cell ss:Formula="=SUM(R[-2]C:R[-1]C)"><Data ss:Type="Number">3</Data></Cell>
Comment 9 QA Administrators 2019-06-13 03:01:03 UTC Comment hidden (obsolete)
Comment 10 Yogurt 2020-03-13 18:37:40 UTC
It was an easy solution for this problem guys. :-/

The Excel 2003 XML format was removed from Calc, so this bug is no longer present in LO 6.4 as one cannot save in Excel 2003 XML at all. Not only formulas, nothing.


Verzió: (x64)
Build az.: 4d224e95b98b138af42a64d84056446d09082932
CPU szálak: 12; OS: Windows 10.0 Build 18363; Felületmegjelenítés: alapértelmezett; VCL: win; 
Területi beállítások: hu-HU (hu_HU); Felület nyelve: hu-HU
Calc: threaded