@sheetxl/formulas 0.7.27 → 0.7.28-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +136 -12
- package/browser/cjs/1XrWGMP3GmsQOMIX.cjs +1 -0
- package/browser/cjs/49_x589Na12sizKK.cjs +1 -0
- package/browser/cjs/4nReftSsKWmnRdtf.cjs +1 -0
- package/browser/cjs/507hQYooKKjnRzsZ.cjs +1 -0
- package/browser/cjs/BAxVLKkxFgI6cXnR.cjs +1 -0
- package/browser/cjs/BK0SCfN_VZYqBxoQ.cjs +1 -0
- package/browser/cjs/Btc0Nzu40VYOpzLX.cjs +1 -0
- package/browser/cjs/C9C-pr-T_ThweQX9.cjs +1 -0
- package/browser/cjs/CJYewYJ5Z3iojl7J.cjs +1 -0
- package/browser/cjs/CRx1WvmgBjT8WVyB.cjs +1 -0
- package/browser/cjs/CV4KQsHluMqo1I2Q.cjs +1 -0
- package/browser/cjs/CXlzsh_WHCOsErJ1.cjs +1 -0
- package/browser/cjs/CpJJh4UnFl1_qFui.cjs +1 -0
- package/browser/cjs/CrZlUtdX1h2RUnCP.cjs +1 -0
- package/browser/cjs/D8-KovdJ0LjxqCe2.cjs +1 -0
- package/browser/cjs/DCIlWcGDrp-5PDoA.cjs +1 -0
- package/browser/cjs/DDnGLOLTqLFsdUDS.cjs +1 -0
- package/browser/cjs/DG2kqsWRUtVugjay.cjs +1 -0
- package/browser/cjs/DM7-R_ltoLbA9jde.cjs +1 -0
- package/browser/cjs/DNKyaSruDogoBd2H.cjs +1 -0
- package/browser/cjs/Du4jBiFxRIF1OjD4.cjs +1 -0
- package/browser/cjs/EeOVMRq7TuptFKTc.cjs +1 -0
- package/browser/cjs/Kvn916ebqGc4t6hv.cjs +1 -0
- package/browser/cjs/aONv0Ys3C8xmnaR8.cjs +1 -0
- package/browser/cjs/index.cjs +1 -6
- package/browser/cjs/z_rZE1OHFPpdGBh4.cjs +1 -0
- package/browser/esm/B00UnPvEAkPkBES0.mjs +21 -0
- package/browser/esm/BMOy-29kM8QKSXAA.mjs +316 -0
- package/browser/esm/BTwaInIwOYixmjEI.mjs +23 -0
- package/browser/esm/BVcAlvEdsM6nrdMi.mjs +24 -0
- package/browser/esm/BbAe5bgfHEREMZHH.mjs +96 -0
- package/browser/esm/BbxTHuwQRw9Q2Yk4.mjs +382 -0
- package/browser/esm/BdWPkyDEfOSORikD.mjs +28 -0
- package/browser/esm/CDHIW0fz5goCgqWd.mjs +123 -0
- package/browser/esm/CHIg7-M9TGMfmdss.mjs +105 -0
- package/browser/esm/CT2Mx78hoGrtXGGc.mjs +37 -0
- package/browser/esm/CzY0HOXVgv9HM917.mjs +13 -0
- package/browser/esm/D--3bRsKlG0pbw1W.mjs +111 -0
- package/browser/esm/D85giwE9k8tjVhRt.mjs +319 -0
- package/browser/esm/DCo9qXQklIlMDf1F.mjs +12 -0
- package/browser/esm/DXCZWZ7sM3_YT_1j.mjs +146 -0
- package/browser/esm/D_-1XUpmS6dtfCBh.mjs +119 -0
- package/browser/esm/Dft0O81rt55l5ZPx.mjs +22 -0
- package/browser/esm/Dpe3qlV_AVenWc7u.mjs +14 -0
- package/browser/esm/FN6OQFCYtpPy-ZGy.mjs +17 -0
- package/browser/esm/FNQCkMr4-0zUGiVT.mjs +860 -0
- package/browser/esm/YndGL8daSV3kCBM7.mjs +138 -0
- package/browser/esm/index.mjs +13173 -13
- package/browser/esm/lm5NLBN11iNAiJh_.mjs +28 -0
- package/browser/esm/oPZX92aKdMLlSZpq.mjs +15 -0
- package/browser/esm/tq8bbbAwRbbuTwtH.mjs +173 -0
- package/browser/esm/zTYqn0nYRbk30lHy.mjs +144 -0
- package/licenses/dependencies.txt +92 -1
- package/node/esm/B00UnPvEAkPkBES0.mjs +21 -0
- package/node/esm/B1fcULoMBcva83xT.mjs +14 -0
- package/node/esm/BMOy-29kM8QKSXAA.mjs +316 -0
- package/node/esm/BTwaInIwOYixmjEI.mjs +23 -0
- package/node/esm/BVcAlvEdsM6nrdMi.mjs +24 -0
- package/node/esm/BX7yXzCInSe9fUVy.mjs +28 -0
- package/node/esm/BbAe5bgfHEREMZHH.mjs +96 -0
- package/node/esm/BbxTHuwQRw9Q2Yk4.mjs +382 -0
- package/node/esm/BdWPkyDEfOSORikD.mjs +28 -0
- package/node/esm/BhgO3MAcneYe97dY.mjs +13 -0
- package/node/esm/CDHIW0fz5goCgqWd.mjs +123 -0
- package/node/esm/CHIg7-M9TGMfmdss.mjs +105 -0
- package/node/esm/CT2Mx78hoGrtXGGc.mjs +37 -0
- package/node/esm/D--3bRsKlG0pbw1W.mjs +111 -0
- package/node/esm/D8J2HQnvcmSMPRoj.mjs +319 -0
- package/node/esm/DCo9qXQklIlMDf1F.mjs +12 -0
- package/node/esm/DXCZWZ7sM3_YT_1j.mjs +146 -0
- package/node/esm/DXEtJwyiQ0VV4Hhd.mjs +15 -0
- package/node/esm/D_-1XUpmS6dtfCBh.mjs +119 -0
- package/node/esm/Dft0O81rt55l5ZPx.mjs +22 -0
- package/node/esm/FN6OQFCYtpPy-ZGy.mjs +17 -0
- package/node/esm/FNQCkMr4-0zUGiVT.mjs +860 -0
- package/node/esm/YndGL8daSV3kCBM7.mjs +138 -0
- package/node/esm/index.mjs +11091 -13
- package/node/esm/tq8bbbAwRbbuTwtH.mjs +173 -0
- package/node/esm/zTYqn0nYRbk30lHy.mjs +144 -0
- package/package.json +4 -3
- package/resources/contents.json +14 -0
- package/resources/locales/contents.json +9 -0
- package/resources/locales/de/functions.json +298 -0
- package/types/index.d.ts +4 -17
- package/types/src/.generated/decl/database/Database.decl.d.ts +4 -0
- package/types/src/.generated/decl/dateTime/Date.decl.d.ts +4 -0
- package/types/src/.generated/decl/engineering/Bessel.decl.d.ts +4 -0
- package/types/src/.generated/decl/engineering/Bitwise.decl.d.ts +4 -0
- package/types/src/.generated/decl/engineering/Convert.decl.d.ts +4 -0
- package/types/src/.generated/decl/engineering/Engineering.decl.d.ts +4 -0
- package/types/src/.generated/decl/engineering/Error.decl.d.ts +4 -0
- package/types/src/.generated/decl/engineering/Imaginary.decl.d.ts +4 -0
- package/types/src/.generated/decl/information/Information.decl.d.ts +4 -0
- package/types/src/.generated/decl/japanese/Date.decl.d.ts +4 -0
- package/types/src/.generated/decl/japanese/Text.decl.d.ts +4 -0
- package/types/src/.generated/decl/logical/Logical.decl.d.ts +4 -0
- package/types/src/.generated/decl/lookupReference/GroupBy.decl.d.ts +4 -0
- package/types/src/.generated/decl/lookupReference/PivotBy.decl.d.ts +4 -0
- package/types/src/.generated/decl/lookupReference/Reference.decl.d.ts +4 -0
- package/types/src/.generated/decl/mathTrig/Math.decl.d.ts +4 -0
- package/types/src/.generated/decl/mathTrig/Trig.decl.d.ts +4 -0
- package/types/src/.generated/decl/operators/Operators.decl.d.ts +4 -0
- package/types/src/.generated/decl/statistical/Distribution.decl.d.ts +4 -0
- package/types/src/.generated/decl/statistical/Statistical.decl.d.ts +4 -0
- package/types/src/.generated/decl/testing/Testing.decl.d.ts +4 -0
- package/types/src/.generated/decl/text/Text.decl.d.ts +4 -0
- package/types/src/.generated/decl/thai/Text.decl.d.ts +4 -0
- package/types/src/.generated/decl/web/FilterXML.decl.d.ts +4 -0
- package/types/src/.generated/decl/web/Web.decl.d.ts +4 -0
- package/types/src/.generated/desc/database/Database.desc.d.ts +4 -0
- package/types/src/.generated/desc/dateTime/Date.desc.d.ts +4 -0
- package/types/src/.generated/desc/engineering/Bessel.desc.d.ts +4 -0
- package/types/src/.generated/desc/engineering/Bitwise.desc.d.ts +4 -0
- package/types/src/.generated/desc/engineering/Convert.desc.d.ts +4 -0
- package/types/src/.generated/desc/engineering/Engineering.desc.d.ts +4 -0
- package/types/src/.generated/desc/engineering/Error.desc.d.ts +4 -0
- package/types/src/.generated/desc/engineering/Imaginary.desc.d.ts +4 -0
- package/types/src/.generated/desc/information/Information.desc.d.ts +4 -0
- package/types/src/.generated/desc/japanese/Date.desc.d.ts +4 -0
- package/types/src/.generated/desc/japanese/Text.desc.d.ts +4 -0
- package/types/src/.generated/desc/logical/Logical.desc.d.ts +4 -0
- package/types/src/.generated/desc/lookupReference/GroupBy.desc.d.ts +4 -0
- package/types/src/.generated/desc/lookupReference/PivotBy.desc.d.ts +4 -0
- package/types/src/.generated/desc/lookupReference/Reference.desc.d.ts +4 -0
- package/types/src/.generated/desc/mathTrig/Math.desc.d.ts +4 -0
- package/types/src/.generated/desc/mathTrig/Trig.desc.d.ts +4 -0
- package/types/src/.generated/desc/operators/Operators.desc.d.ts +4 -0
- package/types/src/.generated/desc/statistical/Distribution.desc.d.ts +4 -0
- package/types/src/.generated/desc/statistical/Statistical.desc.d.ts +4 -0
- package/types/src/.generated/desc/testing/Testing.desc.d.ts +4 -0
- package/types/src/.generated/desc/text/Text.desc.d.ts +4 -0
- package/types/src/.generated/desc/thai/Text.desc.d.ts +4 -0
- package/types/src/.generated/desc/web/FilterXML.desc.d.ts +4 -0
- package/types/src/.generated/desc/web/Web.desc.d.ts +4 -0
- package/types/src/.generated/index.d.ts +7 -0
- package/types/src/_utils/AggregateIFS.d.ts +39 -0
- package/types/src/_utils/Consts.d.ts +14 -0
- package/types/src/_utils/Errors.d.ts +33 -0
- package/types/src/_utils/ReduceIf.d.ts +26 -0
- package/types/src/database/Database.d.ts +86 -0
- package/types/src/dateTime/Date.d.ts +139 -0
- package/types/src/engineering/Bessel.d.ts +26 -0
- package/types/src/engineering/Bitwise.d.ts +101 -0
- package/types/src/engineering/Convert.d.ts +9 -0
- package/types/src/engineering/Engineering.d.ts +14 -0
- package/types/src/engineering/Error.d.ts +25 -0
- package/types/src/engineering/Imaginary.d.ts +155 -0
- package/types/src/information/Information.d.ts +166 -0
- package/types/src/japanese/Date.d.ts +15 -0
- package/types/src/japanese/Text.d.ts +8 -0
- package/types/src/logical/Logical.d.ts +133 -0
- package/types/src/lookupReference/GroupBy.d.ts +19 -0
- package/types/src/lookupReference/PivotBy.d.ts +24 -0
- package/types/src/lookupReference/Reference.d.ts +296 -0
- package/types/src/mathTrig/Math.d.ts +430 -0
- package/types/src/mathTrig/Trig.d.ts +107 -0
- package/types/src/operators/Operators.d.ts +107 -0
- package/types/src/statistical/Distribution.d.ts +858 -0
- package/types/src/statistical/Statistical.d.ts +165 -0
- package/types/src/testing/Testing.d.ts +28 -0
- package/types/src/text/Text.d.ts +312 -0
- package/types/src/thai/Text.d.ts +8 -0
- package/types/src/web/FilterXML.d.ts +8 -0
- package/types/src/web/Web.d.ts +11 -0
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { IRange, IFormulaContext, IReferenceRange, Scalar } from '@sheetxl/primitives';
|
|
2
|
+
/**
|
|
3
|
+
* Internal helper for the *IFS family of aggregation functions.
|
|
4
|
+
* Folds the positions that satisfy EVERY `[criteriaRange, criteria]` pair.
|
|
5
|
+
*
|
|
6
|
+
* @param context - The formula context.
|
|
7
|
+
* @param pairs - The `[criteriaRange, criteria]` groups to evaluate. Each criteria is a single
|
|
8
|
+
* VALUE: the slot is declared `AcceptError<Scalar>`, so a range in that position is lifted by
|
|
9
|
+
* the engine and this helper is called once per element.
|
|
10
|
+
* @param aggregateFn - Called for each matching cell position with
|
|
11
|
+
* `(accumulator, value)`. `accumulator` is `null` on the first matching call.
|
|
12
|
+
* Return `accumulator` unchanged to skip a value (e.g. non-numeric).
|
|
13
|
+
* @param aggRange - Optional range to read aggregate values from. When omitted
|
|
14
|
+
* `value` is passed as `true` (useful for COUNTIFS-style counting).
|
|
15
|
+
* @param noMatchDefault - Value to return when no cells match (default `0`).
|
|
16
|
+
* Pass `null` when the caller needs to distinguish "zero sum" from "no match"
|
|
17
|
+
* (e.g. AVERAGEIFS, which must return `#DIV/0!` on no match).
|
|
18
|
+
* @param emptyFold - The contribution of the positions that are blank in every range, in closed
|
|
19
|
+
* form, applied only when EVERY criteria matches a blank. Required, and `null` (a blank
|
|
20
|
+
* contributes nothing) is a choice like any other: a forgotten blank term is a silently wrong
|
|
21
|
+
* answer, not a slow one.
|
|
22
|
+
*
|
|
23
|
+
* @remarks
|
|
24
|
+
* ### One sparse pass, no mask
|
|
25
|
+
*
|
|
26
|
+
* This used to build a boolean mask range per criteria pair, `broadcast` them together and then
|
|
27
|
+
* walk the result. Each of those is a full-extent pass, so a whole-column `COUNTIFS` allocated and
|
|
28
|
+
* visited several million cells to answer a question about a few dozen. `alignReduce` races the
|
|
29
|
+
* sides' STORED members instead — a position blank everywhere is never visited, and the mask never
|
|
30
|
+
* exists.
|
|
31
|
+
*
|
|
32
|
+
* Blanks keep their meaning through `emptyFold`: whether a blank matches is a constant per
|
|
33
|
+
* criteria (`evaluator(null)`), so the blank positions contribute one term stated once rather
|
|
34
|
+
* than a million evaluations. Measured, `COUNTIFS(A:A,"<>10")` is 1,048,576 and
|
|
35
|
+
* `COUNTIFS(A:A,"<>10",B:B,">0")` is the handful B has members at — the second pair rejects
|
|
36
|
+
* blanks, so the blank term drops out on its own (probe-criteria-blank.ps1).
|
|
37
|
+
*/
|
|
38
|
+
export declare function aggregateIFS(context: IFormulaContext, pairs: readonly [criteriaRange: IReferenceRange | IRange, criteria: Scalar][], aggregateFn: (accumulator: Scalar, value: Scalar) => Scalar, aggRange: IRange | undefined, noMatchDefault: Scalar, emptyFold: ((accumulator: Scalar, count: number) => Scalar) | null): Scalar;
|
|
39
|
+
//# sourceMappingURL=AggregateIFS.d.ts.map
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export declare const IncludeEmpty: Readonly<{
|
|
2
|
+
includeEmpty: true;
|
|
3
|
+
}>;
|
|
4
|
+
export declare const ColumnOriented: Readonly<{
|
|
5
|
+
axis: "column";
|
|
6
|
+
}>;
|
|
7
|
+
export declare const RowOriented: Readonly<{
|
|
8
|
+
axis: "row";
|
|
9
|
+
}>;
|
|
10
|
+
export declare const ColumnOrientedNumbers: Readonly<{
|
|
11
|
+
type: "number";
|
|
12
|
+
axis: "column";
|
|
13
|
+
}>;
|
|
14
|
+
//# sourceMappingURL=Consts.d.ts.map
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { IRange, Scalar } from '@sheetxl/primitives';
|
|
2
|
+
/**
|
|
3
|
+
* Throws the first error member (row-major) — the in-body form of the engine's reject scan,
|
|
4
|
+
* for functions that cannot use the engine's reject default. Call it once per range, in
|
|
5
|
+
* ARGUMENT order, where a function takes several.
|
|
6
|
+
*
|
|
7
|
+
* Three reasons a function ends up here, all measured:
|
|
8
|
+
* * its policy depends on a runtime argument (SUBTOTAL/AGGREGATE options),
|
|
9
|
+
* * or on which rows matched (the database family),
|
|
10
|
+
* * or one of its own verdicts OUTRANKS a member error, so the scan has to run after that check
|
|
11
|
+
* rather than before the body. The count mismatch is the one that does this
|
|
12
|
+
* (`CHISQ.TEST(<3 cells with an error>, <2 cells>)` is `#N/A`, not the error — the same rule
|
|
13
|
+
* the SUMX2MY2 family and `PROB` follow); every other validation loses to the error and needs
|
|
14
|
+
* no in-body scan at all.
|
|
15
|
+
*
|
|
16
|
+
* Those parameters declare `AcceptError` to keep the engine's reject default off; everything
|
|
17
|
+
* with a static reject policy needs no marker at all. Callers hand UNTYPED ranges, so the read
|
|
18
|
+
* is already raw.
|
|
19
|
+
*/
|
|
20
|
+
export declare function throwFirstErrorMember(range: IRange): void;
|
|
21
|
+
/**
|
|
22
|
+
* Wraps a value-aggregating reduce callback (SUMIF / AVERAGEIF / MAXIFS / …) so an error in a
|
|
23
|
+
* MATCHED member becomes the whole result, while a non-matched one stays invisible.
|
|
24
|
+
*
|
|
25
|
+
* The selectivity is the point: the conditional aggregates cannot use the engine's reject default,
|
|
26
|
+
* because it would fault on an error the criteria excluded. They follow the same matched-rows-only
|
|
27
|
+
* rule as the database family. The first matched error in scan order wins, not a fixed rank by
|
|
28
|
+
* error kind, which is what latching the accumulator gives.
|
|
29
|
+
*
|
|
30
|
+
* Count flavors do NOT wrap: `COUNTIF(A1:A3,">1")` counts a matched error member.
|
|
31
|
+
*/
|
|
32
|
+
export declare function rejectMatchedError(fn: (accumulator: Scalar, value: Scalar) => Scalar): (accumulator: Scalar, value: Scalar) => Scalar;
|
|
33
|
+
//# sourceMappingURL=Errors.d.ts.map
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { IReferenceRange, Scalar } from '@sheetxl/primitives';
|
|
2
|
+
/**
|
|
3
|
+
* Internal helper for the *IF family — `COUNTIF`, `SUMIF`, `AVERAGEIF` and the public `REDUCEIF`.
|
|
4
|
+
* Folds the members of `range` that satisfy `criteria`, reading the folded value from `reduceRange`
|
|
5
|
+
* when one is given.
|
|
6
|
+
*
|
|
7
|
+
* @param range The range whose members are tested.
|
|
8
|
+
* @param criteria The criteria expression.
|
|
9
|
+
* @param reduceRange The range to read folded values from. Omit for the criteria range itself.
|
|
10
|
+
* @param fn Called with `(accumulator, value)` for each matching position.
|
|
11
|
+
* @param emptyFold The contribution of the positions that are blank in BOTH ranges, in closed
|
|
12
|
+
* form — see the blank note below. Required, and `null` (apply `fn`) is a choice like any
|
|
13
|
+
* other: a forgotten blank term is a silently wrong answer, not a slow one.
|
|
14
|
+
*/
|
|
15
|
+
export declare function reduceIf(range: IReferenceRange, criteria: Scalar, reduceRange: IReferenceRange | undefined | null, fn: (accumulator: Scalar, value: Scalar) => Scalar, emptyFold: ((accumulator: Scalar, count: number) => Scalar) | null): Scalar;
|
|
16
|
+
/**
|
|
17
|
+
* `emptyFold` for a fold that COUNTS every matching position — `COUNTIF`, and the count half of
|
|
18
|
+
* `AVERAGEIF` when it has no separate average range.
|
|
19
|
+
*/
|
|
20
|
+
export declare const countBlanks: (accumulator: Scalar, count: number) => Scalar;
|
|
21
|
+
/**
|
|
22
|
+
* `emptyFold` for a fold a blank cannot move — `SUMIF`, `MAXIFS`, `MINIFS`, and every fold that
|
|
23
|
+
* skips non-numeric members.
|
|
24
|
+
*/
|
|
25
|
+
export declare const ignoreBlanks: (accumulator: Scalar, _count: number) => Scalar;
|
|
26
|
+
//# sourceMappingURL=ReduceIf.d.ts.map
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
import { AcceptError, AcceptRefError, Scalar, IRange, IReferenceRange } from '@sheetxl/primitives';
|
|
2
|
+
/**
|
|
3
|
+
* @summary Averages the values in a column in a list or database that match conditions you specify.
|
|
4
|
+
* @param database is the range of cells that makes up the list or database. A database is a list of related data.
|
|
5
|
+
* @param field is either the label of the column in double quotation marks or a number that represents the column's position in the list.
|
|
6
|
+
* @param criteria is the range of cells that contains the conditions you specify. The range includes a column label and one cell below the label for a condition.
|
|
7
|
+
*/
|
|
8
|
+
export declare function DAVERAGE(database: AcceptError<IReferenceRange>, field: AcceptRefError<Scalar>, criteria: AcceptRefError<IRange>): Scalar;
|
|
9
|
+
/**
|
|
10
|
+
* @summary Counts the cells containing numbers in the field (column) of records in the database that match the conditions you specify.
|
|
11
|
+
* @param database is the range of cells that makes up the list or database. A database is a list of related data.
|
|
12
|
+
* @param field is either the label of the column in double quotation marks or a number that represents the column's position in the list.
|
|
13
|
+
* @param criteria is the range of cells that contains the conditions you specify. The range includes a column label and one cell below the label for a condition.
|
|
14
|
+
*/
|
|
15
|
+
export declare function DCOUNT(database: AcceptError<IReferenceRange>, field: AcceptRefError<Scalar>, criteria: AcceptRefError<IRange>): Scalar;
|
|
16
|
+
/**
|
|
17
|
+
* @summary Counts nonblank cells in the field (column) of records in the database that match the conditions you specify.
|
|
18
|
+
* @param database is the range of cells that makes up the list or database. A database is a list of related data.
|
|
19
|
+
* @param field is either the label of the column in double quotation marks or a number that represents the column's position in the list.
|
|
20
|
+
* @param criteria is the range of cells that contains the conditions you specify. The range includes a column label and one cell below the label for a condition.
|
|
21
|
+
*/
|
|
22
|
+
export declare function DCOUNTA(database: AcceptError<IReferenceRange>, field: AcceptRefError<Scalar>, criteria: AcceptRefError<IRange>): Scalar;
|
|
23
|
+
/**
|
|
24
|
+
* @summary Extracts from a database a single record that matches the conditions you specify.
|
|
25
|
+
* @param database is the range of cells that makes up the list or database. A database is a list of related data.
|
|
26
|
+
* @param field is either the label of the column in double quotation marks or a number that represents the column's position in the list.
|
|
27
|
+
* @param criteria is the range of cells that contains the conditions you specify. The range includes a column label and one cell below the label for a condition.
|
|
28
|
+
*/
|
|
29
|
+
export declare function DGET(database: AcceptError<IReferenceRange>, field: AcceptRefError<Scalar>, criteria: AcceptRefError<IRange>): Scalar;
|
|
30
|
+
/**
|
|
31
|
+
* @summary Returns the largest number in the field (column) of records in the database that match the conditions you specify.
|
|
32
|
+
* @param database is the range of cells that makes up the list or database. A database is a list of related data.
|
|
33
|
+
* @param field is either the label of the column in double quotation marks or a number that represents the column's position in the list.
|
|
34
|
+
* @param criteria is the range of cells that contains the conditions you specify. The range includes a column label and one cell below the label for a condition.
|
|
35
|
+
*/
|
|
36
|
+
export declare function DMAX(database: AcceptError<IReferenceRange>, field: AcceptRefError<Scalar>, criteria: AcceptRefError<IRange>): Scalar;
|
|
37
|
+
/**
|
|
38
|
+
* @summary Returns the smallest number in the field (column) of records in the database that match the conditions you specify.
|
|
39
|
+
* @param database is the range of cells that makes up the list or database. A database is a list of related data.
|
|
40
|
+
* @param field is either the label of the column in double quotation marks or a number that represents the column's position in the list.
|
|
41
|
+
* @param criteria is the range of cells that contains the conditions you specify. The range includes a column label and one cell below the label for a condition.
|
|
42
|
+
*/
|
|
43
|
+
export declare function DMIN(database: AcceptError<IReferenceRange>, field: AcceptRefError<Scalar>, criteria: AcceptRefError<IRange>): Scalar;
|
|
44
|
+
/**
|
|
45
|
+
* @summary Multiplies the values in the field (column) of records in the database that match the conditions you specify.
|
|
46
|
+
* @param database is the range of cells that makes up the list or database. A database is a list of related data.
|
|
47
|
+
* @param field is either the label of the column in double quotation marks or a number that represents the column's position in the list.
|
|
48
|
+
* @param criteria is the range of cells that contains the conditions you specify. The range includes a column label and one cell below the label for a condition.
|
|
49
|
+
*/
|
|
50
|
+
export declare function DPRODUCT(database: AcceptError<IReferenceRange>, field: AcceptRefError<Scalar>, criteria: AcceptRefError<IRange>): Scalar;
|
|
51
|
+
/**
|
|
52
|
+
* @summary Estimates the standard deviation based on a sample from selected database entries.
|
|
53
|
+
* @param database is the range of cells that makes up the list or database. A database is a list of related data.
|
|
54
|
+
* @param field is either the label of the column in double quotation marks or a number that represents the column's position in the list.
|
|
55
|
+
* @param criteria is the range of cells that contains the conditions you specify. The range includes a column label and one cell below the label for a condition.
|
|
56
|
+
*/
|
|
57
|
+
export declare function DSTDEV(database: AcceptError<IReferenceRange>, field: AcceptRefError<Scalar>, criteria: AcceptRefError<IRange>): Scalar;
|
|
58
|
+
/**
|
|
59
|
+
* @summary Calculates the standard deviation based on the entire population of selected database entries.
|
|
60
|
+
* @param database is the range of cells that makes up the list or database. A database is a list of related data.
|
|
61
|
+
* @param field is either the label of the column in double quotation marks or a number that represents the column's position in the list.
|
|
62
|
+
* @param criteria is the range of cells that contains the conditions you specify. The range includes a column label and one cell below the label for a condition.
|
|
63
|
+
*/
|
|
64
|
+
export declare function DSTDEVP(database: AcceptError<IReferenceRange>, field: AcceptRefError<Scalar>, criteria: AcceptRefError<IRange>): Scalar;
|
|
65
|
+
/**
|
|
66
|
+
* @summary Adds the numbers in the field (column) of records in the database that match the conditions you specify.
|
|
67
|
+
* @param database is the range of cells that makes up the list or database. A database is a list of related data.
|
|
68
|
+
* @param field is either the label of the column in double quotation marks or a number that represents the column's position in the list.
|
|
69
|
+
* @param criteria is the range of cells that contains the conditions you specify. The range includes a column label and one cell below the label for a condition.
|
|
70
|
+
*/
|
|
71
|
+
export declare function DSUM(database: AcceptError<IReferenceRange>, field: AcceptRefError<Scalar>, criteria: AcceptRefError<IRange>): Scalar;
|
|
72
|
+
/**
|
|
73
|
+
* @summary Estimates variance based on a sample from selected database entries.
|
|
74
|
+
* @param database is the range of cells that makes up the list or database. A database is a list of related data.
|
|
75
|
+
* @param field is either the label of the column in double quotation marks or a number that represents the column's position in the list.
|
|
76
|
+
* @param criteria is the range of cells that contains the conditions you specify. The range includes a column label and one cell below the label for a condition.
|
|
77
|
+
*/
|
|
78
|
+
export declare function DVAR(database: AcceptError<IReferenceRange>, field: AcceptRefError<Scalar>, criteria: AcceptRefError<IRange>): Scalar;
|
|
79
|
+
/**
|
|
80
|
+
* @summary Calculates variance based on the entire population of selected database entries.
|
|
81
|
+
* @param database is the range of cells that makes up the list or database. A database is a list of related data.
|
|
82
|
+
* @param field is either the label of the column in double quotation marks or a number that represents the column's position in the list.
|
|
83
|
+
* @param criteria is the range of cells that contains the conditions you specify. The range includes a column label and one cell below the label for a condition.
|
|
84
|
+
*/
|
|
85
|
+
export declare function DVARP(database: AcceptError<IReferenceRange>, field: AcceptRefError<Scalar>, criteria: AcceptRefError<IRange>): Scalar;
|
|
86
|
+
//# sourceMappingURL=Database.d.ts.map
|