To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=87855
                 Issue #|87855
                 Summary|ODFF: VARA and STDEVA with text arguments -> error
               Component|Spreadsheet
                 Version|OOo 2.4.0
                Platform|All
                     URL|
              OS/Version|All
                  Status|UNCONFIRMED
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P4
            Subcomponent|programming
             Assigned to|spreadsheet
             Reported by|drking





------- Additional comments from [EMAIL PROTECTED] Fri Apr  4 07:38:07 +0000 
2008 -------
=STDEVA("red";1;2) gives Err:504 (parameter)
=STDEVA(0;1;2) gives 1 (OK)
=MAXA("red";1;2) is OK
=COUNTA("red";1;2) is OK
=AVERAGEA("red";1;2) is OK
=VARA("red";1;2) gives Err:504 (parameter)

ODFF (Dec07) is unclear what should happen, but it is fairly consistently 
unclear:-

"STDEVA( { Any sample }+ )
cells with text are converted to 0; other types are ignored.

AVERAGEA( { Any N }+ )
Cells containing text values are treated as if they contained number 0.

MAXA( { Any N }+ )
cells with text are converted to 0"

The implication is that a text parameter should be treated as 0, the same as a 
cell containing text. Really ODFF should be more specific - but whatever, Calc 
should treat text in these xxxA functions in the same way.

This is not a burning issue - but I think is worthwhile sorting out. People 
experimenting with these functions to find out how they work could easily try 
the examples I give.

Many thanks

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