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

public final Class Maxifs

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

Implementation for the Excel function MAXIFS

Syntax :

MAXIFS ( max_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.microsoft.com/en-us/office/maxifs-function-dfd611e6-da2c-488a-919b-9b6376b28883 MAXIFS(max_range, criteria_range1, criteria1, [criteria_range2, criteria2], ...) need at least 3 arguments and need to have an odd number of arguments (max-range plus x*(criteria_range, criteria))

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

Field Detail

instanceback to summary
public static final FreeRefFunction instance

Singleton

Constructor Detail

Maxifsback to summary
public Maxifs()

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.microsoft.com/en-us/office/maxifs-function-dfd611e6-da2c-488a-919b-9b6376b28883 MAXIFS(max_range, criteria_range1, criteria1, [criteria_range2, criteria2], ...) need at least 3 arguments and need to have an odd number of arguments (max-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