6.15.59 SUBTOTAL - Fuction definition doesn't mention hidden rows or additional parameters

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major
    • ODF 1.2
    • Affects Version/s: None
    • Component/s: OpenFormula
    • None
    • Hide

      Change Semantics from
      The difference from the standard functions is that all members of the sequence which include a call to SUBTOTAL are ignored.
      to
      The difference from the standard functions is that all members of the sequence are excluded which

      • include a call to SUBTOTAL.
      • are in a row that is hidden by a table:visibility='filter' attribute of the <table:table-row> element.
      • are in a row that is hidden by a table:visibility='collapse' attribute of the <table:table-row> element if the function ID is one of 101...111.

      Change the simple list of functions to a table listing functions on rows, 1st column "Function" names, 2nd column "Exclude hidden by filter" IDs 1 to 11, 3rd column "Exclude hidden by filter or collapsed" IDs 101 to 111.

      Show
      Change Semantics from The difference from the standard functions is that all members of the sequence which include a call to SUBTOTAL are ignored. to The difference from the standard functions is that all members of the sequence are excluded which include a call to SUBTOTAL. are in a row that is hidden by a table:visibility='filter' attribute of the <table:table-row> element. are in a row that is hidden by a table:visibility='collapse' attribute of the <table:table-row> element if the function ID is one of 101...111. Change the simple list of functions to a table listing functions on rows, 1st column "Function" names, 2nd column "Exclude hidden by filter" IDs 1 to 11, 3rd column "Exclude hidden by filter or collapsed" IDs 101 to 111.

      One of the primary reasons for having a SUBTOTAL function is the special behavior of ignoring hidden rows and other subtotal functions within the input range. Also, some implementations also support values for functions in the range 101 to 111.

      The treatment of hidden cells needs to be described clearly. Excel ignores cells hidden by autofilter when the function arguments are in the range 1 to 11. When the function argument is in the range 101 to 111, cells hidden by other methods (manually hidden, table filter) are also excluded.

            Assignee:
            Eike Rathke (Inactive)
            Reporter:
            Eric Patterson (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: