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


Hi Eike,

As you know I am working on the function AGGREGATE.
This function seems to be an expansion of SUBTOTAL and I have a working version of AGGREGATE which 
can handle all 19 functions.

However, the second argument of AGGREGATE (options) is somewhat problematic.
There are 7 different combinations of values to be ignored in the evaluation range, essentially 
combinations of ignore hidden rows (not hidden columns or hidden cells), ignore error values and 
ignore nested SUBTOTAL/AGGREGATE functions.
I cannot use the Auto Filter as used by calc for SUBTOTAL.
I don't want to reinvent wheels, nor do I want to rewrite all 19 functions to accomodate the 
options of AGGREGATE unless really neccessary.

Do you have any suggestions for an efficient implementation of these options?

To make a little clearer what I'm rambling about, the attached code snippet shows my current 
version of AGGREGATE.



Winfried


Attachment: fdo73148.cxx
Description: fdo73148.cxx


Context


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.