Date: prev next · Thread: first prev next last
2014 Archives by date, by thread · List index

On 23/01/2013, Dennis E. Hamilton <> wrote:
ODF 1.0/1.1 did not specify a standard for spreadsheet formulas.  Formulas
were left implementation-specific.  Microsoft did not support the formulas.  Instead, they used Excel-specific
formulas in ODF 1.1. On input of a not-supported formula expression, Excel
in Office 2007 and 2010 drops the formula and preserves the last-calculated
value.  Whether a wise choice or not, that is what's done.

As Regina says, Office 2013 supports ODF 1.2, including its OpenFormula
specification.  OpenFormula is also used by current implementations of
LibreOffice and Apache OpenOffice when their documents are saved as ODF 1.2,
so there is interoperability of formulas shared between ODF 1.2 implementing

 - Dennis

-----Original Message-----
From: James Knott []
Sent: Wednesday, January 23, 2013 05:20
To: LibreOffice
Subject: Re: [libreoffice-users] how to tell m$ about ods formula behaviour

e-letter wrote:
after opening in m$ excel 2010 (yes, m$ can open ods
spreadsheets, so use that format please!!!) , the formulas were lost,
leaving only the result values in the spreadsheet cells.

Instead of reporting another erroneous LO bug, does someone know how
to forward this error with m4 excel 2010 to m$ bug reporting service?

That is a well known "feature" of MS Office.  Excel would replace
formulas with calculated values.  For some reason, MS thought that was
appropriate, even though no other spreadsheet app does that. This was
back in the days when MS was ramming their OOXML "standard" through ISO.

I believe, though don't know, that this has been corrected in later
versions of MS Office.  This is one bug that can be laid squarely at the
feet of MS and one might even suspect it was deliberate.

Bottom line, there's nothing for LO to fix.

As an alternative, can anyone confirm if formulae are kept in xml
formatted spreadsheets, for example of gnumeric or LO calc xml
spreadsheets are imported by m$? For example simple formula from
        <gnm:Cell Row="0" Col="0" ValueType="40">3</gnm:Cell>
        <gnm:Cell Row="1" Col="0" ValueType="40">5</gnm:Cell>
        <gnm:Cell Row="2" Col="0" ValueType="40">3</gnm:Cell>
        <gnm:Cell Row="3" Col="0">=(A1*A2)/A3</gnm:Cell>

from LO calc, saved as fods:
<table:table-row table:style-name="ro1">
table:formula="of:=([.A1]*[.A2])/[.A3]" office:value-type="float"

from LO calc, saved as m$ 2003 xml:
<Table ss:StyleID="ta1">
                        <Column ss:Width="64.2614"/>
                        <Row ss:Height="12.8126">
                                        <Data ss:Type="Number">3</Data>
                        <Row ss:Height="12.8126">
                                        <Data ss:Type="Number">5</Data>
                        <Row ss:Height="12.8126">
                                        <Data ss:Type="Number">3</Data>
                        <Row ss:Height="12.8126">
                                <Cell ss:Formula="of:=([.A1]*[.A2])/[.A3]">
                                        <Data ss:Type="Number">5</Data>

To unsubscribe e-mail to:
Posting guidelines + more:
List archive:
All messages sent to this list will be publicly archived and cannot be deleted


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.