Uploaded image for project: 'OASIS Open Document Format for Office Applications (OpenDocument) TC'
  1. OASIS Open Document Format for Office Applications (OpenDocument) TC
  2. OFFICE-3468

Changes needed for IFNA & IFERROR function definitions for empty cells

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Applied
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: ODF 1.2 CD 05
    • Fix Version/s: ODF 1.2 CD 06
    • Component/s: OpenFormula
    • Labels:
      None
    • Proposal:
      Hide

      Update as follows:

      For IFNA:

      Semantics: Computes X. If ISNA(X) is true, return Alternative, else return X.

      For IFERROR:

      Semantics: Computes X. If ISERROR(X) is true, return Alternative, else return X.

      Show
      Update as follows: For IFNA: Semantics: Computes X. If ISNA(X) is true, return Alternative, else return X. For IFERROR: Semantics: Computes X. If ISERROR(X) is true, return Alternative, else return X.

      Description

      For both IFNA & IFERROR, The function definitions currently state:

      Semantics: Computes X. If ISNA(X) is true, return Alternative, else return X. Thus this is semantically equivalent to IF(ISNA(X); Alternative; X), except that X is only computed once. If X or Alternative is a cell reference to an empty cell, it is treated as the empty string "".

      In both Open Office & Excel, the semantic equialent listed above, returns a zero, not an empty string. The function definition needs to be updated to allow for this.

        Attachments

          Activity

            People

            • Assignee:
              Patrick Patrick Durusau
              Reporter:
              ericpa Eric Patterson
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: