@sheetxl/formulas 0.7.21 → 0.7.23-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/BHMlK3Db4AEwCc8k.mjs +105 -0
- package/browser/esm/Be1Tx6lgVRj6QlY1.mjs +319 -0
- package/browser/esm/Bzrz7GIyfT0PuIn6.mjs +24 -0
- package/browser/esm/C-lXpgXlA2WKf1V_.mjs +14 -0
- package/browser/esm/C5MTczfnFrB6dolC.mjs +119 -0
- package/browser/esm/C5Vw8q0MSo7v62lf.mjs +123 -0
- package/browser/esm/C8UX8jzdyVM8iAqD.mjs +173 -0
- package/browser/esm/CGlPjt0P7YJjti8l.mjs +12 -0
- package/browser/esm/CRlIy5CFlhXBrDWk.mjs +28 -0
- package/browser/esm/CWJFZhfpaNCRfPUF.mjs +144 -0
- package/browser/esm/CY4PVEGg-h4B-ULu.mjs +382 -0
- package/browser/esm/Cob4zcJp6JIPD88Q.mjs +17 -0
- package/browser/esm/Crca5jE3Yf7IZSH-.mjs +316 -0
- package/browser/esm/CtrldQ03taJCXRon.mjs +96 -0
- package/browser/esm/D1jCuakdJDAZRD90.mjs +28 -0
- package/browser/esm/DCSVv5SQ5HKw36ZJ.mjs +21 -0
- package/browser/esm/DMSc03XuAxrkQNc6.mjs +146 -0
- package/browser/esm/DOmYwMQ5JE_iPKuc.mjs +37 -0
- package/browser/esm/DTxIlCgwKM1DjV9j.mjs +15 -0
- package/browser/esm/DaEIkAVABMGdBSd-.mjs +13 -0
- package/browser/esm/Di6GWguaGctcPMXf.mjs +138 -0
- package/browser/esm/Dw5qhRU9fyKn0s0a.mjs +860 -0
- package/browser/esm/TJ5zLKdp58uJXh1V.mjs +111 -0
- package/browser/esm/ZkTa8jqGfCRiG5BM.mjs +22 -0
- package/browser/esm/index.mjs +13173 -13
- package/browser/esm/xGJGkl7HKha1KqKD.mjs +23 -0
- package/licenses/dependencies.txt +92 -1
- package/node/esm/BHMlK3Db4AEwCc8k.mjs +105 -0
- package/node/esm/BraxPv_fCpgAIJF5.mjs +319 -0
- package/node/esm/Bzrz7GIyfT0PuIn6.mjs +24 -0
- package/node/esm/C5MTczfnFrB6dolC.mjs +119 -0
- package/node/esm/C5Vw8q0MSo7v62lf.mjs +123 -0
- package/node/esm/C8UX8jzdyVM8iAqD.mjs +173 -0
- package/node/esm/CGlPjt0P7YJjti8l.mjs +12 -0
- package/node/esm/CRlIy5CFlhXBrDWk.mjs +28 -0
- package/node/esm/CWJFZhfpaNCRfPUF.mjs +144 -0
- package/node/esm/CY4PVEGg-h4B-ULu.mjs +382 -0
- package/node/esm/CiJmfBLxjqO3iRgD.mjs +14 -0
- package/node/esm/Cob4zcJp6JIPD88Q.mjs +17 -0
- package/node/esm/Crca5jE3Yf7IZSH-.mjs +316 -0
- package/node/esm/CtrldQ03taJCXRon.mjs +96 -0
- package/node/esm/D-ZOXtNuCTDM93kQ.mjs +13 -0
- package/node/esm/DCSVv5SQ5HKw36ZJ.mjs +21 -0
- package/node/esm/DMSc03XuAxrkQNc6.mjs +146 -0
- package/node/esm/DOmYwMQ5JE_iPKuc.mjs +37 -0
- package/node/esm/Di6GWguaGctcPMXf.mjs +138 -0
- package/node/esm/Dw5qhRU9fyKn0s0a.mjs +860 -0
- package/node/esm/TJ5zLKdp58uJXh1V.mjs +111 -0
- package/node/esm/ZkTa8jqGfCRiG5BM.mjs +22 -0
- package/node/esm/dGnxKKDT-QB9Z3ZI.mjs +28 -0
- package/node/esm/index.mjs +11091 -13
- package/node/esm/n1pCMSYSb9N-oHFd.mjs +15 -0
- package/node/esm/xGJGkl7HKha1KqKD.mjs +23 -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/database/Database.decl.d.ts.map +1 -0
- package/types/src/.generated/decl/dateTime/Date.decl.d.ts +4 -0
- package/types/src/.generated/decl/dateTime/Date.decl.d.ts.map +1 -0
- package/types/src/.generated/decl/engineering/Bessel.decl.d.ts +4 -0
- package/types/src/.generated/decl/engineering/Bessel.decl.d.ts.map +1 -0
- package/types/src/.generated/decl/engineering/Bitwise.decl.d.ts +4 -0
- package/types/src/.generated/decl/engineering/Bitwise.decl.d.ts.map +1 -0
- package/types/src/.generated/decl/engineering/Convert.decl.d.ts +4 -0
- package/types/src/.generated/decl/engineering/Convert.decl.d.ts.map +1 -0
- package/types/src/.generated/decl/engineering/Engineering.decl.d.ts +4 -0
- package/types/src/.generated/decl/engineering/Engineering.decl.d.ts.map +1 -0
- package/types/src/.generated/decl/engineering/Error.decl.d.ts +4 -0
- package/types/src/.generated/decl/engineering/Error.decl.d.ts.map +1 -0
- package/types/src/.generated/decl/engineering/Imaginary.decl.d.ts +4 -0
- package/types/src/.generated/decl/engineering/Imaginary.decl.d.ts.map +1 -0
- package/types/src/.generated/decl/information/Information.decl.d.ts +4 -0
- package/types/src/.generated/decl/information/Information.decl.d.ts.map +1 -0
- package/types/src/.generated/decl/japanese/Date.decl.d.ts +4 -0
- package/types/src/.generated/decl/japanese/Date.decl.d.ts.map +1 -0
- package/types/src/.generated/decl/japanese/Text.decl.d.ts +4 -0
- package/types/src/.generated/decl/japanese/Text.decl.d.ts.map +1 -0
- package/types/src/.generated/decl/logical/Logical.decl.d.ts +4 -0
- package/types/src/.generated/decl/logical/Logical.decl.d.ts.map +1 -0
- package/types/src/.generated/decl/lookupReference/GroupBy.decl.d.ts +4 -0
- package/types/src/.generated/decl/lookupReference/GroupBy.decl.d.ts.map +1 -0
- package/types/src/.generated/decl/lookupReference/PivotBy.decl.d.ts +4 -0
- package/types/src/.generated/decl/lookupReference/PivotBy.decl.d.ts.map +1 -0
- package/types/src/.generated/decl/lookupReference/Reference.decl.d.ts +4 -0
- package/types/src/.generated/decl/lookupReference/Reference.decl.d.ts.map +1 -0
- package/types/src/.generated/decl/mathTrig/Math.decl.d.ts +4 -0
- package/types/src/.generated/decl/mathTrig/Math.decl.d.ts.map +1 -0
- package/types/src/.generated/decl/mathTrig/Trig.decl.d.ts +4 -0
- package/types/src/.generated/decl/mathTrig/Trig.decl.d.ts.map +1 -0
- package/types/src/.generated/decl/operators/Operators.decl.d.ts +4 -0
- package/types/src/.generated/decl/operators/Operators.decl.d.ts.map +1 -0
- package/types/src/.generated/decl/statistical/Distribution.decl.d.ts +4 -0
- package/types/src/.generated/decl/statistical/Distribution.decl.d.ts.map +1 -0
- package/types/src/.generated/decl/statistical/Statistical.decl.d.ts +4 -0
- package/types/src/.generated/decl/statistical/Statistical.decl.d.ts.map +1 -0
- package/types/src/.generated/decl/testing/Testing.decl.d.ts +4 -0
- package/types/src/.generated/decl/testing/Testing.decl.d.ts.map +1 -0
- package/types/src/.generated/decl/text/Text.decl.d.ts +4 -0
- package/types/src/.generated/decl/text/Text.decl.d.ts.map +1 -0
- package/types/src/.generated/decl/thai/Text.decl.d.ts +4 -0
- package/types/src/.generated/decl/thai/Text.decl.d.ts.map +1 -0
- package/types/src/.generated/decl/web/FilterXML.decl.d.ts +4 -0
- package/types/src/.generated/decl/web/FilterXML.decl.d.ts.map +1 -0
- package/types/src/.generated/decl/web/Web.decl.d.ts +4 -0
- package/types/src/.generated/decl/web/Web.decl.d.ts.map +1 -0
- package/types/src/.generated/desc/database/Database.desc.d.ts +4 -0
- package/types/src/.generated/desc/database/Database.desc.d.ts.map +1 -0
- package/types/src/.generated/desc/dateTime/Date.desc.d.ts +4 -0
- package/types/src/.generated/desc/dateTime/Date.desc.d.ts.map +1 -0
- package/types/src/.generated/desc/engineering/Bessel.desc.d.ts +4 -0
- package/types/src/.generated/desc/engineering/Bessel.desc.d.ts.map +1 -0
- package/types/src/.generated/desc/engineering/Bitwise.desc.d.ts +4 -0
- package/types/src/.generated/desc/engineering/Bitwise.desc.d.ts.map +1 -0
- package/types/src/.generated/desc/engineering/Convert.desc.d.ts +4 -0
- package/types/src/.generated/desc/engineering/Convert.desc.d.ts.map +1 -0
- package/types/src/.generated/desc/engineering/Engineering.desc.d.ts +4 -0
- package/types/src/.generated/desc/engineering/Engineering.desc.d.ts.map +1 -0
- package/types/src/.generated/desc/engineering/Error.desc.d.ts +4 -0
- package/types/src/.generated/desc/engineering/Error.desc.d.ts.map +1 -0
- package/types/src/.generated/desc/engineering/Imaginary.desc.d.ts +4 -0
- package/types/src/.generated/desc/engineering/Imaginary.desc.d.ts.map +1 -0
- package/types/src/.generated/desc/information/Information.desc.d.ts +4 -0
- package/types/src/.generated/desc/information/Information.desc.d.ts.map +1 -0
- package/types/src/.generated/desc/japanese/Date.desc.d.ts +4 -0
- package/types/src/.generated/desc/japanese/Date.desc.d.ts.map +1 -0
- package/types/src/.generated/desc/japanese/Text.desc.d.ts +4 -0
- package/types/src/.generated/desc/japanese/Text.desc.d.ts.map +1 -0
- package/types/src/.generated/desc/logical/Logical.desc.d.ts +4 -0
- package/types/src/.generated/desc/logical/Logical.desc.d.ts.map +1 -0
- package/types/src/.generated/desc/lookupReference/GroupBy.desc.d.ts +4 -0
- package/types/src/.generated/desc/lookupReference/GroupBy.desc.d.ts.map +1 -0
- package/types/src/.generated/desc/lookupReference/PivotBy.desc.d.ts +4 -0
- package/types/src/.generated/desc/lookupReference/PivotBy.desc.d.ts.map +1 -0
- package/types/src/.generated/desc/lookupReference/Reference.desc.d.ts +4 -0
- package/types/src/.generated/desc/lookupReference/Reference.desc.d.ts.map +1 -0
- package/types/src/.generated/desc/mathTrig/Math.desc.d.ts +4 -0
- package/types/src/.generated/desc/mathTrig/Math.desc.d.ts.map +1 -0
- package/types/src/.generated/desc/mathTrig/Trig.desc.d.ts +4 -0
- package/types/src/.generated/desc/mathTrig/Trig.desc.d.ts.map +1 -0
- package/types/src/.generated/desc/operators/Operators.desc.d.ts +4 -0
- package/types/src/.generated/desc/operators/Operators.desc.d.ts.map +1 -0
- package/types/src/.generated/desc/statistical/Distribution.desc.d.ts +4 -0
- package/types/src/.generated/desc/statistical/Distribution.desc.d.ts.map +1 -0
- package/types/src/.generated/desc/statistical/Statistical.desc.d.ts +4 -0
- package/types/src/.generated/desc/statistical/Statistical.desc.d.ts.map +1 -0
- package/types/src/.generated/desc/testing/Testing.desc.d.ts +4 -0
- package/types/src/.generated/desc/testing/Testing.desc.d.ts.map +1 -0
- package/types/src/.generated/desc/text/Text.desc.d.ts +4 -0
- package/types/src/.generated/desc/text/Text.desc.d.ts.map +1 -0
- package/types/src/.generated/desc/thai/Text.desc.d.ts +4 -0
- package/types/src/.generated/desc/thai/Text.desc.d.ts.map +1 -0
- package/types/src/.generated/desc/web/FilterXML.desc.d.ts +4 -0
- package/types/src/.generated/desc/web/FilterXML.desc.d.ts.map +1 -0
- package/types/src/.generated/desc/web/Web.desc.d.ts +4 -0
- package/types/src/.generated/desc/web/Web.desc.d.ts.map +1 -0
- package/types/src/.generated/index.d.ts +7 -0
- package/types/src/.generated/index.d.ts.map +1 -0
- package/types/src/_utils/AggregateIFS.d.ts +39 -0
- package/types/src/_utils/AggregateIFS.d.ts.map +1 -0
- package/types/src/_utils/Consts.d.ts +14 -0
- package/types/src/_utils/Consts.d.ts.map +1 -0
- package/types/src/_utils/Errors.d.ts +33 -0
- package/types/src/_utils/Errors.d.ts.map +1 -0
- package/types/src/_utils/ReduceIf.d.ts +26 -0
- package/types/src/_utils/ReduceIf.d.ts.map +1 -0
- package/types/src/database/Database.d.ts +86 -0
- package/types/src/database/Database.d.ts.map +1 -0
- package/types/src/dateTime/Date.d.ts +139 -0
- package/types/src/dateTime/Date.d.ts.map +1 -0
- package/types/src/engineering/Bessel.d.ts +26 -0
- package/types/src/engineering/Bessel.d.ts.map +1 -0
- package/types/src/engineering/Bitwise.d.ts +101 -0
- package/types/src/engineering/Bitwise.d.ts.map +1 -0
- package/types/src/engineering/Convert.d.ts +9 -0
- package/types/src/engineering/Convert.d.ts.map +1 -0
- package/types/src/engineering/Engineering.d.ts +14 -0
- package/types/src/engineering/Engineering.d.ts.map +1 -0
- package/types/src/engineering/Error.d.ts +25 -0
- package/types/src/engineering/Error.d.ts.map +1 -0
- package/types/src/engineering/Imaginary.d.ts +155 -0
- package/types/src/engineering/Imaginary.d.ts.map +1 -0
- package/types/src/information/Information.d.ts +166 -0
- package/types/src/information/Information.d.ts.map +1 -0
- package/types/src/japanese/Date.d.ts +15 -0
- package/types/src/japanese/Date.d.ts.map +1 -0
- package/types/src/japanese/Text.d.ts +8 -0
- package/types/src/japanese/Text.d.ts.map +1 -0
- package/types/src/logical/Logical.d.ts +133 -0
- package/types/src/logical/Logical.d.ts.map +1 -0
- package/types/src/lookupReference/GroupBy.d.ts +19 -0
- package/types/src/lookupReference/GroupBy.d.ts.map +1 -0
- package/types/src/lookupReference/PivotBy.d.ts +24 -0
- package/types/src/lookupReference/PivotBy.d.ts.map +1 -0
- package/types/src/lookupReference/Reference.d.ts +296 -0
- package/types/src/lookupReference/Reference.d.ts.map +1 -0
- package/types/src/mathTrig/Math.d.ts +430 -0
- package/types/src/mathTrig/Math.d.ts.map +1 -0
- package/types/src/mathTrig/Trig.d.ts +107 -0
- package/types/src/mathTrig/Trig.d.ts.map +1 -0
- package/types/src/operators/Operators.d.ts +107 -0
- package/types/src/operators/Operators.d.ts.map +1 -0
- package/types/src/statistical/Distribution.d.ts +858 -0
- package/types/src/statistical/Distribution.d.ts.map +1 -0
- package/types/src/statistical/Statistical.d.ts +165 -0
- package/types/src/statistical/Statistical.d.ts.map +1 -0
- package/types/src/testing/Testing.d.ts +28 -0
- package/types/src/testing/Testing.d.ts.map +1 -0
- package/types/src/text/Text.d.ts +312 -0
- package/types/src/text/Text.d.ts.map +1 -0
- package/types/src/thai/Text.d.ts +8 -0
- package/types/src/thai/Text.d.ts.map +1 -0
- package/types/src/web/FilterXML.d.ts +8 -0
- package/types/src/web/FilterXML.d.ts.map +1 -0
- package/types/src/web/Web.d.ts +11 -0
- package/types/src/web/Web.d.ts.map +1 -0
|
@@ -0,0 +1,316 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license @sheetxl/formulas - Formulas - TypeScript formulas compatible with Excel built-ins. - v0.7.23-beta.1
|
|
3
|
+
*
|
|
4
|
+
* (C) 2026-present SheetXL Inc. & Michael T. Ford
|
|
5
|
+
* License: The license can be found at https://www.sheetxl.com/license.
|
|
6
|
+
*/
|
|
7
|
+
var e = {
|
|
8
|
+
ADDRESS: {
|
|
9
|
+
s: "Creates a cell reference as text, given specified row and column numbers.",
|
|
10
|
+
p: {
|
|
11
|
+
rowNum: { d: "is the row number to use in the cell reference: Row_number = 1 for row 1." },
|
|
12
|
+
columnNum: { d: "is the column number to use in the cell reference. For example, Column_number = 4 for column D." },
|
|
13
|
+
absNum: { d: "specifies the reference type: absolute = 1; absolute row/relative column = 2; relative row/absolute column = 3; relative = 4." },
|
|
14
|
+
a1: { d: "is a logical value that specifies the reference style: A1 style = 1 or TRUE; R1C1 style = 0 or FALSE." },
|
|
15
|
+
sheetText: { d: "is text specifying the name of the worksheet to be used as the external reference." }
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
AREAS: {
|
|
19
|
+
s: "Returns the number of areas in a reference. An area is a range of contiguous cells or a single cell.",
|
|
20
|
+
p: { references: { d: "is a reference to a cell or range of cells and can refer to multiple areas." } }
|
|
21
|
+
},
|
|
22
|
+
ARRAY_CONSTRAIN: {
|
|
23
|
+
s: "Constrains an array result to a specified size.",
|
|
24
|
+
c: "Sheets",
|
|
25
|
+
p: {
|
|
26
|
+
inputRange: { d: "The range to constrain." },
|
|
27
|
+
numRows: { d: "The number of rows the result should contain." },
|
|
28
|
+
numCols: { d: "The number of columns the result should contain." }
|
|
29
|
+
}
|
|
30
|
+
},
|
|
31
|
+
ARRAYFORMULA: {
|
|
32
|
+
s: "Enables the display of values returned from an array formula into multiple rows and/or columns.",
|
|
33
|
+
c: "Sheets",
|
|
34
|
+
p: { arrayFormula: { d: "A range, a mathematical expression over ranges of the same size, or a function that returns a result of more than one cell." } }
|
|
35
|
+
},
|
|
36
|
+
CHOOSE: {
|
|
37
|
+
s: "Chooses a value or action to perform from a list of values, based on an index number.",
|
|
38
|
+
p: {
|
|
39
|
+
indexNum: { d: "specifies which value argument is selected. Index_num must be between 1 and 254, or a formula or a reference to a number between 1 and 254." },
|
|
40
|
+
value: { d: "are 1 to 254 numbers, cell references, defined names, formulas, functions, or text arguments from which CHOOSE selects." }
|
|
41
|
+
}
|
|
42
|
+
},
|
|
43
|
+
CHOOSECOLS: {
|
|
44
|
+
s: "Returns columns from an array or reference.",
|
|
45
|
+
p: {
|
|
46
|
+
array: { d: "The array or reference from which to choose columns." },
|
|
47
|
+
colNum: { d: "The number of the column to be returned." }
|
|
48
|
+
}
|
|
49
|
+
},
|
|
50
|
+
CHOOSEROWS: {
|
|
51
|
+
s: "Returns rows from an array or reference.",
|
|
52
|
+
p: {
|
|
53
|
+
array: { d: "The array or reference from which to choose rows." },
|
|
54
|
+
rowNum: { d: "The number of the row to be returned." }
|
|
55
|
+
}
|
|
56
|
+
},
|
|
57
|
+
COLUMN: {
|
|
58
|
+
s: "Returns the column number of a reference.",
|
|
59
|
+
p: { reference: { d: "is the cell or range of contiguous cells for which you want the column number. If omitted, the cell containing the COLUMN function is used." } }
|
|
60
|
+
},
|
|
61
|
+
COLUMNS: {
|
|
62
|
+
s: "Returns the number of columns in an array or reference.",
|
|
63
|
+
p: { array: { d: "is an array or array formula, or a reference to a range of cells for which you want the number of columns." } }
|
|
64
|
+
},
|
|
65
|
+
DROP: {
|
|
66
|
+
s: "Drops rows or columns from array start or end.",
|
|
67
|
+
p: {
|
|
68
|
+
array: { d: "The array from which to drop rows or columns." },
|
|
69
|
+
row: { d: "The number of rows to drop. A negative value drops from the end of the array." },
|
|
70
|
+
columns: { d: "The number of columns to drop. A negative value drops from the end of the array." }
|
|
71
|
+
}
|
|
72
|
+
},
|
|
73
|
+
EXPAND: {
|
|
74
|
+
s: "Expands an array to the specified dimensions.",
|
|
75
|
+
p: {
|
|
76
|
+
array: { d: "The array to expand." },
|
|
77
|
+
row: { d: "The number of rows in the expanded array. If missing, rows will not be expanded." },
|
|
78
|
+
columns: { d: "The number of columns in the expanded array. If missing, columns will not be expanded." },
|
|
79
|
+
padWidth: { d: "The value with which to pad. The default is #N/A." }
|
|
80
|
+
}
|
|
81
|
+
},
|
|
82
|
+
FIELDVALUE: {
|
|
83
|
+
s: "Extracts a value from a field of a given record.",
|
|
84
|
+
p: {
|
|
85
|
+
value: { d: "The record from which you want to extract the field." },
|
|
86
|
+
fieldName: { d: "The names of the field or fields that you want to extract." }
|
|
87
|
+
},
|
|
88
|
+
h: "Unimplemented RichData"
|
|
89
|
+
},
|
|
90
|
+
FILTER: {
|
|
91
|
+
s: "Filter a range or array.",
|
|
92
|
+
p: {
|
|
93
|
+
array: { d: "the range or array to filter." },
|
|
94
|
+
include: { d: "an array of booleans where TRUE represents a row or column to retain." },
|
|
95
|
+
ifEmpty: { d: "return if no items are retained." }
|
|
96
|
+
}
|
|
97
|
+
},
|
|
98
|
+
FORMULATEXT: {
|
|
99
|
+
s: "Returns a formula as a string.",
|
|
100
|
+
p: { reference: { d: "is a reference to a formula." } }
|
|
101
|
+
},
|
|
102
|
+
GETPIVOTDATA: {
|
|
103
|
+
s: "Extracts data stored in a PivotTable.",
|
|
104
|
+
p: {
|
|
105
|
+
dataField: { d: "is the name of the data field to extract data from." },
|
|
106
|
+
pivotTable: { d: "is a reference to a cell or range of cells in the PivotTable that contains the data you want to retrieve." },
|
|
107
|
+
fieldItem: { d: "the field/item pairs to refer to." },
|
|
108
|
+
"fieldItem.field": { d: "field to refer to." },
|
|
109
|
+
"fieldItem.item": { d: "field item to refer to." }
|
|
110
|
+
},
|
|
111
|
+
h: "Unimplemented Pivot"
|
|
112
|
+
},
|
|
113
|
+
HLOOKUP: {
|
|
114
|
+
s: "Looks for a value in the top row of a table or array of values and returns the value in the same column from a row you specify.",
|
|
115
|
+
p: {
|
|
116
|
+
lookupValue: { d: "is the value to be found in the first row of the table and can be a value, a reference, or a text string." },
|
|
117
|
+
tableArray: { d: "is a table of text, numbers, or logical values in which data is looked up. tableArray can be a reference to a range or a range name." },
|
|
118
|
+
rowIndexNum: { d: "is the row number in tableArray from which the matching value should be returned. The first row of values in the table is row 1." },
|
|
119
|
+
rangeLookup: { d: "is a logical value: to find the closest match in the top row (sorted in ascending order) = TRUE; find an exact match = FALSE." }
|
|
120
|
+
}
|
|
121
|
+
},
|
|
122
|
+
HSTACK: {
|
|
123
|
+
s: "Horizontally stacks arrays into one array.",
|
|
124
|
+
p: { array: { d: "An array or reference to be stacked." } }
|
|
125
|
+
},
|
|
126
|
+
HYPERLINK: {
|
|
127
|
+
s: "Creates a shortcut or jump that opens a document stored on your hard drive, a network server, or on the Internet.",
|
|
128
|
+
p: {
|
|
129
|
+
linkLocation: { d: "is the text giving the path and file name to the document to be opened, a hard drive location, UNC address, or URL path." },
|
|
130
|
+
friendlyName: { d: "is text or a number that is displayed in the cell. If omitted, the cell displays the linkLocation text." }
|
|
131
|
+
},
|
|
132
|
+
h: "Unimplemented RichData"
|
|
133
|
+
},
|
|
134
|
+
IMAGE: {
|
|
135
|
+
s: "Returns an image from a given source.",
|
|
136
|
+
p: {
|
|
137
|
+
source: { d: "The path of the source that points to the image." },
|
|
138
|
+
alternateText: { d: "The alternative text that describes the image for accessibility." },
|
|
139
|
+
sizing: { d: "The setting that determines the dimensions in which the image will be rendered in the cell." },
|
|
140
|
+
height: { d: "The custom height of the image in pixels." },
|
|
141
|
+
width: { d: "The custom width of the image in pixels." }
|
|
142
|
+
},
|
|
143
|
+
h: "Unimplemented RichData"
|
|
144
|
+
},
|
|
145
|
+
INDEX: {
|
|
146
|
+
s: "Returns a value or reference of the cell at the intersection of a particular row and column, in a given range.",
|
|
147
|
+
p: {
|
|
148
|
+
array: { d: "is a range of cells or an array constant." },
|
|
149
|
+
rowNum: { d: "selects the row in Array or Reference from which to return a value. If omitted, colNum is required." },
|
|
150
|
+
colNum: { d: "selects the column in Array or Reference from which to return a value. If omitted, rowNum is required." },
|
|
151
|
+
areaNum: { d: "selects the area in Array or Reference from which to return a value. If omitted, the first area is used." }
|
|
152
|
+
}
|
|
153
|
+
},
|
|
154
|
+
INDIRECT: {
|
|
155
|
+
s: "Returns the reference specified by a text string.",
|
|
156
|
+
p: {
|
|
157
|
+
refText: { d: "is a reference to a cell that contains an A1- or R1C1-style reference, a name defined as a reference, or a reference to a cell as a text string." },
|
|
158
|
+
a1: { d: "is a logical value that specifies the type of reference in refText: R1C1-style = FALSE; A1-style = TRUE." }
|
|
159
|
+
}
|
|
160
|
+
},
|
|
161
|
+
LOOKUP: {
|
|
162
|
+
s: "Looks up a value either from a one-row or one-column range or from an array. Provided for backward compatibility.",
|
|
163
|
+
p: {
|
|
164
|
+
lookupValue: { d: "is a value that LOOKUP searches for in lookupVector and can be a number, text, a logical value, or a name or reference to a value." },
|
|
165
|
+
lookupVector: { d: "is a range that contains only one row or one column of text, numbers, or logical values, placed in ascending order." },
|
|
166
|
+
resultVector: { d: "is a range that contains only one row or column, the same size as lookupVector." }
|
|
167
|
+
}
|
|
168
|
+
},
|
|
169
|
+
MATCH: {
|
|
170
|
+
s: "Returns the relative position of an item in an array that matches a specified value in a specified order.",
|
|
171
|
+
p: {
|
|
172
|
+
lookupValue: { d: "is the value you use to find the value you want in the array, a number, text, or logical value, or a reference to one of these." },
|
|
173
|
+
lookupArray: { d: "is a contiguous range of cells containing possible lookup values, an array of values, or a reference to an array." },
|
|
174
|
+
matchType: { d: "is a number 1, 0, or -1 indicating which value to return." }
|
|
175
|
+
}
|
|
176
|
+
},
|
|
177
|
+
OFFSET: {
|
|
178
|
+
s: "Returns a reference to a range that is a given number of rows and columns from a given reference.",
|
|
179
|
+
p: {
|
|
180
|
+
reference: { d: "is the reference from which you want to base the offset, a reference to a cell or range of adjacent cells." },
|
|
181
|
+
rows: { d: "is the number of rows, up or down, that you want the upper-left cell of the result to refer to." },
|
|
182
|
+
cols: { d: "is the number of columns, to the left or right, that you want the upper-left cell of the result to refer to." },
|
|
183
|
+
height: { d: "is the height, in number of rows, that you want the result to be, the same height as Reference if omitted." },
|
|
184
|
+
width: { d: "is the width, in number of columns, that you want the result to be, the same width as Reference if omitted." }
|
|
185
|
+
}
|
|
186
|
+
},
|
|
187
|
+
ROW: {
|
|
188
|
+
s: "Returns the row number of a reference.",
|
|
189
|
+
p: { reference: { d: "is the cell or a single range of cells for which you want the row number; if omitted, returns the cell containing the ROW function." } }
|
|
190
|
+
},
|
|
191
|
+
ROWS: {
|
|
192
|
+
s: "Returns the number of rows in a reference or array.",
|
|
193
|
+
p: { array: { d: "is an array, an array formula, or a reference to a range of cells for which you want the number of rows." } }
|
|
194
|
+
},
|
|
195
|
+
RTD: {
|
|
196
|
+
s: "Retrieves the real-time data (RTD) from a program that supports COM automation.",
|
|
197
|
+
p: {
|
|
198
|
+
progId: { d: "is the programmatic identifier (ProgID) of a registered COM automation add-in. Enclose the id in quotation marks." },
|
|
199
|
+
server: { d: "is the name of the server that provides the real-time data. If running locally us an empty string." },
|
|
200
|
+
topic: { d: "are 1 to 38 parameters that specify a piece of data." }
|
|
201
|
+
},
|
|
202
|
+
h: "Unimplemented Connectivity"
|
|
203
|
+
},
|
|
204
|
+
SORT: {
|
|
205
|
+
s: "Sorts a range or array.",
|
|
206
|
+
p: {
|
|
207
|
+
array: { d: "the range or array to sort." },
|
|
208
|
+
sortIndex: { d: "a number indicating the row or column to sort by." },
|
|
209
|
+
sortOrder: { d: "a number indicating the desired sort order; 1 for ascending order (default), -1 for descending order." },
|
|
210
|
+
byCol: { d: "a logical value indicating the desired sort direction: FALSE to sort by row (default), TRUE to sort by column." }
|
|
211
|
+
}
|
|
212
|
+
},
|
|
213
|
+
SORTBY: {
|
|
214
|
+
s: "Sorts a range or array based on the values in a corresponding range or array.",
|
|
215
|
+
p: {
|
|
216
|
+
array: { d: "the range or array to sort." },
|
|
217
|
+
by: { d: "the ranges to sort on and the direction for each." },
|
|
218
|
+
"by.byArray": { d: "the range or array to sort on." },
|
|
219
|
+
"by.sortOrder": { d: "a number indicating the desired sort order; 1 for ascending order (default), -1 for descending order." }
|
|
220
|
+
}
|
|
221
|
+
},
|
|
222
|
+
TAKE: {
|
|
223
|
+
s: "Returns rows or columns from array start or end.",
|
|
224
|
+
p: {
|
|
225
|
+
array: { d: "The array from which to take rows or columns." },
|
|
226
|
+
rows: { d: "The number of rows to take. A negative value takes from the end of the array." },
|
|
227
|
+
columns: { d: "The number of columns to take. A negative value takes from the end of the array." }
|
|
228
|
+
}
|
|
229
|
+
},
|
|
230
|
+
TOCOL: {
|
|
231
|
+
s: "Returns the array as one column.",
|
|
232
|
+
p: {
|
|
233
|
+
array: { d: "The array or reference to return as a column." },
|
|
234
|
+
ignore: { d: "Whether to ignore certain types of values. By default, no values are ignored." },
|
|
235
|
+
scanByColumn: { d: "Scan the array by column. By default, the array is scanned by row." }
|
|
236
|
+
}
|
|
237
|
+
},
|
|
238
|
+
TOROW: {
|
|
239
|
+
s: "Returns the array as one row.",
|
|
240
|
+
p: {
|
|
241
|
+
array: { d: "The array or reference to return as a row." },
|
|
242
|
+
ignore: { d: "Whether to ignore certain types of values. By default, no values are ignored." },
|
|
243
|
+
scanByColumn: { d: "Scan the array by column. By default, the array is scanned by row." }
|
|
244
|
+
}
|
|
245
|
+
},
|
|
246
|
+
TRANSPOSE: {
|
|
247
|
+
s: "Converts a vertical range of cells to a horizontal range, or vice versa.",
|
|
248
|
+
p: { array: { d: "is a range of cells on a worksheet or an array of values that you want to transpose." } }
|
|
249
|
+
},
|
|
250
|
+
TRIMRANGE: {
|
|
251
|
+
s: "Trims a range to the last used cell in any direction.",
|
|
252
|
+
p: {
|
|
253
|
+
range: { d: "The range to be trimmed." },
|
|
254
|
+
rowTrimMode: { d: "Row trim direction. 0 - none, 1 - leading, 2 - trailing, 3 - both." },
|
|
255
|
+
colTrimMode: { d: "Column trim direction. 0 - none. 1 - leading, 2 - trailing, 3 - both." }
|
|
256
|
+
}
|
|
257
|
+
},
|
|
258
|
+
UNIQUE: {
|
|
259
|
+
s: "Returns the unique values from a range or array.",
|
|
260
|
+
p: {
|
|
261
|
+
array: { d: "the range or array from which to return unique rows or columns." },
|
|
262
|
+
byCol: { d: "is a logical value: compare rows against each other and return the unique rows = FALSE; compare columns against each other and return the unique columns = TRUE." },
|
|
263
|
+
exactlyOnce: { d: "is a logical value: return rows or columns that occur exactly once from the array = TRUE; return all distinct rows or columns from the array = FALSE." }
|
|
264
|
+
}
|
|
265
|
+
},
|
|
266
|
+
VLOOKUP: {
|
|
267
|
+
s: "Looks for a value in the leftmost column of a table, and then returns a value in the same row from a column you specify. By default, the table must be sorted in an ascending order.",
|
|
268
|
+
p: {
|
|
269
|
+
lookupValue: { d: "is the value to be found in the first column of the table, and can be a value, a reference, or a text string." },
|
|
270
|
+
tableArray: { d: "is a table of text, numbers, or logical values, in which data is retrieved. tableArray can be a reference to a range or a range name." },
|
|
271
|
+
colIndexNum: { d: "is the column number in tableArray from which the matching value should be returned. The first column of values in the table is column 1." },
|
|
272
|
+
rangeLookup: { d: "is a logical value: to find the closest match in the first column (sorted in ascending order) = TRUE; find an exact match = FALSE." }
|
|
273
|
+
}
|
|
274
|
+
},
|
|
275
|
+
VSTACK: {
|
|
276
|
+
s: "Vertically stacks arrays into one array.",
|
|
277
|
+
p: { array: { d: "An array or reference to be stacked." } }
|
|
278
|
+
},
|
|
279
|
+
WRAPCOLS: {
|
|
280
|
+
s: "Wraps a row or column vector after a specified number of values.",
|
|
281
|
+
p: {
|
|
282
|
+
vector: { d: "The vector or reference to wrap." },
|
|
283
|
+
wrapCount: { d: "The maximum number of values per column." },
|
|
284
|
+
padWith: { d: "The value with which to pad. The default is #N/A." }
|
|
285
|
+
}
|
|
286
|
+
},
|
|
287
|
+
WRAPROWS: {
|
|
288
|
+
s: "Wraps a row or column vector after a specified number of values.",
|
|
289
|
+
p: {
|
|
290
|
+
vector: { d: "The vector or reference to wrap." },
|
|
291
|
+
wrapCount: { d: "The maximum number of values per row." },
|
|
292
|
+
padWith: { d: "The value with which to pad. The default is #N/A." }
|
|
293
|
+
}
|
|
294
|
+
},
|
|
295
|
+
XLOOKUP: {
|
|
296
|
+
s: "Searches a range or an array for a match and returns the corresponding item from a second range or array. By default, an exact match is used.",
|
|
297
|
+
p: {
|
|
298
|
+
lookupValue: { d: "is the value to search for." },
|
|
299
|
+
lookupArray: { d: "is the array or range to search." },
|
|
300
|
+
returnArray: { d: "is the array or range to return." },
|
|
301
|
+
ifNotFound: { d: "returned if no match is found." },
|
|
302
|
+
matchMode: { d: "0=exact (default), -1=exact/next-smaller, 1=exact/next-larger, 2=wildcard" },
|
|
303
|
+
searchMode: { d: "1=first→last (default), -1=last→first, 2=binary asc, -2=binary desc" }
|
|
304
|
+
}
|
|
305
|
+
},
|
|
306
|
+
XMATCH: {
|
|
307
|
+
s: "Returns the relative position of an item in an array. By default, an exact match is required.",
|
|
308
|
+
p: {
|
|
309
|
+
lookupValue: { d: "is the value to search for." },
|
|
310
|
+
lookupArray: { d: "is the array or range to search." },
|
|
311
|
+
matchMode: { d: "0=exact (default), -1=exact/next-smaller, 1=exact/next-larger, 2=wildcard" },
|
|
312
|
+
searchMode: { d: "1=first→last (default), -1=last→first, 2=binary asc, -2=binary desc" }
|
|
313
|
+
}
|
|
314
|
+
}
|
|
315
|
+
};
|
|
316
|
+
export { e as default };
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license @sheetxl/formulas - Formulas - TypeScript formulas compatible with Excel built-ins. - v0.7.23-beta.1
|
|
3
|
+
*
|
|
4
|
+
* (C) 2026-present SheetXL Inc. & Michael T. Ford
|
|
5
|
+
* License: The license can be found at https://www.sheetxl.com/license.
|
|
6
|
+
*/
|
|
7
|
+
var e = {
|
|
8
|
+
ACOS: {
|
|
9
|
+
s: "Returns the arccosine of a number, in radians in the range 0 to Pi. The arccosine is the angle whose cosine is Number.",
|
|
10
|
+
p: { number: { d: "is the cosine of the angle you want and must be from -1 to 1." } }
|
|
11
|
+
},
|
|
12
|
+
ACOSH: {
|
|
13
|
+
s: "Returns the inverse hyperbolic cosine of a number.",
|
|
14
|
+
p: { number: { d: "is any real number equal to or greater than 1." } }
|
|
15
|
+
},
|
|
16
|
+
ACOT: {
|
|
17
|
+
s: "Returns the arccotangent of a number, in radians in the range 0 to Pi.",
|
|
18
|
+
p: { number: { d: "is the cotangent of the angle you want." } }
|
|
19
|
+
},
|
|
20
|
+
ACOTH: {
|
|
21
|
+
s: "Returns the inverse hyperbolic cotangent of a number.",
|
|
22
|
+
p: { number: { d: "is the hyperbolic cotangent of the angle that you want." } }
|
|
23
|
+
},
|
|
24
|
+
ASIN: {
|
|
25
|
+
s: "Returns the arcsine of a number in radians, in the range -Pi/2 to Pi/2.",
|
|
26
|
+
p: { number: { d: "is the sine of the angle you want and must be from -1 to 1." } }
|
|
27
|
+
},
|
|
28
|
+
ASINH: {
|
|
29
|
+
s: "Returns the inverse hyperbolic sine of a number.",
|
|
30
|
+
p: { number: { d: "is any real number equal to or greater than 1." } }
|
|
31
|
+
},
|
|
32
|
+
ATAN: {
|
|
33
|
+
s: "Returns the arctangent of a number in radians, in the range -Pi/2 to Pi/2.",
|
|
34
|
+
p: { number: { d: "is the tangent of the angle you want." } }
|
|
35
|
+
},
|
|
36
|
+
ATAN2: {
|
|
37
|
+
s: "Returns the arctangent of the specified x- and y- coordinates, in radians between -Pi and Pi, excluding -Pi.",
|
|
38
|
+
p: {
|
|
39
|
+
x: { d: "is the x-coordinate of the point." },
|
|
40
|
+
y: { d: "is the y-coordinate of the point." }
|
|
41
|
+
}
|
|
42
|
+
},
|
|
43
|
+
ATANH: {
|
|
44
|
+
s: "Returns the inverse hyperbolic tangent of a number.",
|
|
45
|
+
p: { number: { d: "is any real number between -1 and 1 excluding -1 and 1." } }
|
|
46
|
+
},
|
|
47
|
+
COS: {
|
|
48
|
+
s: "Returns the cosine of an angle.",
|
|
49
|
+
p: { number: { d: "is the angle in radians for which you want the cosine." } }
|
|
50
|
+
},
|
|
51
|
+
COSH: {
|
|
52
|
+
s: "Returns the hyperbolic cosine of a number.",
|
|
53
|
+
p: { number: { d: "is any real number." } }
|
|
54
|
+
},
|
|
55
|
+
COT: {
|
|
56
|
+
s: "Returns the cotangent of an angle.",
|
|
57
|
+
p: { number: { d: "is the angle in radians for which you want the cotangent." } }
|
|
58
|
+
},
|
|
59
|
+
COTH: {
|
|
60
|
+
s: "Returns the hyperbolic cotangent of a number.",
|
|
61
|
+
p: { number: { d: "is the angle in radians for which you want the hyperbolic cotangent." } }
|
|
62
|
+
},
|
|
63
|
+
CSC: {
|
|
64
|
+
s: "Returns the cosecant of an angle.",
|
|
65
|
+
p: { number: { d: "is the angle in radians for which you want the cosecant." } }
|
|
66
|
+
},
|
|
67
|
+
CSCH: {
|
|
68
|
+
s: "Returns the hyperbolic cosecant of an angle.",
|
|
69
|
+
p: { number: { d: "is the angle in radians for which you want the hyperbolic cosecant." } }
|
|
70
|
+
},
|
|
71
|
+
SEC: {
|
|
72
|
+
s: "Returns the secant of an angle.",
|
|
73
|
+
p: { number: { d: "is the angle in radians for which you want the secant." } }
|
|
74
|
+
},
|
|
75
|
+
SECH: {
|
|
76
|
+
s: "Returns the hyperbolic secant of an angle.",
|
|
77
|
+
p: { number: { d: "is the angle in radians for which you want the hyperbolic secant." } }
|
|
78
|
+
},
|
|
79
|
+
SIN: {
|
|
80
|
+
s: "Returns the sine of an angle.",
|
|
81
|
+
p: { number: { d: "is the angle in radians for which you want the sine. Degrees * PI()/180 = radians." } }
|
|
82
|
+
},
|
|
83
|
+
SINH: {
|
|
84
|
+
s: "Returns the hyperbolic sine of a number.",
|
|
85
|
+
p: { number: { d: "is any real number." } }
|
|
86
|
+
},
|
|
87
|
+
TAN: {
|
|
88
|
+
s: "Returns the tangent of an angle.",
|
|
89
|
+
p: { number: { d: "is the angle in radians for which you want the tangent. Degrees * PI()/180 = radians." } }
|
|
90
|
+
},
|
|
91
|
+
TANH: {
|
|
92
|
+
s: "Returns the hyperbolic tangent of a number.",
|
|
93
|
+
p: { number: { d: "is any real number." } }
|
|
94
|
+
}
|
|
95
|
+
};
|
|
96
|
+
export { e as default };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license @sheetxl/formulas - Formulas - TypeScript formulas compatible with Excel built-ins. - v0.7.23-beta.1
|
|
3
|
+
*
|
|
4
|
+
* (C) 2026-present SheetXL Inc. & Michael T. Ford
|
|
5
|
+
* License: The license can be found at https://www.sheetxl.com/license.
|
|
6
|
+
*/
|
|
7
|
+
var t = { BAHTTEXT: {
|
|
8
|
+
s: "Converts a number to baht (Thai) text.",
|
|
9
|
+
c: "Baht",
|
|
10
|
+
p: { number: { d: "is the number to convert." } },
|
|
11
|
+
h: "Thai"
|
|
12
|
+
} };
|
|
13
|
+
export { t as default };
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license @sheetxl/formulas - Formulas - TypeScript formulas compatible with Excel built-ins. - v0.7.23-beta.1
|
|
3
|
+
*
|
|
4
|
+
* (C) 2026-present SheetXL Inc. & Michael T. Ford
|
|
5
|
+
* License: The license can be found at https://www.sheetxl.com/license.
|
|
6
|
+
*/
|
|
7
|
+
var e = { GROUPBY: {
|
|
8
|
+
s: "Aggregate values by row fields.",
|
|
9
|
+
p: {
|
|
10
|
+
rowFields: { d: "The range or array containing the row fields." },
|
|
11
|
+
values: { d: "The range or array containing the values to aggregate." },
|
|
12
|
+
fn: { d: "The function used to do the aggregations." },
|
|
13
|
+
fieldHeaders: { d: "A number between 0 and 3 that specifies whether the field data has headers and whether field headers should be returned in the results." },
|
|
14
|
+
totalDepth: { d: "Show totals for the row fields. 0 for none, 1 for grand totals, 2 for grand total and first level subtotals, etc." },
|
|
15
|
+
sortOrder: { d: "The column index to sort the row fields on. A negative index will sort in reverse order." },
|
|
16
|
+
filterArray: { d: "param-534 paramName-535." },
|
|
17
|
+
fieldRelationship: { d: "The relationship of fields when multiple columns are supplied to the rowFields argument." }
|
|
18
|
+
},
|
|
19
|
+
h: "Unimplemented TODO"
|
|
20
|
+
} };
|
|
21
|
+
export { e as default };
|
|
@@ -0,0 +1,146 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license @sheetxl/formulas - Formulas - TypeScript formulas compatible with Excel built-ins. - v0.7.23-beta.1
|
|
3
|
+
*
|
|
4
|
+
* (C) 2026-present SheetXL Inc. & Michael T. Ford
|
|
5
|
+
* License: The license can be found at https://www.sheetxl.com/license.
|
|
6
|
+
*/
|
|
7
|
+
var e = {
|
|
8
|
+
AND: {
|
|
9
|
+
s: "Checks whether all arguments are TRUE, and returns TRUE if all arguments are TRUE.",
|
|
10
|
+
p: { logical: { d: "are 1 to 255 conditions you want to test that can be either TRUE or FALSE and can be logical values, arrays, or references." } }
|
|
11
|
+
},
|
|
12
|
+
BYCOL: {
|
|
13
|
+
s: "Applies a LAMBDA function to each column and returns an array of the results.",
|
|
14
|
+
p: {
|
|
15
|
+
array: { d: "is an array to be separated by column." },
|
|
16
|
+
fn: { d: "is a LAMBDA that takes a column as its single parameter and returns one result for it." }
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
BYROW: {
|
|
20
|
+
s: "Applies a LAMBDA function to each row and returns an array of the results.",
|
|
21
|
+
p: {
|
|
22
|
+
array: { d: "is an array to be separated by row." },
|
|
23
|
+
fn: { d: "is a LAMBDA that takes a row as its single parameter and returns one result for it." }
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
FALSE: {
|
|
27
|
+
s: "Returns the logical value FALSE.",
|
|
28
|
+
p: {}
|
|
29
|
+
},
|
|
30
|
+
FLATTEN: {
|
|
31
|
+
s: "Flattens all the values from one or more ranges into a single column.",
|
|
32
|
+
c: "Sheets",
|
|
33
|
+
p: { ranges: { d: "One or more ranges or scalar values to flatten." } }
|
|
34
|
+
},
|
|
35
|
+
IF: {
|
|
36
|
+
s: "Checks whether a condition is met, and returns one value if TRUE, and another value if FALSE.",
|
|
37
|
+
p: {
|
|
38
|
+
logicalTest: { d: "is any value or expression that can be evaluated to TRUE or FALSE." },
|
|
39
|
+
valueIfTrue: { d: "is the value that is returned if logicalTest is TRUE. If omitted, TRUE is returned. You can nest up to seven IF functions." },
|
|
40
|
+
valueIfFalse: { d: "is the value that is returned if logicalTest is FALSE. If omitted, FALSE is returned." }
|
|
41
|
+
}
|
|
42
|
+
},
|
|
43
|
+
IFERROR: {
|
|
44
|
+
s: "Returns valueIfError if expression is an error and the value of the expression itself otherwise.",
|
|
45
|
+
p: {
|
|
46
|
+
value: { d: "is any value or expression or reference." },
|
|
47
|
+
valueIfError: { d: "is any value or expression or reference." }
|
|
48
|
+
}
|
|
49
|
+
},
|
|
50
|
+
IFNA: {
|
|
51
|
+
s: "Returns the value you specify if the expression resolves to #N/A, otherwise returns the result of the expression.",
|
|
52
|
+
p: {
|
|
53
|
+
value: { d: "is any value or expression or reference." },
|
|
54
|
+
valueIfNA: { d: "is any value or expression or reference." }
|
|
55
|
+
}
|
|
56
|
+
},
|
|
57
|
+
IFS: {
|
|
58
|
+
s: "Checks whether one or more conditions are met and returns a value corresponding to the first TRUE condition.",
|
|
59
|
+
p: {
|
|
60
|
+
condition: { d: "the conditions to test and the values to return for them." },
|
|
61
|
+
"condition.logicalTest": { d: "is any value or expression that can be evaluated to TRUE or FALSE." },
|
|
62
|
+
"condition.logicalTrue": { d: "is the value returned if logicalTest is TRUE." }
|
|
63
|
+
}
|
|
64
|
+
},
|
|
65
|
+
LAMBDA: {
|
|
66
|
+
s: "Creates a function value which can be called within formulas.",
|
|
67
|
+
p: { parameterOrCalculation: { d: "a parameter or a calculation that returns a value. If a parameter, it must be the last argument." } }
|
|
68
|
+
},
|
|
69
|
+
LET: {
|
|
70
|
+
s: "Assigns calculation results to names. Useful for storing intermediate calculations and values by defining names inside a formula. These names only apply within the scope of the LET function.",
|
|
71
|
+
p: {
|
|
72
|
+
name: { d: "the name, or a calculation which can make use of all names within the LET. Names must start with a letter, cannot be the output of a formula, or conflict with range syntax." },
|
|
73
|
+
nameOrValue: { d: "the value associated with the name." },
|
|
74
|
+
calculationOrName: {},
|
|
75
|
+
rest: {}
|
|
76
|
+
}
|
|
77
|
+
},
|
|
78
|
+
MAKEARRAY: {
|
|
79
|
+
s: "Returns a calculated array of a specified row and column size, by applying a LAMBDA function.",
|
|
80
|
+
p: {
|
|
81
|
+
rows: { d: "is the number of rows in the array. Must be greater than zero." },
|
|
82
|
+
columns: { d: "is the number of columns in the array. Must be greater than zero." },
|
|
83
|
+
fn: { d: "is a LAMBDA that is called to create the array. The LAMBDA takes two parameters, row index and column index." }
|
|
84
|
+
}
|
|
85
|
+
},
|
|
86
|
+
MAP: {
|
|
87
|
+
s: "Returns an array formed by 'mapping' each value in the array(s) to a new value by applying a lambda to create a new value.",
|
|
88
|
+
p: {
|
|
89
|
+
array: { d: "is an array to be mapped." },
|
|
90
|
+
lambdaOrArray: { d: "is a LAMBDA which must be the last argument and must have a parameter for each array passed, or another array to be mapped." }
|
|
91
|
+
}
|
|
92
|
+
},
|
|
93
|
+
NOT: {
|
|
94
|
+
s: "Changes FALSE to TRUE, or TRUE to FALSE.",
|
|
95
|
+
p: { logical: { d: "is a value or expression that can be evaluated to TRUE or FALSE." } }
|
|
96
|
+
},
|
|
97
|
+
OR: {
|
|
98
|
+
s: "Checks whether any of the arguments are TRUE, and returns TRUE or FALSE. Returns FALSE only if all arguments are FALSE.",
|
|
99
|
+
p: { logical: { d: "are 1 to 255 conditions that you want to test that can be either TRUE or FALSE." } }
|
|
100
|
+
},
|
|
101
|
+
REDUCE: {
|
|
102
|
+
s: "Reduces an array to an accumulated value by applying a LAMBDA function to each value and returning the total value in the accumulator.",
|
|
103
|
+
p: {
|
|
104
|
+
initialValue: { d: "is the starting value for the accumulator." },
|
|
105
|
+
array: { d: "is an array to be reduced." },
|
|
106
|
+
fn: { d: "is a LAMBDA that is called to reduce the array. The LAMBDA takes two parameters, accumulator and value." }
|
|
107
|
+
}
|
|
108
|
+
},
|
|
109
|
+
REDUCEIF: {
|
|
110
|
+
s: "Reduces the cells specified by a given condition or criteria.",
|
|
111
|
+
c: "SheetXL",
|
|
112
|
+
p: {
|
|
113
|
+
range: { d: "is the range of cells you want evaluated." },
|
|
114
|
+
criteria: { d: "is the condition or criteria in the form of a number, expression, or text that defines which cells will be reduced." },
|
|
115
|
+
reduceRange: { d: "are the actual cells to reduce. If omitted, the cells in range are used. This can be blank." },
|
|
116
|
+
fn: { d: "is a LAMBDA that is called to reduce the array. The LAMBDA takes two parameters, accumulator and value." }
|
|
117
|
+
}
|
|
118
|
+
},
|
|
119
|
+
SCAN: {
|
|
120
|
+
s: "Scans an array by applying a LAMBDA function to each value and returns an array that has each intermediate value.",
|
|
121
|
+
p: {
|
|
122
|
+
initialValue: { d: "is the starting value for the accumulator." },
|
|
123
|
+
array: { d: "is an array to be reduced." },
|
|
124
|
+
fn: { d: "is a LAMBDA that is called to reduce the array. The LAMBDA takes two parameters, accumulator and value." }
|
|
125
|
+
}
|
|
126
|
+
},
|
|
127
|
+
SWITCH: {
|
|
128
|
+
s: "Evaluates an expression against a list of values and returns the result corresponding to the first matching value. If there is no match, an optional default value is returned.",
|
|
129
|
+
p: {
|
|
130
|
+
expression: { d: "is an expression to be evaluated." },
|
|
131
|
+
match: { d: "the values to compare against expression and the results to return for them." },
|
|
132
|
+
"match.value": { d: "is a value to compare against expression." },
|
|
133
|
+
"match.result": { d: "is a result to be returned if the corresponding value matches expression." },
|
|
134
|
+
defaultResult: { d: "is the result to be returned when no value matches expression." }
|
|
135
|
+
}
|
|
136
|
+
},
|
|
137
|
+
TRUE: {
|
|
138
|
+
s: "Returns the logical value TRUE.",
|
|
139
|
+
p: {}
|
|
140
|
+
},
|
|
141
|
+
XOR: {
|
|
142
|
+
s: "Returns a logical 'Exclusive Or' of all arguments.",
|
|
143
|
+
p: { logical: { d: "are 1 to 254 conditions you want to test that can be either TRUE or FALSE and can be logical values, arrays, or references." } }
|
|
144
|
+
}
|
|
145
|
+
};
|
|
146
|
+
export { e as default };
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license @sheetxl/formulas - Formulas - TypeScript formulas compatible with Excel built-ins. - v0.7.23-beta.1
|
|
3
|
+
*
|
|
4
|
+
* (C) 2026-present SheetXL Inc. & Michael T. Ford
|
|
5
|
+
* License: The license can be found at https://www.sheetxl.com/license.
|
|
6
|
+
*/
|
|
7
|
+
var e = {
|
|
8
|
+
BESSELI: {
|
|
9
|
+
s: "Returns the modified Bessel function In(x).",
|
|
10
|
+
p: {
|
|
11
|
+
x: { d: "is the value at which to evaluate the function." },
|
|
12
|
+
n: { d: "is the order of the Bessel function." }
|
|
13
|
+
}
|
|
14
|
+
},
|
|
15
|
+
BESSELJ: {
|
|
16
|
+
s: "Returns the Bessel function Jn(x).",
|
|
17
|
+
p: {
|
|
18
|
+
x: { d: "is the value at which to evaluate the function." },
|
|
19
|
+
n: { d: "is the order of the Bessel function." }
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
BESSELK: {
|
|
23
|
+
s: "Returns the modified Bessel function Kn(x).",
|
|
24
|
+
p: {
|
|
25
|
+
x: { d: "is the value at which to evaluate the function." },
|
|
26
|
+
n: { d: "is the order of the function." }
|
|
27
|
+
}
|
|
28
|
+
},
|
|
29
|
+
BESSELY: {
|
|
30
|
+
s: "Returns the Bessel function Yn(x).",
|
|
31
|
+
p: {
|
|
32
|
+
x: { d: "is the value at which to evaluate the function." },
|
|
33
|
+
n: { d: "is the order of the function." }
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
};
|
|
37
|
+
export { e as default };
|