[Libreoffice-bugs] [Bug 133506] New: Subtotal function to obtain the number of particular non numeric values

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Fri May 29 21:29:52 UTC 2020


https://bugs.documentfoundation.org/show_bug.cgi?id=133506

            Bug ID: 133506
           Summary: Subtotal function to obtain the number of particular
                    non numeric values
           Product: LibreOffice
           Version: 6.4.4.2 release
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: medium
         Component: Calc
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: thierry.munoz at free.fr

Description:
With the subtotal function it's easy to obtain the number of filtered values
with the function SUBTOTAL(3;cells_range).
But it's not possible to obtain the number of filtered values where there is a
particular text value.

Steps to Reproduce:
1.Open the attachment file to understand the enhancement requested.
2.There is an array1 with autofilter in A1:B13
3.There is an array2 in A16:B19 to display, in yellow cells, the number of
values (P, D and A) of the filtered array1 with column A values.
4. Now, to obtain the results in array2, we need to use an other column in
array1 with a subtotal formula (for instance, in C2 the formula is
"=IF(SUBTOTAL(3,B2),B2,"").

Actual Results:
It seems not possible to obtain directly this with SUBTOTAL formula.

Expected Results:
Enhance SUBTOTAL formula to count the number of particular values after
applying a filter.
It could be "=SUBTOTAL(3;COUNTIF(range;criteria))" or
"=SUBTOTAL(3;range;criteria)".


Reproducible: Always


User Profile Reset: No



Additional Info:

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20200529/b3a3de87/attachment-0001.htm>


More information about the Libreoffice-bugs mailing list