From: PJ Fanning Date: Tue, 25 Jan 2022 23:42:27 +0000 (+0000) Subject: normsinv function X-Git-Tag: REL_5_2_1~147 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=59fd293fadc4d6603f4493d24473d916c90f65d2;p=poi.git normsinv function git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1897480 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/poi/src/main/java/org/apache/poi/ss/formula/atp/AnalysisToolPak.java b/poi/src/main/java/org/apache/poi/ss/formula/atp/AnalysisToolPak.java index 341ce5b55f..cff8acc520 100644 --- a/poi/src/main/java/org/apache/poi/ss/formula/atp/AnalysisToolPak.java +++ b/poi/src/main/java/org/apache/poi/ss/formula/atp/AnalysisToolPak.java @@ -152,6 +152,7 @@ public final class AnalysisToolPak implements UDFFinder { r(m, "NORM.DIST", NormDist.instance); r(m, "NORM.S.DIST", NormSDist.instance); r(m, "NORM.INV", NormInv.instance); + r(m, "NORM.S.INV", NormSInv.instance); r(m, "NUMBERVALUE", NumberValueFunction.instance); r(m, "OCT2BIN", null); r(m, "OCT2DEC", Oct2Dec.instance); diff --git a/poi/src/main/java/org/apache/poi/ss/formula/eval/FunctionEval.java b/poi/src/main/java/org/apache/poi/ss/formula/eval/FunctionEval.java index 471b77e02c..60899ae9ed 100644 --- a/poi/src/main/java/org/apache/poi/ss/formula/eval/FunctionEval.java +++ b/poi/src/main/java/org/apache/poi/ss/formula/eval/FunctionEval.java @@ -275,7 +275,7 @@ public final class FunctionEval { retval[293] = NormDist.instance; retval[294] = NormSDist.instance; retval[295] = NormInv.instance; - // 296: NORMSINV + retval[296] = NormSInv.instance; // 297: STANDARDIZE retval[298] = NumericFunction.ODD; // 299: PERMUT diff --git a/poi/src/main/java/org/apache/poi/ss/formula/functions/NormSDist.java b/poi/src/main/java/org/apache/poi/ss/formula/functions/NormSDist.java index 3be6721604..1df2763472 100644 --- a/poi/src/main/java/org/apache/poi/ss/formula/functions/NormSDist.java +++ b/poi/src/main/java/org/apache/poi/ss/formula/functions/NormSDist.java @@ -25,7 +25,7 @@ import org.apache.poi.ss.formula.eval.OperandResolver; import org.apache.poi.ss.formula.eval.ValueEval; /** - * Implementation for Excel NORMSDIST() function.

+ * Implementation for Excel NORMSDIST() and NORM.S.DIST functions.

*