Date: prev next · Thread: first prev next last
2021 Archives by date, by thread · List index

Ahh.  Now I understand.  I can see how that might be useful.
Sorry, but I don't know a way to do that right now.
Seems like that might be a relatively easy thing to do,
but I don't know how.


On 6/9/21 8:24 PM, Alan B wrote:
Not at all what I'm trying to do. Distinct values have their uses. But I already knew how to do that.

I'm trying to display the AutoFilter values being applied to a table so they can be read without opening up each filter at the top of each column to see what the settings are.

For example, three columns Name, Weight, Dimensions. The table has 1000 rows. AutoFilter is in use and 727 rows are displayed. What are the filter settings? Sure, can tell if a filter is applied by looking at the filter list widget and opening it if it shows the filter is in use. And even if all three are in use, no big deal. Only three to open and check the values.

When the table has 30+ columns and hundreds or thousands of rows, not such a simple task. Much more convenient just to have a formula that will display the settings of all applied filters.

If I'm not explaining the requirement clearly please look at the link to the Excel solution. That's got pictures along with an explanation of the problem and solution.

That's what I'd like to reproduce in Calc.

On Wed, Jun 9, 2021 at 6:49 AM Mike Flannigan < <>> wrote:

    See this:

    You can use Ctrl-z to undo the command, but don't use Ctrl-Shift-y
    to redo it
    on another column.  You must go through the command again on
    another column
    and then do Ctrl-z again.


    On 6/9/21 3:07 AM,
    <> wrote:
    Many moons ago I was using some Calc sheets with AutoFilter routinely. The
    filter value would be changed, the sheet closed and sometime later opened

    To understand the displayed rows the filter values needed to be known. And
    that involved opening each filter and checking the value.

    So I asked, is there a way to display those values? No answers. And the
    need went away.

    Just recently had the same need in Excel. Found online the exact answer
    needed to make it work.
    The section "Display / Show auto filter criteria in worksheet with VBA
    code" is what I referenced.

    I've used that info to try and extrapolate a similar method in Calc to no

    Have done a limited amount of searching in Andrew Pitonyak's
    Macros Explained book and searched through OASIS Open Document Format
    documents using terms like "filter" and "range". The answer might have been
    staring me in the face, I'm thinking in particular of section 15.6.3 of
    Andrew Pitonyak's Macros Explained, but I just didn't
    understand it.

    Can anyone provide guidance to display the autofilter values in a Calc
    sheet equivalent to the instructions provided for Excel at the link above?

    Thank you.

Alan Boba
CISSP, CCENT, ITIL v3 Foundations 2011

To unsubscribe e-mail to:
Posting guidelines + more:
List archive:
Privacy Policy:


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.