Top Description Fields Constructors Methods
org.apache.poi.ss.formula.functions

public final Class Sumifs

extends Baseifs
Class Inheritance
Imports
org.apache.poi.ss.formula.eval.NumberEval, .ValueEval

Implementation for the Excel function SUMIFS

Syntax :

SUMIFS ( sum_range, criteria_range1, criteria1, [criteria_range2, criteria2], ...)

Field Summary

Modifier and TypeField and Description
public static final FreeRefFunction
instance

Singleton

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
protected Baseifs.Aggregator
protected boolean
hasInitialRange()

Implements abstract org.apache.poi.ss.formula.functions.Baseifs.hasInitialRange.

https://support.office.com/en-us/article/SUMIFS-function-c9e748f5-7ea7-455d-9406-611cebce642b COUNTIFS(sum_range, criteria_range1, criteria1, [criteria_range2, criteria2], ...

Inherited from org.apache.poi.ss.formula.functions.Baseifs:
convertRangeArgevaluate

Field Detail

instanceback to summary
public static final FreeRefFunction instance

Singleton

Constructor Detail

Sumifsback to summary
public Sumifs()

Method Detail

createAggregatorback to summary
protected Baseifs.Aggregator createAggregator()

Implements abstract org.apache.poi.ss.formula.functions.Baseifs.createAggregator.

Annotations
@Override
hasInitialRangeback to summary
protected boolean hasInitialRange()

Implements abstract org.apache.poi.ss.formula.functions.Baseifs.hasInitialRange.

https://support.office.com/en-us/article/SUMIFS-function-c9e748f5-7ea7-455d-9406-611cebce642b COUNTIFS(sum_range, criteria_range1, criteria1, [criteria_range2, criteria2], ... need at least 3 arguments and need to have an odd number of arguments (sum-range plus x*(criteria_range, criteria))

Returns:boolean

Doc from org.apache.poi.ss.formula.functions.Baseifs.hasInitialRange.

true if there should be a range argument before the criteria pairs

Annotations
@Override