Todo
Check this properly matches excel on edge cases like formula cells, error cells etc
| Modifier and Type | Field and Description |
|---|---|
| private final CountUtils. | |
| private static final CountUtils. | |
| private static final CountUtils. | subtotalPredicate
matches hidden rows but not subtotals |
| private static final CountUtils. | subtotalVisibleOnlyPredicate
matches nither hidden rows or subtotals |
| Access | Constructor and Description |
|---|---|
| public | |
| private |
| Modifier and Type | Method and Description |
|---|---|
| public ValueEval | evaluate(ValueEval[]
the evaluated function arguments. Empty values are represented with
args, int BlankEval or MissingArgEval, never null.row index of the cell containing the formula under evaluation srcCellRow, int column index of the cell containing the formula under evaluation srcCellCol)Implements org.
|
| public static Count | Returns: functiontrue to include hidden rows in the aggregate, false to skip them includeHiddenRows)Create an instance of Count to use in If there are other subtotals within argument refs (or nested subtotals), these nested subtotals are ignored to avoid double counting. |
| _predicate | back to summary |
|---|---|
| private final CountUtils. | |
| defaultPredicate | back to summary |
|---|---|
| private static final CountUtils. | |
| subtotalPredicate | back to summary |
|---|---|
| private static final CountUtils. matches hidden rows but not subtotals | |
| subtotalVisibleOnlyPredicate | back to summary |
|---|---|
| private static final CountUtils. matches nither hidden rows or subtotals | |
| Count | back to summary |
|---|---|
| public Count() | |
| Count | back to summary |
|---|---|
| private Count(CountUtils. | |
| evaluate | back to summary |
|---|---|
| public ValueEval evaluate(ValueEval[] args, int srcCellRow, int srcCellCol) Implements org.
| |
| subtotalInstance | back to summary |
|---|---|
| public static Count subtotalInstance(boolean includeHiddenRows) Create an instance of Count to use in If there are other subtotals within argument refs (or nested subtotals), these nested subtotals are ignored to avoid double counting. | |