@sheetxl/formulas-extended 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.
Files changed (157) hide show
  1. package/LICENSE.md +11 -0
  2. package/README.md +59 -0
  3. package/browser/cjs/B4JJfKSI4ppwU855.cjs +1 -0
  4. package/browser/cjs/BWDfauDHqB6U_2ka.cjs +1 -0
  5. package/browser/cjs/BwLx9ix5Sq7suAYP.cjs +1 -0
  6. package/browser/cjs/C2uDl8VIJqh58YF_.cjs +1 -0
  7. package/browser/cjs/CW-b31_-r-_raT8Y.cjs +1 -0
  8. package/browser/cjs/Clu7XiAsCB48GDXN.cjs +1 -0
  9. package/browser/cjs/CnZfa45XxA-9Jhmp.cjs +1 -0
  10. package/browser/cjs/DsFZgtSQpC75d1M0.cjs +1 -0
  11. package/browser/cjs/JfM6P_qoQQTWakZf.cjs +1 -0
  12. package/browser/cjs/bM25C5avKgBAJVfk.cjs +1 -0
  13. package/browser/cjs/fqTQ_p3ehzUvc1tF.cjs +1 -0
  14. package/browser/cjs/h3dw1jAp2J5Pu4p3.cjs +1 -0
  15. package/browser/cjs/index.cjs +1 -0
  16. package/browser/cjs/jev6VGWTdgEgm4Yk.cjs +1 -0
  17. package/browser/cjs/lEQC21-Sk4lwHy2r.cjs +1 -0
  18. package/browser/esm/-9SircqlVS-6jMNw.mjs +304 -0
  19. package/browser/esm/BCWg0NNa-nGjBMYM.mjs +19 -0
  20. package/browser/esm/BSWSZ6lA8jcSqHmz.mjs +19 -0
  21. package/browser/esm/BUYVOSf4JEFM5iRs.mjs +45 -0
  22. package/browser/esm/BWbYcyqeI2q9zobt.mjs +63 -0
  23. package/browser/esm/BatWJFRiqJI5wALH.mjs +52 -0
  24. package/browser/esm/CRT-M9ZISwPJluM8.mjs +71 -0
  25. package/browser/esm/Ck9zOHAyQJLQF_j_.mjs +83 -0
  26. package/browser/esm/CmXZZdy6rEOCrUnH.mjs +63 -0
  27. package/browser/esm/DAxAXOJZXvqvlnoT.mjs +28 -0
  28. package/browser/esm/DHrrLoyQ_KZ3yWWr.mjs +55 -0
  29. package/browser/esm/DboajdAr6s1IjcXM.mjs +45 -0
  30. package/browser/esm/Dtof6I8zPa8LIz89.mjs +35 -0
  31. package/browser/esm/XphbS4usCLMa2WZ2.mjs +20 -0
  32. package/browser/esm/index.mjs +2978 -0
  33. package/licenses/dependencies.txt +1 -0
  34. package/node/esm/-9SircqlVS-6jMNw.mjs +304 -0
  35. package/node/esm/BBREUOtt4cAHs88k.mjs +45 -0
  36. package/node/esm/BCWg0NNa-nGjBMYM.mjs +19 -0
  37. package/node/esm/BSWSZ6lA8jcSqHmz.mjs +19 -0
  38. package/node/esm/BUYVOSf4JEFM5iRs.mjs +45 -0
  39. package/node/esm/BWbYcyqeI2q9zobt.mjs +63 -0
  40. package/node/esm/BatWJFRiqJI5wALH.mjs +52 -0
  41. package/node/esm/CRT-M9ZISwPJluM8.mjs +71 -0
  42. package/node/esm/Ck9zOHAyQJLQF_j_.mjs +83 -0
  43. package/node/esm/CmXZZdy6rEOCrUnH.mjs +63 -0
  44. package/node/esm/DHrrLoyQ_KZ3yWWr.mjs +55 -0
  45. package/node/esm/Dp0K0CPOWr5We6lS.mjs +28 -0
  46. package/node/esm/Dtof6I8zPa8LIz89.mjs +35 -0
  47. package/node/esm/XphbS4usCLMa2WZ2.mjs +20 -0
  48. package/node/esm/index.mjs +3047 -0
  49. package/package.json +43 -0
  50. package/resources/contents.json +14 -0
  51. package/resources/locales/contents.json +9 -0
  52. package/resources/locales/de/functions.json +59 -0
  53. package/types/index.d.ts +4 -0
  54. package/types/src/.generated/decl/cube/Cube.decl.d.ts +4 -0
  55. package/types/src/.generated/decl/cube/Cube.decl.d.ts.map +1 -0
  56. package/types/src/.generated/decl/financial/ACCRINT.decl.d.ts +4 -0
  57. package/types/src/.generated/decl/financial/ACCRINT.decl.d.ts.map +1 -0
  58. package/types/src/.generated/decl/financial/AMORDEGRC.decl.d.ts +4 -0
  59. package/types/src/.generated/decl/financial/AMORDEGRC.decl.d.ts.map +1 -0
  60. package/types/src/.generated/decl/financial/Date.decl.d.ts +4 -0
  61. package/types/src/.generated/decl/financial/Date.decl.d.ts.map +1 -0
  62. package/types/src/.generated/decl/financial/Financial.decl.d.ts +4 -0
  63. package/types/src/.generated/decl/financial/Financial.decl.d.ts.map +1 -0
  64. package/types/src/.generated/decl/financial/Financial2.decl.d.ts +4 -0
  65. package/types/src/.generated/decl/financial/Financial2.decl.d.ts.map +1 -0
  66. package/types/src/.generated/decl/financial/Financial3.decl.d.ts +4 -0
  67. package/types/src/.generated/decl/financial/Financial3.decl.d.ts.map +1 -0
  68. package/types/src/.generated/decl/financial/Financial4.decl.d.ts +4 -0
  69. package/types/src/.generated/decl/financial/Financial4.decl.d.ts.map +1 -0
  70. package/types/src/.generated/decl/financial/ODD.decl.d.ts +4 -0
  71. package/types/src/.generated/decl/financial/ODD.decl.d.ts.map +1 -0
  72. package/types/src/.generated/decl/financial/VDB.decl.d.ts +4 -0
  73. package/types/src/.generated/decl/financial/VDB.decl.d.ts.map +1 -0
  74. package/types/src/.generated/decl/statistical/ETS.decl.d.ts +4 -0
  75. package/types/src/.generated/decl/statistical/ETS.decl.d.ts.map +1 -0
  76. package/types/src/.generated/decl/statistical/Regression.decl.d.ts +4 -0
  77. package/types/src/.generated/decl/statistical/Regression.decl.d.ts.map +1 -0
  78. package/types/src/.generated/decl/statistical/TTEST.decl.d.ts +4 -0
  79. package/types/src/.generated/decl/statistical/TTEST.decl.d.ts.map +1 -0
  80. package/types/src/.generated/decl/text/RegEx.decl.d.ts +4 -0
  81. package/types/src/.generated/decl/text/RegEx.decl.d.ts.map +1 -0
  82. package/types/src/.generated/desc/cube/Cube.desc.d.ts +4 -0
  83. package/types/src/.generated/desc/cube/Cube.desc.d.ts.map +1 -0
  84. package/types/src/.generated/desc/financial/ACCRINT.desc.d.ts +4 -0
  85. package/types/src/.generated/desc/financial/ACCRINT.desc.d.ts.map +1 -0
  86. package/types/src/.generated/desc/financial/AMORDEGRC.desc.d.ts +4 -0
  87. package/types/src/.generated/desc/financial/AMORDEGRC.desc.d.ts.map +1 -0
  88. package/types/src/.generated/desc/financial/Date.desc.d.ts +4 -0
  89. package/types/src/.generated/desc/financial/Date.desc.d.ts.map +1 -0
  90. package/types/src/.generated/desc/financial/Financial.desc.d.ts +4 -0
  91. package/types/src/.generated/desc/financial/Financial.desc.d.ts.map +1 -0
  92. package/types/src/.generated/desc/financial/Financial2.desc.d.ts +4 -0
  93. package/types/src/.generated/desc/financial/Financial2.desc.d.ts.map +1 -0
  94. package/types/src/.generated/desc/financial/Financial3.desc.d.ts +4 -0
  95. package/types/src/.generated/desc/financial/Financial3.desc.d.ts.map +1 -0
  96. package/types/src/.generated/desc/financial/Financial4.desc.d.ts +4 -0
  97. package/types/src/.generated/desc/financial/Financial4.desc.d.ts.map +1 -0
  98. package/types/src/.generated/desc/financial/ODD.desc.d.ts +4 -0
  99. package/types/src/.generated/desc/financial/ODD.desc.d.ts.map +1 -0
  100. package/types/src/.generated/desc/financial/VDB.desc.d.ts +4 -0
  101. package/types/src/.generated/desc/financial/VDB.desc.d.ts.map +1 -0
  102. package/types/src/.generated/desc/statistical/ETS.desc.d.ts +4 -0
  103. package/types/src/.generated/desc/statistical/ETS.desc.d.ts.map +1 -0
  104. package/types/src/.generated/desc/statistical/Regression.desc.d.ts +4 -0
  105. package/types/src/.generated/desc/statistical/Regression.desc.d.ts.map +1 -0
  106. package/types/src/.generated/desc/statistical/TTEST.desc.d.ts +4 -0
  107. package/types/src/.generated/desc/statistical/TTEST.desc.d.ts.map +1 -0
  108. package/types/src/.generated/desc/text/RegEx.desc.d.ts +4 -0
  109. package/types/src/.generated/desc/text/RegEx.desc.d.ts.map +1 -0
  110. package/types/src/.generated/index.d.ts +7 -0
  111. package/types/src/.generated/index.d.ts.map +1 -0
  112. package/types/src/_utils/AnyArgs.d.ts +38 -0
  113. package/types/src/_utils/AnyArgs.d.ts.map +1 -0
  114. package/types/src/_utils/Consts.d.ts +14 -0
  115. package/types/src/_utils/Consts.d.ts.map +1 -0
  116. package/types/src/_utils/Date.d.ts +33 -0
  117. package/types/src/_utils/Date.d.ts.map +1 -0
  118. package/types/src/_utils/FinanaceSolver.d.ts +19 -0
  119. package/types/src/_utils/FinanaceSolver.d.ts.map +1 -0
  120. package/types/src/_utils/FinanceCoupon.d.ts +141 -0
  121. package/types/src/_utils/FinanceCoupon.d.ts.map +1 -0
  122. package/types/src/_utils/FinanceDate.d.ts +26 -0
  123. package/types/src/_utils/FinanceDate.d.ts.map +1 -0
  124. package/types/src/_utils/FinanceDayCount.d.ts +80 -0
  125. package/types/src/_utils/FinanceDayCount.d.ts.map +1 -0
  126. package/types/src/_utils/FinanceUtils.d.ts +3 -0
  127. package/types/src/_utils/FinanceUtils.d.ts.map +1 -0
  128. package/types/src/_utils/LeastSquares.d.ts +131 -0
  129. package/types/src/_utils/LeastSquares.d.ts.map +1 -0
  130. package/types/src/cube/Cube.d.ts +64 -0
  131. package/types/src/cube/Cube.d.ts.map +1 -0
  132. package/types/src/financial/ACCRINT.d.ts +19 -0
  133. package/types/src/financial/ACCRINT.d.ts.map +1 -0
  134. package/types/src/financial/AMORDEGRC.d.ts +53 -0
  135. package/types/src/financial/AMORDEGRC.d.ts.map +1 -0
  136. package/types/src/financial/Date.d.ts +29 -0
  137. package/types/src/financial/Date.d.ts.map +1 -0
  138. package/types/src/financial/Financial.d.ts +287 -0
  139. package/types/src/financial/Financial.d.ts.map +1 -0
  140. package/types/src/financial/Financial2.d.ts +99 -0
  141. package/types/src/financial/Financial2.d.ts.map +1 -0
  142. package/types/src/financial/Financial3.d.ts +95 -0
  143. package/types/src/financial/Financial3.d.ts.map +1 -0
  144. package/types/src/financial/Financial4.d.ts +82 -0
  145. package/types/src/financial/Financial4.d.ts.map +1 -0
  146. package/types/src/financial/ODD.d.ts +106 -0
  147. package/types/src/financial/ODD.d.ts.map +1 -0
  148. package/types/src/financial/VDB.d.ts +27 -0
  149. package/types/src/financial/VDB.d.ts.map +1 -0
  150. package/types/src/statistical/ETS.d.ts +45 -0
  151. package/types/src/statistical/ETS.d.ts.map +1 -0
  152. package/types/src/statistical/Regression.d.ts +49 -0
  153. package/types/src/statistical/Regression.d.ts.map +1 -0
  154. package/types/src/statistical/TTEST.d.ts +27 -0
  155. package/types/src/statistical/TTEST.d.ts.map +1 -0
  156. package/types/src/text/RegEx.d.ts +34 -0
  157. package/types/src/text/RegEx.d.ts.map +1 -0
@@ -0,0 +1 @@
1
+ No third parties dependencies
@@ -0,0 +1,304 @@
1
+ /**
2
+ * @license @sheetxl/formulas-extended - Formulas Enterprise - 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
+ COUPDAYS: {
9
+ s: "Returns the number of days from the beginning of the coupon period to the settlement date.",
10
+ p: {
11
+ settlement: { d: "is the security's settlement date, expressed as a serial date number." },
12
+ maturity: { d: "is the security's maturity date, expressed as a serial date number." },
13
+ frequency: { d: "is the number of coupon payments per year." },
14
+ basis: { d: "is the type of day count basis to use." }
15
+ }
16
+ },
17
+ CUMIPMT: {
18
+ s: "Returns the cumulative interest paid between two periods.",
19
+ p: {
20
+ rate: { d: "is the interest rate." },
21
+ nper: { d: "is the total number of payment periods." },
22
+ pv: { d: "is the present value of the investment." },
23
+ startPeriod: { d: "is the first period in the calculation." },
24
+ endPeriod: { d: "is the last period in the calculation." },
25
+ type: { d: "is the timing of the payment." }
26
+ }
27
+ },
28
+ CUMPRINC: {
29
+ s: "Returns the cumulative principal paid on a loan between two periods.",
30
+ p: {
31
+ rate: { d: "is the interest rate." },
32
+ nper: { d: "is the total number of payment periods." },
33
+ pv: { d: "is the present value of the investment." },
34
+ startPeriod: { d: "is the first period in the calculation." },
35
+ endPeriod: { d: "is the last period in the calculation." },
36
+ type: { d: "is the timing of the payment." }
37
+ }
38
+ },
39
+ DB: {
40
+ s: "Returns the depreciation of an asset for a specified period using the fixed-declining balance method.",
41
+ p: {
42
+ cost: { d: "is the initial cost of the asset." },
43
+ salvage: { d: "is the salvage value at the end of the life of the asset." },
44
+ life: { d: "is the number of periods over which the asset is being depreciated (sometimes called the useful life of the asset)." },
45
+ period: { d: "is the period for which you want to calculate the depreciation. Period must use the same units as Life." },
46
+ month: { d: "is the number of months in the first year." }
47
+ }
48
+ },
49
+ DDB: {
50
+ s: "Returns the depreciation of an asset for a specified period using the double-declining balance method or some other method you specify.",
51
+ p: {
52
+ cost: { d: "is the initial cost of the asset." },
53
+ salvage: { d: "is the salvage value at the end of the life of the asset." },
54
+ life: { d: "is the number of periods over which the asset is being depreciated (sometimes called the useful life of the asset)." },
55
+ period: { d: "is the period for which you want to calculate the depreciation. Period must use the same units as Life." },
56
+ factor: { d: "is the rate at which the balance declines." }
57
+ }
58
+ },
59
+ DISC: {
60
+ s: "Returns the discount rate for a security.",
61
+ p: {
62
+ settlement: { d: "is the security's settlement date, expressed as a serial date number." },
63
+ maturity: { d: "is the security's maturity date, expressed as a serial date number." },
64
+ pr: { d: "is the security's price per $100 face value." },
65
+ redemption: { d: "is the security's redemption value per $100 face value." },
66
+ basis: { d: "is the type of day count basis to use." }
67
+ }
68
+ },
69
+ DOLLARDE: {
70
+ s: "Converts a dollar price, expressed as a fraction, into a dollar price, expressed as a decimal number.",
71
+ p: {
72
+ fractionalDollar: { d: "is a number expressed as a fraction." },
73
+ fraction: { d: "is the integer to use in the denominator of the fraction." }
74
+ }
75
+ },
76
+ DOLLARFR: {
77
+ s: "Converts a dollar price, expressed as a decimal number, into a dollar price, expressed as a fraction.",
78
+ p: {
79
+ decimalDollar: { d: "is a decimal number." },
80
+ fraction: { d: "is the integer to use in the denominator of the fraction." }
81
+ }
82
+ },
83
+ EFFECT: {
84
+ s: "Returns the effective annual interest rate.",
85
+ p: {
86
+ nominalRate: { d: "is the nominal interest rate." },
87
+ npery: { d: "is the number of compounding periods per year." }
88
+ }
89
+ },
90
+ FV: {
91
+ s: "Returns the future value of an investment based on periodic, constant payments and a constant interest rate.",
92
+ p: {
93
+ rate: { d: "is the interest rate." },
94
+ nper: { d: "is the total number of payment periods." },
95
+ pmt: { d: "is the payment made each period; it cannot change over the life of the investment." },
96
+ pv: { d: "is the present value of the investment." },
97
+ type: { d: "Indicates when pmts are due." }
98
+ }
99
+ },
100
+ FVSCHEDULE: {
101
+ s: "Returns the future value of an initial principal after applying a series of compound interest rates.",
102
+ p: {
103
+ principal: { d: "is the present value." },
104
+ schedule: { d: "is an array of interest rates to apply." }
105
+ }
106
+ },
107
+ IPMT: {
108
+ s: "Returns the interest payment for a given period for an investment, based on periodic, constant payments and a constant interest rate.",
109
+ p: {
110
+ rate: { d: "is the interest rate." },
111
+ per: { d: "is the period for which you want to find the interest and must be in the range 1 to Nper." },
112
+ nper: { d: "is the total number of payment periods." },
113
+ pv: { d: "is the present value of the investment." },
114
+ fv: { d: "is the future value, or a cash balance you want to attain after the last payment is made." },
115
+ type: { d: "is a logical value representing the timing of payment: at the end of the period = 0, at the beginning of the period = 1." }
116
+ }
117
+ },
118
+ IRR: {
119
+ s: "Returns the internal rate of return for a series of cash flows.",
120
+ p: {
121
+ values: { d: "is an array or a reference to cells that contain numbers for which you want to calculate the internal rate of return." },
122
+ guess: { d: "is a number that you guess is close to the result of IRR." }
123
+ }
124
+ },
125
+ ISPMT: {
126
+ s: "Returns the interest paid during a specific period of an investment.",
127
+ p: {
128
+ rate: { d: "is the interest rate." },
129
+ per: { d: "period for which you want to find the interest." },
130
+ nper: { d: "number of payment periods in an investment." },
131
+ pv: { d: "lump sum amount that a series of future payments is right now." }
132
+ }
133
+ },
134
+ MIRR: {
135
+ s: "Returns the modified internal rate of return for a series of periodic cash flows.",
136
+ p: {
137
+ values: { d: "An array of cash flows; must contain at least one positive and one negative value." },
138
+ financeRate: { d: "The interest rate paid on negative cash flows (cost of capital)." },
139
+ reinvestRate: { d: "The interest rate received on positive cash flows (reinvestment rate)." }
140
+ }
141
+ },
142
+ NOMINAL: {
143
+ s: "Returns the annual nominal interest rate.",
144
+ p: {
145
+ effectiveRate: { d: "is the effective interest rate." },
146
+ npery: { d: "is the number of compounding periods per year." }
147
+ }
148
+ },
149
+ NPER: {
150
+ s: "Returns the number of periods for an investment based on periodic, constant payments and a constant interest rate.",
151
+ p: {
152
+ rate: { d: "is the interest rate per period. For example, use 6%/4 for quarterly payments at 6% APR." },
153
+ pmt: { d: "is the payment made each period; it cannot change over the life of the investment." },
154
+ pv: { d: "is the present value, or the lump-sum amount that a series of future payments is worth now." },
155
+ fv: { d: "is the future value, or a cash balance you want to attain after the last payment is made." },
156
+ type: { d: "is a logical value: payment at the beginning of the period = 1; payment at the end of the period = 0." }
157
+ }
158
+ },
159
+ NPV: {
160
+ s: "Returns the net present value of an investment based on a discount rate and a series of future payments (negative values) and income (positive values).",
161
+ p: {
162
+ rate: { d: "is the rate of discount over the length of one period." },
163
+ value: { d: "are 1 to 254 payments and income, equally spaced in time and occurring at the end of each period." }
164
+ }
165
+ },
166
+ PDURATION: {
167
+ s: "Returns the number of periods required by an investment to reach a specified value.",
168
+ p: {
169
+ rate: { d: "is the interest rate." },
170
+ pv: { d: "is the present value of the investment." },
171
+ fv: { d: "is the desired future value of the investment." }
172
+ }
173
+ },
174
+ PMT: {
175
+ s: "Calculates the payment for a loan based on constant payments and a constant interest rate.",
176
+ p: {
177
+ rate: { d: "is the interest rate." },
178
+ nper: { d: "is the total number of payment periods." },
179
+ pv: { d: "is the present value of the investment." },
180
+ fv: { d: "is the future value, or a cash balance you want to attain after the last payment is made." },
181
+ type: { d: "is a logical value: payment at the beginning of the period = 1; payment at the end of the period = 0." }
182
+ }
183
+ },
184
+ PPMT: {
185
+ s: "Returns the payment on the principal for a given investment based on periodic, constant payments and a constant payments and a constant interest rate.",
186
+ p: {
187
+ rate: { d: "is the interest rate per period." },
188
+ per: { d: "is the period for which you want to find the principal payment and must be in the range 1 to Nper." },
189
+ nper: { d: "is the total number of payment periods in the investment." },
190
+ pv: { d: "is the present value of the investment." },
191
+ fv: { d: "is the future value, or a cash balance you want to attain after the last payment is made." },
192
+ type: { d: "is a logical value: payment at the beginning of the period = 1; payment at the end of the period = 0." }
193
+ }
194
+ },
195
+ PRICEDISC: {
196
+ s: "Returns the price per $100 face value of a discounted security.",
197
+ p: {
198
+ settlement: { d: "is the security's settlement date, expressed as a serial date number." },
199
+ maturity: { d: "is the security's maturity date, expressed as a serial date number." },
200
+ discount: { d: "is the security's discount rate." },
201
+ redemption: { d: "is the amount to be received at maturity." },
202
+ basis: { d: "is the type of day count basis to use." }
203
+ }
204
+ },
205
+ PV: {
206
+ s: "Returns the present value of an investment: the total amount that a series of future payments is worth now.",
207
+ p: {
208
+ rate: { d: "is the interest rate." },
209
+ nper: { d: "is the total number of payment periods in an investment." },
210
+ pmt: { d: "is the payment made each period and cannot change over the life of the investment." },
211
+ fv: { d: "is the future value, or a cash balance you want to attain after the last payment is made." },
212
+ type: { d: "is a logical value: payment at the beginning of the period = 1; payment at the end of the period = 0." }
213
+ }
214
+ },
215
+ RATE: {
216
+ s: "Returns the interest rate per period of a loan or an investment. For example, use 6%/4 for quarterly payments at 6% APR.",
217
+ p: {
218
+ nper: { d: "is the total number of payment periods." },
219
+ pmt: { d: "is the payment made each period and cannot change over the life of the loan or investment." },
220
+ pv: { d: "is the present value: the total amount that a series of future payments is worth now." },
221
+ fv: { d: "is the future value, or a cash balance you want to attain after the last payment is made." },
222
+ type: { d: "is a logical value: payment at the beginning of the period = 1; payment at the end of the period = 0." },
223
+ guess: { d: "is your guess for what the rate will be." }
224
+ }
225
+ },
226
+ RRI: {
227
+ s: "Returns an equivalent interest rate for the growth of an investment.",
228
+ p: {
229
+ nper: { d: "is the total number of payment periods." },
230
+ pv: { d: "is the present value of the investment." },
231
+ fv: { d: "is the future value of the investment." }
232
+ }
233
+ },
234
+ SLN: {
235
+ s: "Returns the straight-line depreciation of an asset for one period.",
236
+ p: {
237
+ cost: { d: "is the initial cost of the asset." },
238
+ salvage: { d: "is the salvage value at the end of the life of the asset." },
239
+ life: { d: "is the number of periods over which the asset is being depreciated (sometimes called the useful life of the asset)." }
240
+ }
241
+ },
242
+ STOCKHISTORY: {
243
+ s: "Returns an array of historical quote data for a symbol and date range you specify..",
244
+ p: {
245
+ stock: { d: "Symbol of financial instrument to be considered or a Stock data type." },
246
+ startDate: { d: "First date to return data from." },
247
+ endDate: { d: "Last date to return data from." },
248
+ interval: { d: "A number indicating the granularity of the data; 0 - Daily, 1 - Weekly, 2 - Monthly." },
249
+ headers: { d: "A logical value to add column header data; 0 - No column header, 1 - Show column header, 2 - Show instrument identifier and column header." },
250
+ properties: { d: "A number indicating which column of data to return; 0 through 5." }
251
+ },
252
+ h: "Unimplemented RichData"
253
+ },
254
+ SYD: {
255
+ s: "Returns the sum-of-years' digits depreciation of an asset for a specified period.",
256
+ p: {
257
+ cost: { d: "is the initial cost of the asset." },
258
+ salvage: { d: "is the salvage value at the end of the life of the asset." },
259
+ life: { d: "is the number of periods over which the asset is being depreciated (sometimes called the useful life of the asset)." },
260
+ per: { d: "is the period and must use the same units as Life." }
261
+ }
262
+ },
263
+ TBILLEQ: {
264
+ s: "Returns the bond-equivalent yield for a treasury bill.",
265
+ p: {
266
+ settlement: { d: "is the Treasury bill's settlement date, expressed as a serial date number." },
267
+ maturity: { d: "is the Treasury bill's maturity date, expressed as a serial date number." },
268
+ discount: { d: "is the Treasury bill's discount rate." }
269
+ }
270
+ },
271
+ TBILLPRICE: {
272
+ s: "Returns the price per $100 face value for a treasury bill.",
273
+ p: {
274
+ settlement: { d: "is the Treasury bill's settlement date, expressed as a serial date number." },
275
+ maturity: { d: "is the Treasury bill's maturity date, expressed as a serial date number." },
276
+ discount: { d: "is the Treasury bill's discount rate." }
277
+ }
278
+ },
279
+ TBILLYIELD: {
280
+ s: "Returns the yield for a treasury bill.",
281
+ p: {
282
+ settlement: { d: "is the Treasury bill's settlement date, expressed as a serial date number." },
283
+ maturity: { d: "is the Treasury bill's maturity date, expressed as a serial date number." },
284
+ pr: { d: "is the Treasury Bill's price per $100 face value." }
285
+ }
286
+ },
287
+ XIRR: {
288
+ s: "Returns the internal rate of return for a schedule of cash flows.",
289
+ p: {
290
+ values: { d: "is a series of cash flows that correspond to a schedule of payments in dates." },
291
+ dates: { d: "is a schedule of payment dates that corresponds to the cash flow payments." },
292
+ guess: { d: "is a number that you guess is close to the result of XIRR." }
293
+ }
294
+ },
295
+ XNPV: {
296
+ s: "Returns the net present value for a schedule of cash flows.",
297
+ p: {
298
+ rate: { d: "is the discount rate to apply to the cash flows." },
299
+ values: { d: "is a series of cash flows that correspond to a schedule of payments in dates." },
300
+ dates: { d: "is a schedule of payment dates that corresponds to the cash flow payments." }
301
+ }
302
+ }
303
+ };
304
+ export { e as default };
@@ -0,0 +1,45 @@
1
+ /**
2
+ * @license @sheetxl/formulas-extended - Formulas Enterprise - 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 = {
8
+ LINEST: {
9
+ s: "Returns statistics that describe a linear trend matching known data points, by fitting a straight line using the least squares method.",
10
+ p: {
11
+ knownYs: { d: "is the set of y-values you already know in the relationship y = mx + b." },
12
+ knownXs: { d: "is an optional set of x-values that you may already know in the relationship y = mx + b." },
13
+ constant: { d: "is a logical value: the constant b is calculated normally if Const = TRUE; b is set equal to 0 if Const = FALSE." },
14
+ stats: { d: "is a logical value: return additional regression statistics = TRUE; return m-coefficients and the constant b = FALSE." }
15
+ }
16
+ },
17
+ LOGEST: {
18
+ s: "Returns statistics that describe an exponential curve matching known data points.",
19
+ p: {
20
+ knownYs: { d: "is the set of y-values you already know in the relationship y = b*m^x." },
21
+ knownXs: { d: "is an optional set of x-values that you may already know in the relationship y = b*m^x." },
22
+ constant: { d: "is a logical value: the constant b is calculated normally if Const = TRUE; b is set equal to 1 if Const = FALSE." },
23
+ stats: { d: "is a logical value: return additional regression statistics = TRUE; return m-coefficients and the constant b = FALSE." }
24
+ }
25
+ },
26
+ TREND: {
27
+ s: "Returns values along a linear trend fitted to known data points.",
28
+ p: {
29
+ knownYs: { d: "The known y-values in the relationship y = mx + b." },
30
+ knownXs: { d: "Optional x-values. Defaults to {1,2,3,...,n}." },
31
+ newXs: { d: "The x-values for which to predict y. Defaults to knownX." },
32
+ useConst: { d: "If FALSE, forces the constant b to zero. Defaults to TRUE." }
33
+ }
34
+ },
35
+ GROWTH: {
36
+ s: "Returns numbers in an exponential growth trend matching known data points.",
37
+ p: {
38
+ knownYs: { d: "is the set of y-values you already know in the relationship y = b*m^x, an array or range of positive numbers." },
39
+ knownXs: { d: "is an optional set of x-values that you may already know in the relationship y = b*m^x, an array or range the same size as Known_y's." },
40
+ newXs: { d: "are new x-values for which you want GROWTH to return corresponding y-values." },
41
+ useConst: { d: "is a logical value: the constant b is calculated normally if Const = TRUE; b is set equal to 1 if Const = FALSE." }
42
+ }
43
+ }
44
+ };
45
+ export { t as default };
@@ -0,0 +1,19 @@
1
+ /**
2
+ * @license @sheetxl/formulas-extended - Formulas Enterprise - 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 = { VDB: {
8
+ s: "Returns the depreciation of an asset for any period you specify, including partial periods, using the double-declining balance method or some other method you specify.",
9
+ p: {
10
+ cost: { d: "is the initial cost of the asset." },
11
+ salvage: { d: "is the salvage value at the end of the life of the asset." },
12
+ life: { d: "is the number of periods over which the asset is being depreciated (sometimes called the useful life of the asset)." },
13
+ startPeriod: { d: "is the first period in the calculation." },
14
+ endPeriod: { d: "is the last period in the calculation." },
15
+ factor: { d: "is the rate at which the balance declines." },
16
+ noSwitch: { d: "switch to straight-line depreciation when depreciation is greater than the declining balance = FALSE; do not switch = TRUE." }
17
+ }
18
+ } };
19
+ export { e as default };
@@ -0,0 +1,19 @@
1
+ /**
2
+ * @license @sheetxl/formulas-extended - Formulas Enterprise - 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 = { AMORDEGRC: {
8
+ s: "Returns the depreciation for each accounting period using a",
9
+ p: {
10
+ cost: { d: "is the cost of the asset." },
11
+ datePurchased: { d: "is the date the asset is purchased." },
12
+ firstPeriod: { d: "is the date of the end of the first period." },
13
+ salvage: { d: "is the salvage value at the end of life of the asset." },
14
+ period: { d: "is the period." },
15
+ rate: { d: "is the depreciation rate." },
16
+ basis: { d: "is the type of day count basis to use." }
17
+ }
18
+ } };
19
+ export { e as default };
@@ -0,0 +1,45 @@
1
+ /**
2
+ * @license @sheetxl/formulas-extended - Formulas Enterprise - 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
+ REGEXEXTRACT: {
9
+ s: "Extracts substrings of 'text' based on the provided REGEX 'pattern'.",
10
+ p: {
11
+ text: { d: "is the text string from which you want to extract characters." },
12
+ pattern: { d: "The regular expression to be applied." },
13
+ returnMode: { d: "Specify which matches to return." },
14
+ caseInsensitive: { d: "Whether the match is case insensitive." }
15
+ }
16
+ },
17
+ REGEXMATCH: {
18
+ s: "Tests whether a text string matches a regular expression.",
19
+ c: "Sheets",
20
+ p: {
21
+ text: { d: "is the text string to be tested against the regular expression." },
22
+ regularExpression: { d: "The regular expression to test the text against." },
23
+ caseInsensitive: { d: "Whether the match is case insensitive." }
24
+ }
25
+ },
26
+ REGEXREPLACE: {
27
+ s: "Returns 'text', with 'replacement' in place of matches with 'pattern'.",
28
+ p: {
29
+ text: { d: "is the text string from which you want to extract characters." },
30
+ pattern: { d: "The regular expression to be applied." },
31
+ replacement: { d: "The replacement string." },
32
+ occurrence: { d: "The occurrence of the match to replace." },
33
+ caseInsensitive: { d: "Whether the match is case insensitive." }
34
+ }
35
+ },
36
+ REGEXTEST: {
37
+ s: "Checks whether the input matches the pattern, and returns TRUE or FALSE.",
38
+ p: {
39
+ text: { d: "is the text string to be checked." },
40
+ pattern: { d: "is the regular expression to be applied." },
41
+ caseInsensitive: { d: "Whether the match is case insensitive." }
42
+ }
43
+ }
44
+ };
45
+ export { e as default };
@@ -0,0 +1,63 @@
1
+ /**
2
+ * @license @sheetxl/formulas-extended - Formulas Enterprise - 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
+ ODDFPRICE: {
9
+ s: "Returns the price per $100 face value of a security with an odd first period.",
10
+ p: {
11
+ settlement: { d: "is the security's settlement date, expressed as a serial date number." },
12
+ maturity: { d: "is the security's maturity date, expressed as a serial date number." },
13
+ issue: { d: "is the security's issue date, expressed as a serial date number." },
14
+ firstCoupon: { d: "is the security's first coupon date, expressed as a serial date number." },
15
+ rate: {},
16
+ yld: { d: "is the security's annual yield." },
17
+ redemption: { d: "is the security's redemption value per $100 face value." },
18
+ frequency: { d: "is the number of coupon payments per year." },
19
+ basis: { d: "is the type of day count basis to use." }
20
+ }
21
+ },
22
+ ODDFYIELD: {
23
+ s: "Returns the yield of a security with an odd first period.",
24
+ p: {
25
+ settlement: { d: "is the security's settlement date, expressed as a serial date number." },
26
+ maturity: { d: "is the security's maturity date, expressed as a serial date number." },
27
+ issue: { d: "is the security's issue date, expressed as a serial date number." },
28
+ firstCoupon: { d: "is the security's first coupon date, expressed as a serial date number." },
29
+ rate: { d: "is the security's interest rate." },
30
+ pr: { d: "is the security's price." },
31
+ redemption: { d: "is the security's redemption value per $100 face value." },
32
+ frequency: { d: "is the number of coupon payments per year." },
33
+ basis: { d: "is the type of day count basis to use." }
34
+ }
35
+ },
36
+ ODDLPRICE: {
37
+ s: "Returns the price per $100 face value of a security with an odd last period.",
38
+ p: {
39
+ settlement: { d: "is the security's settlement date, expressed as a serial date number." },
40
+ maturity: { d: "is the security's maturity date, expressed as a serial date number." },
41
+ lastInterest: { d: "is the security's last coupon date, expressed as a serial date number." },
42
+ rate: { d: "is the interest rate." },
43
+ yld: { d: "is the security's annual yield." },
44
+ redemption: { d: "is the amount to be received at maturity." },
45
+ frequency: { d: "is the number of coupon payments per year." },
46
+ basis: { d: "is the type of day count basis to use." }
47
+ }
48
+ },
49
+ ODDLYIELD: {
50
+ s: "Returns the yield of a security with an odd last period.",
51
+ p: {
52
+ settlement: { d: "is the security's settlement date, expressed as a serial date number." },
53
+ maturity: { d: "is the security's maturity date, expressed as a serial date number." },
54
+ lastInterest: { d: "is the security's last coupon date, expressed as a serial date number." },
55
+ rate: { d: "is the interest rate." },
56
+ pr: { d: "is the security's price." },
57
+ redemption: { d: "is the amount to be received at maturity." },
58
+ frequency: { d: "is the number of coupon payments per year." },
59
+ basis: { d: "is the type of day count basis to use." }
60
+ }
61
+ }
62
+ };
63
+ export { e as default };
@@ -0,0 +1,52 @@
1
+ /**
2
+ * @license @sheetxl/formulas-extended - Formulas Enterprise - 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
+ "FORECAST.ETS": {
9
+ s: "Returns the forecasted value for a specific future target date using exponential smoothing method.",
10
+ p: {
11
+ targetDate: { d: "is the data point for which you want to predict a value. It should carry on the pattern of values in the timeline." },
12
+ values: { d: "is the array or range of numeric data you're predicting." },
13
+ timeline: { d: "is the independent array or range of numeric data. The dates in the timeline must have a consistent step between them and can't be zero." },
14
+ seasonality: { d: "[1] 0 = no seasonality; 1 = auto-detect; any integer > 1 = explicit seasonal period." },
15
+ dataCompletion: { d: "[1] 1 = interpolate missing values; 0 = fill with zeros." },
16
+ aggregation: { d: "[1] Aggregation method for duplicate timestamps: 1=Average, 2=Count, 3=Max, 4=Median, 5=Min, 6=Sum, 7=None (#NUM! if duplicates exist)." }
17
+ }
18
+ },
19
+ "FORECAST.ETS.CONFINT": {
20
+ s: "Returns a confidence interval for the forecasted value at the specified target date.",
21
+ p: {
22
+ targetDate: { d: "is the data point for which you want to predict a value. It should carry on the pattern of values in the timeline." },
23
+ values: { d: "is the array or range of numeric data you're predicting." },
24
+ timeline: { d: "is the independent array or range of numeric data. The dates in the timeline must have a consistent step between them and can't be zero." },
25
+ confidenceLevel: { d: "[0.95] Confidence probability, must be strictly between 0 and 1." },
26
+ seasonality: { d: "[1] 0 = no seasonality; 1 = auto-detect; any integer > 1 = explicit seasonal period." },
27
+ dataCompletion: { d: "[1] 1 = interpolate missing values; 0 = fill with zeros." },
28
+ aggregation: { d: "[1] Aggregation method for duplicate timestamps: 1=Average, 2=Count, 3=Max, 4=Median, 5=Min, 6=Sum, 7=None." }
29
+ }
30
+ },
31
+ "FORECAST.ETS.SEASONALITY": {
32
+ s: "Returns the length of the repetitive pattern in the data for the specific time series.",
33
+ p: {
34
+ values: { d: "is the array or range of numeric data you're predicting." },
35
+ timeline: { d: "is the independent array or range of numeric data. The dates in the timeline must have a consistent step between them and can't be zero." },
36
+ dataCompletion: { d: "[1] 1 = interpolate missing values; 0 = fill with zeros." },
37
+ aggregation: { d: "[1] Aggregation method for duplicate timestamps: 1=Average, 2=Count, 3=Max, 4=Median, 5=Min, 6=Sum, 7=None." }
38
+ }
39
+ },
40
+ "FORECAST.ETS.STAT": {
41
+ s: "Returns a requested statistic for the ETS forecast model.",
42
+ p: {
43
+ values: { d: "is the array or range of numeric data you're predicting." },
44
+ timeline: { d: "is the independent array or range of numeric data." },
45
+ statisticType: { d: "1=Alpha, 2=Beta (trend smoothing), 3=Gamma (seasonal smoothing), 4=MASE, 5=SMAPE, 6=MAE, 7=RMSE, 8=Step size." },
46
+ seasonality: { d: "[1] 0 = no seasonality; 1 = auto-detect; any integer > 1 = explicit seasonal period." },
47
+ dataCompletion: { d: "[1] 1 = interpolate missing values; 0 = fill with zeros." },
48
+ aggregation: { d: "[1] Aggregation method for duplicate timestamps: 1=Average, 2=Count, 3=Max, 4=Median, 5=Min, 6=Sum, 7=None." }
49
+ }
50
+ }
51
+ };
52
+ export { e as default };
@@ -0,0 +1,71 @@
1
+ /**
2
+ * @license @sheetxl/formulas-extended - Formulas Enterprise - 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
+ CUBEKPIMEMBER: {
9
+ s: "Returns a key performance indicator (KPI) property and displays the KPI name in the cell.",
10
+ p: {
11
+ connection: { d: "is the name of a connection to an OLAP cube." },
12
+ kpiName: { d: "is the KPI name." },
13
+ kpiProperty: { d: "is the KPI property." },
14
+ caption: { d: "is the caption to be displayed in the cell." }
15
+ },
16
+ h: "Unimplemented Cube"
17
+ },
18
+ CUBEMEMBER: {
19
+ s: "Returns a member or tuple from the cube.",
20
+ p: {
21
+ connection: { d: "is the name of a connection to an OLAP cube." },
22
+ memberExpression: { d: "is the expression representing the name of a member or tuple in the OLAP cube." },
23
+ caption: { d: "is the caption to be displayed in the cell." }
24
+ },
25
+ h: "Unimplemented Cube"
26
+ },
27
+ CUBEMEMBERPROPERTY: {
28
+ s: "Returns the value of a member property from the cube.",
29
+ p: {
30
+ connection: { d: "is the name of a connection to an OLAP cube." },
31
+ memberExpression: { d: "is the expression representing the name of a member in the OLAP cube." },
32
+ kpiProperty: { d: "is the property name." }
33
+ },
34
+ h: "Unimplemented Cube"
35
+ },
36
+ CUBERANKEDMEMBER: {
37
+ s: "Returns the nth, or ranked, member in a set.",
38
+ p: {
39
+ connection: { d: "is the name of a connection to an OLAP cube." },
40
+ setExpression: { d: "is the set from which the element is to be retrieved." },
41
+ rank: { d: "is the rank of the element to be retrieved." },
42
+ caption: { d: "is the caption to be displayed in the cell." }
43
+ },
44
+ h: "Unimplemented Cube"
45
+ },
46
+ CUBESET: {
47
+ s: "Defines a calculated set of members or tuples by sending a set expression to the cube on the server, which creates the set, and then returns that set to Microsoft Excel.",
48
+ p: {
49
+ connection: { d: "is the name of a connection to an OLAP cube." },
50
+ setExpression: { d: "is the expression for the set." },
51
+ caption: { d: "is the caption to be displayed in the cell." },
52
+ sortOrder: { d: "is the sort order." },
53
+ sortBy: { d: "is the sort by." }
54
+ },
55
+ h: "Unimplemented Cube"
56
+ },
57
+ CUBESETCOUNT: {
58
+ s: "Returns the number of items in a set.",
59
+ p: { set: { d: "is the set whose elements are to be counted." } },
60
+ h: "Unimplemented Cube"
61
+ },
62
+ CUBEVALUE: {
63
+ s: "Returns an aggregated value from the cube.",
64
+ p: {
65
+ connection: { d: "is the name of a connection to an OLAP cube." },
66
+ memberExpression: { d: "is a slicer that determines the portion of the OLAP cube for which the aggregation value is to be retrieved." }
67
+ },
68
+ h: "Unimplemented Cube"
69
+ }
70
+ };
71
+ export { e as default };