Function0Arg, Function1Arg, Function2Arg, Function3Arg, Function4ArgAddress, AggregateFunction, Bin2Dec, BooleanFunction, CalendarFieldFunction, Choose, Code, Column, Columns, Complex, ConcatEval, Count, Counta, Countblank, Countif, DateFunc, Days360, Dec2Bin, Dec2Hex, Delta, DStarRunner, Errortype, Even, FactDouble, FinanceFunction, Fixed, Fixed0ArgFunction, Fixed1ArgFunction, Fixed2ArgFunction, Fixed3ArgFunction, Fixed4ArgFunction, Hex2Dec, Hlookup, Hyperlink, IfFunc, Imaginary, ImReal, Index, Intercept, IntersectionEval, IPMT, Irr, LinearRegressionFunction, LogicalFunction, Lookup, Match, MinaMaxa, Mirr, Mode, MultiOperandNumericFunction, Na, NotImplementedFunction, Now, Npv, NumericFunction, NumericFunction.OneArg, NumericFunction.TwoArg, Oct2Dec, Odd, Offset, PercentEval, PPMT, Quotient, RangeEval, Rank, Rate, RelationalOperationEval, Replace, Rept, Roman, RowFunc, Rows, Slope, Substitute, Subtotal, Sumif, Sumproduct, Sumx2my2, Sumx2py2, Sumxmy2, T, TextFunction, TimeFunc, Today, TwoOperandNumericOperation, UnaryMinusEval, UnaryPlusEval, Value, Vlookup, WeekdayFunc, WeekNum, XYNumericFunctionpublic interface Function
| Modifier and Type | Method | Description |
|---|---|---|
ValueEval |
evaluate(ValueEval[] args,
int srcRowIndex,
int srcColumnIndex) |
ValueEval evaluate(ValueEval[] args, int srcRowIndex, int srcColumnIndex)
args - the evaluated function arguments. Empty values are represented with
BlankEval or MissingArgEval, never null.srcRowIndex - row index of the cell containing the formula under evaluationsrcColumnIndex - column index of the cell containing the formula under evaluationErrorEval, never null.
Note - Excel uses the error code #NUM! instead of IEEE NaN, so when
numeric functions evaluate to Double.NaN be sure to translate the result to ErrorEval.NUM_ERROR.Copyright 2018 The Apache Software Foundation or its licensors, as applicable.