You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by bu...@apache.org on 2011/06/06 16:24:38 UTC

DO NOT REPLY [Bug 50209] Evaluation of SUBTOTAL function seems to be incorrect

https://issues.apache.org/bugzilla/show_bug.cgi?id=50209

--- Comment #2 from uliwen <ul...@iconparc.de> 2011-06-06 14:24:38 UTC ---
Bugfix: Evaluation of Subtotals does not consider nested subtotals anymore

- test-files and test-data contained in new-files.tar
- java-subtotals.patch does not include test-files

Attachment: java-subtotals.patch and new-files.tar

Therefore:
1) Double-Values of referenced cells (not subtotals) are collected and used for
evaluation in class Subtotal
2) The Method getFunctionIndex is added to classes LazyAreaEval/AreaEvalBase,
SheetRefEvaluator and WorkbookEvaluator which seems to be the shortes path to
the WorkbookEvaluator
3) Functions Count and CountA are implemented directly in Subtotal.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org