To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=61329





------- Additional comments from [EMAIL PROTECTED] Wed Feb  8 21:45:03 -0800 
2006 -------
The problem arises with the string values in the IF formulas in Column V of the
attached example Excel file.

Equation that works in Excel, but gives Error 503 in OpenOffice.org
=IF(U5<165,"2",IF(U5<285,"3",IF(U5<370,"4",IF(U5<500,"4",IF(U5<650,"6",IF(U5<1000,"4",IF(U5<1305,"6","Large
Shear")))))))

Equation corrected to work in OpenOffice.org
=IF(U5<165;2;IF(U5<285;3;IF(U5<370;4;IF(U5<500;4;IF(U5<650;6;IF(U5<1000;4;IF(U5<1305;6;"Large
Shear")))))))

Note the only difference is the removal of the quotes around the values to enter
in the cells based on the condition resulting in the entry of a number rather
than a string.

A very simplified example of the problem:

Excel
A1 =100/2       results in 50
A1 =100/"2"     results in 50

A1 100  B1 2    C1=A1/B1 results in 50
A1 100  B1 "2"  C1=A1/B1 results in #VALUE!
A1 100  B1 ="2" C1=A1/B1 results in 50
A1 100  B1 '2   C1=A1/B1 results in 50

OpenOffice.org
A1     =100/2   results in 50
A1     =100/"2" results in 50

A1 100  B1 2    C1=A1/B1 results in 50
A1 100  B1 "2"  C1=A1/B1 results in Error:503 <-- This is correct error
A1 100  B1 ="2" C1=A1/B1 results in Error:503 <-- This is incorrect error
A1 100  B1 '2   C1=A1/B1 results in Error:503 <-- This is incorrect error

Notice that if =100/"2" works in a single cell, there is no apparent reason that
A1 100 B1 ="2" C1=A1/B1 should not result in the same answer.



---------------------------------------------------------------------
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