To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=75638
                 Issue #|75638
                 Summary|Number format inkonsistent when using formula
               Component|Spreadsheet
                 Version|OOo 2.2 RC3
                Platform|All
                     URL|
              OS/Version|All
                  Status|UNCONFIRMED
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|editing
             Assigned to|spreadsheet
             Reported by|swubuntu





------- Additional comments from [EMAIL PROTECTED] Thu Mar 22 09:44:27 +0000 
2007 -------
Situation A:

One cell, having a special number format, contains some numeric value. A second
cell, having no special number format (number format is "Standard"), contains a
formula that is referencing to the first cell. The result of the formula in the
second cell shows up using the number format of the first cell. Nice feature.

Problem A:

When you change the number format of the first cell, the result in the second
cell is still being shown using the old number format of the first cell. In
order to refresh the application of the number format in the second cell you
need to retype the formula or you need to save, close and reopen the document.

To reproduce this bug, try the attached document problemA.ods:

(1) You can see the value 100 twice shown in number format "Currency".

(2) Note that A1 contains the numeric value 100 and has the number format
"Currency". Note that B1 contains a formula and has the number format 
"Standard".

(3) Change the number format of A1 from "Currency" to "Percent".

(4) Note that B1 is still showing Currency-Format.

(5.1) Retypte the formula (=A1) in B1
OR
(5.2) Save, close and reopen the document.

(6) Note that finally B1 is showing Percent-Format as well.


Situation B:

Now we have an Excel spreadsheet. One cell, having a special number format,
contains some numeric value. A second cell, having no special number format
(number format is "Standard"), contains a formula that is referencing to the
first cell. The result of the formula in the second cell shows up using
_no_special_ number format.

Problem B:

Even if you save the Excel file as ODF an reopen it, it still does not apply the
special number format of the first cell in the second cell. This is very
confusing, since now we do have a document similar to Sitation A but its
behaviour is different.

To reproduce this bug, try the attached document problemB.xls:

(1) You can see the value 100 shown in number format "Currency" in A1 and you
can see the value 100 shown in no special number format in B1.

(2) Note that A1 contains the numeric value 100 and has the number format
"Currency". Note that B1 contains a formula and has the number format 
"Standard".

(3) Note that this is a different behaviour to situation A using an ODF document
as discribed above.

(4) Save the document as an ODF. Reopen it.

(5) Note that B1 still does not apply the special number format of A1.

(6) Note that this still is a different behaviour to situation A using an ODF
document as discribed above.

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to