@fileverse-dev/formulajs 4.4.31-circles-patch-5 → 4.4.31-circles-patch-6

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.
@@ -0,0 +1,4731 @@
1
+ export function AAVE(...args: any[]): Promise<any>;
2
+ /**
3
+ * Returns the absolute value of a number.
4
+ *
5
+ * Category: Math and trigonometry
6
+ *
7
+ * @param {*} number The real number of which you want the absolute value.
8
+ * @returns
9
+ */
10
+ export function ABS(number: any): number | Error;
11
+ /**
12
+ * Returns the accrued interest for a security that pays periodic interest.
13
+ *
14
+ * Category: Financial
15
+ *
16
+ * @param {*} issue The security's issue date.
17
+ * @param {*} first_interest The security's first interest date.
18
+ * @param {*} settlement The security's settlement date. The security settlement date is the date after the issue date when the security is traded to the buyer.
19
+ * @param {*} rate The security's annual coupon rate.
20
+ * @param {*} par The security's par value. If you omit par, ACCRINT uses $1,000.
21
+ * @param {*} frequency The number of coupon payments per year. For annual payments, frequency = 1; for semiannual, frequency = 2; for quarterly, frequency = 4.
22
+ * @param {*} basis Optional. The type of day count basis to use.
23
+ * @param {*} calc_method Optional. Not implemented in formulajs. A logical value that specifies the way to calculate the total accrued interest when the date of settlement is later than the date of first_interest. A value of TRUE (1) returns the total accrued interest from issue to settlement. A value of FALSE (0) returns the accrued interest from first_interest to settlement. If you do not enter the argument, it defaults to TRUE.
24
+ * @returns
25
+ */
26
+ export function ACCRINT(issue: any, first_interest: any, settlement: any, rate: any, par: any, frequency: any, basis: any): number | Error;
27
+ /**
28
+ * Returns the arccosine of a number.
29
+ *
30
+ * Category: Math and trigonometry
31
+ *
32
+ * @param {*} number The cosine of the angle you want and must be from -1 to 1.
33
+ * @returns
34
+ */
35
+ export function ACOS(number: any): number | Error;
36
+ /**
37
+ * Returns the inverse hyperbolic cosine of a number.
38
+ *
39
+ * Category: Math and trigonometry
40
+ *
41
+ * @param {*} number Any real number equal to or greater than 1.
42
+ * @returns
43
+ */
44
+ export function ACOSH(number: any): number | Error;
45
+ /**
46
+ * Returns the arccotangent of a number.
47
+ *
48
+ * Category: Math and trigonometry
49
+ *
50
+ * @param {*} number Number is the cotangent of the angle you want. This must be a real number.
51
+ * @returns
52
+ */
53
+ export function ACOT(number: any): number | Error;
54
+ /**
55
+ * Returns the hyperbolic arccotangent of a number.
56
+ *
57
+ * Category: Math and trigonometry
58
+ *
59
+ * @param {*} number The absolute value of Number must be greater than 1.
60
+ * @returns
61
+ */
62
+ export function ACOTH(number: any): number | Error;
63
+ /**
64
+ * Returns an aggregate in a list or database.
65
+ *
66
+ * Category: Math and trigonometry
67
+ *
68
+ * @param {*} function_num A number 1 to 19 that specifies which function to use.
69
+ * @param {*} options A numerical value that determines which values to ignore in the evaluation range for the function. Note: The function will not ignore hidden rows, nested subtotals or nested aggregates if the array argument includes a calculation, for example: =AGGREGATE(14,3,A1:A100*(A1:A100>0),1)
70
+ * @param {*} ref1 The first numeric argument for functions that take multiple numeric arguments for which you want the aggregate value.
71
+ * @param {*} ref2 Optional. Numeric arguments 2 to 253 for which you want the aggregate value. For functions that take an array, ref1 is an array, an array formula, or a reference to a range of values for which you want the aggregate value. Ref2 is a second argument that is required for certain functions.
72
+ * @returns
73
+ */
74
+ export function AGGREGATE(function_num: any, options: any, ref1: any, ref2: any): any;
75
+ /**
76
+ * Returns TRUE if all of its arguments are TRUE.
77
+ *
78
+ * Category: Logical
79
+ *
80
+ * @returns
81
+ */
82
+ export function AND(...args: any[]): any;
83
+ /**
84
+ * Converts a Roman number to Arabic, as a number.
85
+ *
86
+ * Category: Math and trigonometry
87
+ *
88
+ * @param {*} text A string enclosed in quotation marks, an empty string (""), or a reference to a value containing text.
89
+ * @returns
90
+ */
91
+ export function ARABIC(text: any): number | Error;
92
+ export function ARTEMIS(): string;
93
+ /**
94
+ * Returns the arcsine of a number.
95
+ *
96
+ * Category: Math and trigonometry
97
+ *
98
+ * @param {*} number The sine of the angle you want and must be from -1 to 1.
99
+ * @returns
100
+ */
101
+ export function ASIN(number: any): number | Error;
102
+ /**
103
+ * Returns the inverse hyperbolic sine of a number.
104
+ *
105
+ * Category: Math and trigonometry
106
+ *
107
+ * @param {*} number Any real number.
108
+ * @returns
109
+ */
110
+ export function ASINH(number: any): number | Error;
111
+ /**
112
+ * Returns the arctangent of a number.
113
+ *
114
+ * Category: Math and trigonometry
115
+ *
116
+ * @param {*} number The tangent of the angle you want.
117
+ * @returns
118
+ */
119
+ export function ATAN(number: any): number | Error;
120
+ /**
121
+ * Returns the arctangent from x- and y-coordinates.
122
+ *
123
+ * Category: Math and trigonometry
124
+ *
125
+ * @param {*} x_num The x-coordinate of the point.
126
+ * @param {*} y_num The y-coordinate of the point.
127
+ * @returns
128
+ */
129
+ export function ATAN2(x_num: any, y_num: any): any;
130
+ /**
131
+ * Returns the inverse hyperbolic tangent of a number.
132
+ *
133
+ * Category: Math and trigonometry
134
+ *
135
+ * @param {*} number Any real number between 1 and -1.
136
+ * @returns
137
+ */
138
+ export function ATANH(number: any): number | Error;
139
+ /**
140
+ * Returns the average of the absolute deviations of data points from their mean.
141
+ *
142
+ * Category: Statistical
143
+ *
144
+ * @param {*} args number1, number2, ... Number1 is required, subsequent numbers are optional. 1 to 255 arguments for which you want the average of the absolute deviations. You can also use a single array or a reference to an array instead of arguments separated by commas.
145
+ * @returns
146
+ */
147
+ export function AVEDEV(...args: any[]): number | Error;
148
+ /**
149
+ * Returns the average of its arguments.
150
+ *
151
+ * Category: Statistical
152
+ *
153
+ * @param {*} args number1, number2, ...Numbers, value references or ranges for which you want the average.
154
+ * @returns
155
+ */
156
+ export function AVERAGE(...args: any[]): any;
157
+ /**
158
+ * Returns the average of its arguments, including numbers, text, and logical values.
159
+ *
160
+ * Category: Statistical
161
+ *
162
+ * @param {*} args value1, value2, ... Value1 is required, subsequent values are optional. 1 to 255 values, ranges of values, or values for which you want the average.
163
+ * @returns
164
+ */
165
+ export function AVERAGEA(...args: any[]): any;
166
+ /**
167
+ * Returns the average (arithmetic mean) of all the values in a range that meet a given criteria.
168
+ *
169
+ * Category: Statistical
170
+ *
171
+ * @param {*} range One or more values to average, including numbers or names, arrays, or references that contain numbers.
172
+ * @param {*} criteria The criteria in the form of a number, expression, value reference, or text that defines which values are averaged.
173
+ * @param {*} average_range Optional. The actual set of values to average. If omitted, range is used.
174
+ * @returns
175
+ */
176
+ export function AVERAGEIF(range: any, criteria: any, average_range: any, ...args: any[]): number | Error;
177
+ /**
178
+ * Returns the average (arithmetic mean) of all values that meet multiple criteria.
179
+ *
180
+ * Category: Statistical
181
+ *
182
+ * @param {*} args One or more values to average, including numbers or names, arrays, or references that contain numbers.
183
+ * @returns
184
+ */
185
+ export function AVERAGEIFS(...args: any[]): number;
186
+ export function BASE(...args: any[]): Promise<any>;
187
+ /**
188
+ * Returns the modified Bessel function In(x).
189
+ *
190
+ * Category: Engineering
191
+ *
192
+ * @param {*} x The value at which to evaluate the function.
193
+ * @param {*} n The order of the Bessel function. If n is not an integer, it is truncated.
194
+ * @returns
195
+ */
196
+ export function BESSELI(x: any, n: any): any;
197
+ /**
198
+ * Returns the Bessel function Jn(x).
199
+ *
200
+ * Category: Engineering
201
+ *
202
+ * @param {*} x The value at which to evaluate the function.
203
+ * @param {*} n The order of the Bessel function. If n is not an integer, it is truncated.
204
+ * @returns
205
+ */
206
+ export function BESSELJ(x: any, n: any): any;
207
+ /**
208
+ * Returns the modified Bessel function Kn(x).
209
+ *
210
+ * Category: Engineering
211
+ *
212
+ * @param {*} x The value at which to evaluate the function.
213
+ * @param {*} n The order of the function. If n is not an integer, it is truncated.
214
+ * @returns
215
+ */
216
+ export function BESSELK(x: any, n: any): any;
217
+ /**
218
+ * Returns the Bessel function Yn(x).
219
+ *
220
+ * Category: Engineering
221
+ *
222
+ * @param {*} x The value at which to evaluate the function.
223
+ * @param {*} n The order of the function. If n is not an integer, it is truncated.
224
+ * @returns
225
+ */
226
+ export function BESSELY(x: any, n: any): any;
227
+ export namespace BETA {
228
+ /**
229
+ * Returns the beta cumulative distribution function.
230
+ *
231
+ * Category: Statistical
232
+ *
233
+ * @param {*} x The value between A and B at which to evaluate the function
234
+ * @param {*} alpha A parameter of the distribution.
235
+ * @param {*} beta A parameter of the distribution.
236
+ * @param {*} cumulative A logical value that determines the form of the function. If cumulative is TRUE, BETA.DIST returns the cumulative distribution function; if FALSE, it returns the probability density function.
237
+ * @param {*} a Optional. A lower bound to the interval of x.
238
+ * @param {*} b Optional. An upper bound to the interval of x.
239
+ * @returns
240
+ */
241
+ function DIST(x: any, alpha: any, beta: any, cumulative: any, a: any, b: any, ...args: any[]): any;
242
+ /**
243
+ * Returns the inverse of the cumulative distribution function for a specified beta distribution.
244
+ *
245
+ * Category: Statistical
246
+ *
247
+ * @param {*} probability A probability associated with the beta distribution.
248
+ * @param {*} alpha A parameter of the distribution.
249
+ * @param {*} beta A parameter the distribution.
250
+ * @param {*} a Optional. A lower bound to the interval of x.
251
+ * @param {*} b Optional. An upper bound to the interval of x.
252
+ * @returns
253
+ */
254
+ function INV(probability: any, alpha: any, beta: any, a: any, b: any): any;
255
+ }
256
+ /**
257
+ * Returns the beta cumulative distribution function.
258
+ *
259
+ * Category: Statistical
260
+ *
261
+ * @param {*} x The value between A and B at which to evaluate the function
262
+ * @param {*} alpha A parameter of the distribution.
263
+ * @param {*} beta A parameter of the distribution.
264
+ * @param {*} cumulative A logical value that determines the form of the function. If cumulative is TRUE, BETA.DIST returns the cumulative distribution function; if FALSE, it returns the probability density function.
265
+ * @param {*} a Optional. A lower bound to the interval of x.
266
+ * @param {*} b Optional. An upper bound to the interval of x.
267
+ * @returns
268
+ */
269
+ export function BETADIST(x: any, alpha: any, beta: any, cumulative: any, a: any, b: any, ...args: any[]): any;
270
+ /**
271
+ * Returns the inverse of the cumulative distribution function for a specified beta distribution.
272
+ *
273
+ * Category: Statistical
274
+ *
275
+ * @param {*} probability A probability associated with the beta distribution.
276
+ * @param {*} alpha A parameter of the distribution.
277
+ * @param {*} beta A parameter the distribution.
278
+ * @param {*} a Optional. A lower bound to the interval of x.
279
+ * @param {*} b Optional. An upper bound to the interval of x.
280
+ * @returns
281
+ */
282
+ export function BETAINV(probability: any, alpha: any, beta: any, a: any, b: any): any;
283
+ /**
284
+ * Converts a binary number to decimal.
285
+ *
286
+ * Category: Engineering
287
+ *
288
+ * @param {*} number The binary number you want to convert. Number cannot contain more than 10 characters (10 bits). The most significant bit of number is the sign bit. The remaining 9 bits are magnitude bits. Negative numbers are represented using two's-complement notation.
289
+ * @returns
290
+ */
291
+ export function BIN2DEC(number: any): number | Error;
292
+ /**
293
+ * Converts a binary number to hexadecimal.
294
+ *
295
+ * Category: Engineering
296
+ *
297
+ * @param {*} number The binary number you want to convert. Number cannot contain more than 10 characters (10 bits). The most significant bit of number is the sign bit. The remaining 9 bits are magnitude bits. Negative numbers are represented using two's-complement notation.
298
+ * @param {*} places Optional. The number of characters to use. If places is omitted, BIN2HEX uses the minimum number of characters necessary. Places is useful for padding the return value with leading 0s (zeros).
299
+ * @returns
300
+ */
301
+ export function BIN2HEX(number: any, places: any): string | Error;
302
+ /**
303
+ * Converts a binary number to octal.
304
+ *
305
+ * Category: Engineering
306
+ *
307
+ * @param {*} number The binary number you want to convert. Number cannot contain more than 10 characters (10 bits). The most significant bit of number is the sign bit. The remaining 9 bits are magnitude bits. Negative numbers are represented using two's-complement notation.
308
+ * @param {*} places Optional. The number of characters to use. If places is omitted, BIN2OCT uses the minimum number of characters necessary. Places is useful for padding the return value with leading 0s (zeros).
309
+ * @returns
310
+ */
311
+ export function BIN2OCT(number: any, places: any): string | Error;
312
+ export namespace BINOM {
313
+ /**
314
+ * Returns the individual term binomial distribution probability.
315
+ *
316
+ * Category: Statistical
317
+ *
318
+ * @param {*} number_s The number of successes in trials.
319
+ * @param {*} trials The number of independent trials.
320
+ * @param {*} probability_s The probability of success on each trial.
321
+ * @param {*} cumulative A logical value that determines the form of the function. If cumulative is TRUE, then BINOM.DIST returns the cumulative distribution function, which is the probability that there are at most number_s successes; if FALSE, it returns the probability mass function, which is the probability that there are number_s successes.
322
+ * @returns
323
+ */
324
+ function DIST(number_s: any, trials: any, probability_s: any, cumulative: any): any;
325
+ namespace DIST {
326
+ /**
327
+ * Returns the probability of a trial result using a binomial distribution.
328
+ *
329
+ * Category: Statistical
330
+ *
331
+ * @param {*} trials The number of independent trials. Must be greater than or equal to 0.
332
+ * @param {*} probability_s The probability of success in each trial. Must be greater than or equal to 0 and less than or equal to 1.
333
+ * @param {*} number_s The number of successes in trials. Must be greater than or equal to 0 and less than or equal to Trials.
334
+ * @param {*} number_s2 Optional. If provided, returns the probability that the number of successful trials will fall between Number_s and number_s2. Must be greater than or equal to Number_s and less than or equal to Trials.
335
+ * @returns
336
+ */
337
+ function RANGE(trials: any, probability_s: any, number_s: any, number_s2: any): number | Error;
338
+ }
339
+ /**
340
+ * Returns the smallest value for which the cumulative binomial distribution is less than or equal to a criterion value.
341
+ *
342
+ * Category: Statistical
343
+ *
344
+ * @param {*} trials The number of Bernoulli trials.
345
+ * @param {*} probability_s The probability of a success on each trial.
346
+ * @param {*} alpha The criterion value.
347
+ * @returns
348
+ */
349
+ function INV(trials: any, probability_s: any, alpha: any): number | Error;
350
+ }
351
+ /**
352
+ * Returns the individual term binomial distribution probability.
353
+ *
354
+ * Category: Statistical
355
+ *
356
+ * @param {*} number_s The number of successes in trials.
357
+ * @param {*} trials The number of independent trials.
358
+ * @param {*} probability_s The probability of success on each trial.
359
+ * @param {*} cumulative A logical value that determines the form of the function. If cumulative is TRUE, then BINOM.DIST returns the cumulative distribution function, which is the probability that there are at most number_s successes; if FALSE, it returns the probability mass function, which is the probability that there are number_s successes.
360
+ * @returns
361
+ */
362
+ export function BINOMDIST(number_s: any, trials: any, probability_s: any, cumulative: any): any;
363
+ export namespace BINOMDIST { }
364
+ /**
365
+ * Returns a 'Bitwise And' of two numbers.
366
+ *
367
+ * Category: Engineering
368
+ *
369
+ * @param {*} number1 Must be in decimal form and greater than or equal to 0.
370
+ * @param {*} number2 Must be in decimal form and greater than or equal to 0.
371
+ * @returns
372
+ */
373
+ export function BITAND(number1: any, number2: any): number | Error;
374
+ /**
375
+ * Returns a value number shifted left by shift_amount bits.
376
+ *
377
+ * Category: Engineering
378
+ *
379
+ * @param {*} number Number must be an integer greater than or equal to 0.
380
+ * @param {*} shift_amount Shift_amount must be an integer.
381
+ * @returns
382
+ */
383
+ export function BITLSHIFT(number: any, shift_amount: any): number | Error;
384
+ /**
385
+ * Returns a bitwise OR of 2 numbers.
386
+ *
387
+ * Category: Engineering
388
+ *
389
+ * @param {*} number1 Must be in decimal form and greater than or equal to 0.
390
+ * @param {*} number2 Must be in decimal form and greater than or equal to 0.
391
+ * @returns
392
+ */
393
+ export function BITOR(number1: any, number2: any): number | Error;
394
+ /**
395
+ * Returns a value number shifted right by shift_amount bits.
396
+ *
397
+ * Category: Engineering
398
+ *
399
+ * @param {*} number Must be an integer greater than or equal to 0.
400
+ * @param {*} shift_amount Must be an integer.
401
+ * @returns
402
+ */
403
+ export function BITRSHIFT(number: any, shift_amount: any): number | Error;
404
+ /**
405
+ * Returns a bitwise 'Exclusive Or' of two numbers.
406
+ *
407
+ * Category: Engineering
408
+ *
409
+ * @param {*} number1 Must be greater than or equal to 0.
410
+ * @param {*} number2 Must be greater than or equal to 0.
411
+ * @returns
412
+ */
413
+ export function BITXOR(number1: any, number2: any): number | Error;
414
+ export function BLOCKSCOUT(...args: any[]): Promise<any>;
415
+ /**
416
+ * Converts a number into a text representation with the given radix (base).
417
+ *
418
+ * Category: Math and trigonometry
419
+ *
420
+ * @param {*} number The number that you want to convert. Must be an integer greater than or equal to 0 and less than 2^53.
421
+ * @param {*} radix The base radix that you want to convert the number into. Must be an integer greater than or equal to 2 and less than or equal to 36.
422
+ * @param {*} min_length Optional. The minimum length of the returned string. Must be an integer greater than or equal to 0.
423
+ * @returns
424
+ */
425
+ /**
426
+ * Rounds a number to the nearest integer or to the nearest multiple of significance.
427
+ *
428
+ * Category: Math and trigonometry
429
+ *
430
+ * @param {*} number The value you want to round.
431
+ * @param {*} significance The multiple to which you want to round.
432
+ * @param {*} mode Optional. For negative numbers, controls whether Number is rounded toward or away from zero.
433
+ * @returns
434
+ */
435
+ export function CEILING(number: any, significance: any): any;
436
+ export namespace CEILING {
437
+ /**
438
+ * Rounds a number up, to the nearest integer or to the nearest multiple of significance.
439
+ *
440
+ * Category: Math and trigonometry
441
+ *
442
+ * @param {*} number The value you want to round.
443
+ * @param {*} significance Optional. This is the number of significant digits after the decimal point to which number is to be rounded.
444
+ * @param {*} mode Optional. For negative numbers, controls whether Number is rounded toward or away from zero.
445
+ * @returns
446
+ */
447
+ function MATH(number: any, significance: any, mode?: any): any;
448
+ /**
449
+ * Rounds a number up, to the nearest integer or to the nearest multiple of significance.
450
+ *
451
+ * Category: Math and trigonometry
452
+ *
453
+ * @param {*} number The value you want to round.
454
+ * @param {*} significance Optional. This is the number of significant digits after the decimal point to which number is to be rounded.
455
+ * @returns
456
+ */
457
+ function PRECISE(number: any, significance: any): any;
458
+ }
459
+ /**
460
+ * Rounds a number up, to the nearest integer or to the nearest multiple of significance.
461
+ *
462
+ * Category: Math and trigonometry
463
+ *
464
+ * @param {*} number The value you want to round.
465
+ * @param {*} significance Optional. This is the number of significant digits after the decimal point to which number is to be rounded.
466
+ * @param {*} mode Optional. For negative numbers, controls whether Number is rounded toward or away from zero.
467
+ * @returns
468
+ */
469
+ export function CEILINGMATH(number: any, significance: any, mode?: any): any;
470
+ /**
471
+ * Rounds a number up, to the nearest integer or to the nearest multiple of significance.
472
+ *
473
+ * Category: Math and trigonometry
474
+ *
475
+ * @param {*} number The value you want to round.
476
+ * @param {*} significance Optional. This is the number of significant digits after the decimal point to which number is to be rounded.
477
+ * @returns
478
+ */
479
+ export function CEILINGPRECISE(number: any, significance: any): any;
480
+ /**
481
+ * Returns the character specified by the code number.
482
+ *
483
+ * Category: Text
484
+ *
485
+ * @param {*} number A number between 1 and 255 specifying which character you want. The character is from the character set used by your computer. Note: Excel for the web supports only CHAR(9), CHAR(10), CHAR(13), and CHAR(32) and above.
486
+ * @returns
487
+ */
488
+ export function CHAR(number: any): string | Error;
489
+ /**
490
+ * Returns the cumulative beta probability density function.
491
+ *
492
+ * Category: Statistical
493
+ *
494
+ * @param {*} x The value at which you want to evaluate the distribution.
495
+ * @param {*} deg_freedom The number of degrees of freedom.
496
+ * @param {*} cumulative A logical value that determines the form of the function. If cumulative is TRUE, CHISQ.DIST returns the cumulative distribution function; if FALSE, it returns the probability density function.
497
+ * @returns
498
+ */
499
+ export function CHIDIST(x: any, deg_freedom: any, cumulative: any): any;
500
+ export namespace CHIDIST {
501
+ /**
502
+ * Returns the one-tailed probability of the chi-squared distribution.
503
+ *
504
+ * Category: Statistical
505
+ *
506
+ * @param {*} x The value at which you want to evaluate the distribution.
507
+ * @param {*} deg_freedom The number of degrees of freedom.
508
+ * @returns
509
+ */
510
+ function RT(x: any, deg_freedom: any): number | Error;
511
+ }
512
+ /**
513
+ * Returns the one-tailed probability of the chi-squared distribution.
514
+ *
515
+ * Category: Statistical
516
+ *
517
+ * @param {*} x The value at which you want to evaluate the distribution.
518
+ * @param {*} deg_freedom The number of degrees of freedom.
519
+ * @returns
520
+ */
521
+ export function CHIDISTRT(x: any, deg_freedom: any): number | Error;
522
+ /**
523
+ * Returns the cumulative beta probability density function.
524
+ *
525
+ * Category: Statistical
526
+ *
527
+ * @param {*} probability A probability associated with the chi-squared distribution.
528
+ * @param {*} deg_freedom The number of degrees of freedom.
529
+ * @returns
530
+ */
531
+ export function CHIINV(probability: any, deg_freedom: any): any;
532
+ export namespace CHIINV {
533
+ /**
534
+ * Returns the inverse of the one-tailed probability of the chi-squared distribution.
535
+ *
536
+ * Category: Statistical
537
+ *
538
+ * @param {*} probability A probability associated with the chi-squared distribution.
539
+ * @param {*} deg_freedom The number of degrees of freedom.
540
+ * @returns
541
+ */
542
+ function RT(probability: any, deg_freedom: any): any;
543
+ }
544
+ /**
545
+ * Returns the inverse of the one-tailed probability of the chi-squared distribution.
546
+ *
547
+ * Category: Statistical
548
+ *
549
+ * @param {*} probability A probability associated with the chi-squared distribution.
550
+ * @param {*} deg_freedom The number of degrees of freedom.
551
+ * @returns
552
+ */
553
+ export function CHIINVRT(probability: any, deg_freedom: any): any;
554
+ export namespace CHISQ {
555
+ /**
556
+ * Returns the cumulative beta probability density function.
557
+ *
558
+ * Category: Statistical
559
+ *
560
+ * @param {*} x The value at which you want to evaluate the distribution.
561
+ * @param {*} deg_freedom The number of degrees of freedom.
562
+ * @param {*} cumulative A logical value that determines the form of the function. If cumulative is TRUE, CHISQ.DIST returns the cumulative distribution function; if FALSE, it returns the probability density function.
563
+ * @returns
564
+ */
565
+ function DIST(x: any, deg_freedom: any, cumulative: any): any;
566
+ namespace DIST { }
567
+ /**
568
+ * Returns the cumulative beta probability density function.
569
+ *
570
+ * Category: Statistical
571
+ *
572
+ * @param {*} probability A probability associated with the chi-squared distribution.
573
+ * @param {*} deg_freedom The number of degrees of freedom.
574
+ * @returns
575
+ */
576
+ function INV(probability: any, deg_freedom: any): any;
577
+ namespace INV { }
578
+ /**
579
+ * Returns the test for independence.
580
+ *
581
+ * Category: Statistical
582
+ *
583
+ * @param {*} actual_range The range of data that contains observations to test against expected values.
584
+ * @param {*} expected_range The range of data that contains the ratio of the product of row totals and column totals to the grand total.
585
+ * @returns
586
+ */
587
+ function TEST(actual_range: any, expected_range: any, ...args: any[]): number | Error;
588
+ }
589
+ /**
590
+ * Returns the test for independence.
591
+ *
592
+ * Category: Statistical
593
+ *
594
+ * @param {*} actual_range The range of data that contains observations to test against expected values.
595
+ * @param {*} expected_range The range of data that contains the ratio of the product of row totals and column totals to the grand total.
596
+ * @returns
597
+ */
598
+ export function CHITEST(actual_range: any, expected_range: any, ...args: any[]): number | Error;
599
+ /**
600
+ * Chooses a value from a list of values.
601
+ *
602
+ * Category: Lookup and reference
603
+ *
604
+ * @param {*} index_num Specifies which value argument is selected. Index_num must be a number between 1 and 254, or a formula or reference to a value containing a number between 1 and 254. If index_num is 1, CHOOSE returns value1; if it is 2, CHOOSE returns value2; and so on. If index_num is less than 1 or greater than the number of the last value in the list, CHOOSE returns the #VALUE! error value. If index_num is a fraction, it is truncated to the lowest integer before being used.
605
+ - If index_num is 1, CHOOSE returns value1; if it is 2, CHOOSE returns value2; and so on.
606
+ - If index_num is less than 1 or greater than the number of the last value in the list, CHOOSE returns the #VALUE! error value.
607
+ - If index_num is a fraction, it is truncated to the lowest integer before being used.
608
+ * @param {*} args value1, value2, ... Value 1 is required, subsequent values are optional. 1 to 254 value arguments from which CHOOSE selects a value or an action to perform based on index_num. The arguments can be numbers, value references, defined names, formulas, functions, or text.
609
+ * @returns
610
+ */
611
+ export function CHOOSE(...args: any[]): any;
612
+ export function CIRCLES(...args: any[]): Promise<any>;
613
+ /**
614
+ * Removes all nonprintable characters from text.
615
+ *
616
+ * Category: Text
617
+ *
618
+ * @param {*} text Any worksheet information from which you want to remove nonprintable characters.
619
+ * @returns
620
+ */
621
+ export function CLEAN(text: any): any;
622
+ /**
623
+ * Returns a numeric code for the first character in a text string.
624
+ *
625
+ * Category: Text
626
+ *
627
+ * @param {*} text The text for which you want the code of the first character.
628
+ * @returns
629
+ */
630
+ export function CODE(text: any): any;
631
+ export function COINGECKO(...args: any[]): Promise<{
632
+ message: string;
633
+ functionName: any;
634
+ type: string;
635
+ apiKeyName?: undefined;
636
+ reason?: undefined;
637
+ } | {
638
+ message: string;
639
+ functionName: any;
640
+ type: string;
641
+ apiKeyName: any;
642
+ reason?: undefined;
643
+ } | {
644
+ message: string;
645
+ functionName: any;
646
+ type: string;
647
+ reason: any;
648
+ apiKeyName?: undefined;
649
+ } | {}[]>;
650
+ /**
651
+ * Returns the column number of a reference.
652
+ *
653
+ * Category: Lookup and reference
654
+ *
655
+ * @param {*} reference the value or range of values for which you want to return the column number.
656
+ * @param {*} index
657
+ * @returns
658
+ */
659
+ export function COLUMN(reference: any, index: any, ...args: any[]): any;
660
+ /**
661
+ * Returns the number of columns in a reference.
662
+ *
663
+ * Category: Lookup and reference
664
+ *
665
+ * @param {*} array An array or array formula, or a reference to a range of values for which you want the number of columns.
666
+ * @returns
667
+ */
668
+ export function COLUMNS(array: any, ...args: any[]): any;
669
+ /**
670
+ * Returns the number of combinations for a given number of objects.
671
+ *
672
+ * Category: Math and trigonometry
673
+ *
674
+ * @param {*} number The number of items.
675
+ * @param {*} number_chosen The number of items in each combination.
676
+ * @returns
677
+ */
678
+ export function COMBIN(number: any, number_chosen: any): any;
679
+ /**
680
+ * Returns the number of combinations with repetitions for a given number of items.
681
+ *
682
+ * Category: Math and trigonometry
683
+ *
684
+ * @param {*} number Must be greater than or equal to 0, and greater than or equal to Number_chosen. Non-integer values are truncated.
685
+ * @param {*} number_chosen Must be greater than or equal to 0. Non-integer values are truncated.
686
+ * @returns
687
+ */
688
+ export function COMBINA(number: any, number_chosen: any): any;
689
+ /**
690
+ * Converts real and imaginary coefficients into a complex number.
691
+ *
692
+ * Category: Engineering
693
+ *
694
+ * @param {*} real_num The real coefficient of the complex number.
695
+ * @param {*} i_num The imaginary coefficient of the complex number.
696
+ * @param {*} suffix Optional. The suffix for the imaginary component of the complex number. If omitted, suffix is assumed to be "i".
697
+ * @returns
698
+ */
699
+ export function COMPLEX(real_num: any, i_num: any, suffix: any): any;
700
+ /**
701
+ * Joins several text items into one text item.
702
+ *
703
+ * Category: Text
704
+ *
705
+ * @returns
706
+ */
707
+ export function CONCAT(...args: any[]): any;
708
+ /**
709
+ * Joins several text items into one text item.
710
+ *
711
+ * Category: Text
712
+ *
713
+ * @returns
714
+ */
715
+ export function CONCATENATE(...args: any[]): any;
716
+ export namespace CONFIDENCE {
717
+ /**
718
+ * Returns the confidence interval for a population mean.
719
+ *
720
+ * Category: Statistical
721
+ *
722
+ * @param {*} alpha The significance level used to compute the confidence level. The confidence level equals 100*(1 - alpha)%, or in other words, an alpha of 0.05 indicates a 95 percent confidence level.
723
+ * @param {*} standard_dev The population standard deviation for the data range and is assumed to be known.
724
+ * @param {*} size The sample size.
725
+ * @returns
726
+ */
727
+ function NORM(alpha: any, standard_dev: any, size: any): number | Error;
728
+ /**
729
+ * Returns the confidence interval for a population mean, using a Student's t distribution.
730
+ *
731
+ * Category: Statistical
732
+ *
733
+ * @param {*} alpha The significance level used to compute the confidence level. The confidence level equals 100*(1 - alpha)%, or in other words, an alpha of 0.05 indicates a 95 percent confidence level.
734
+ * @param {*} standard_dev The population standard deviation for the data range and is assumed to be known.
735
+ * @param {*} size The sample size.
736
+ * @returns
737
+ */
738
+ function T(alpha: any, standard_dev: any, size: any): number | Error;
739
+ }
740
+ /**
741
+ * Converts a number from one measurement system to another.
742
+ *
743
+ * Category: Engineering
744
+ *
745
+ * @param {*} number is the value in from_units to convert.
746
+ * @param {*} from_unit is the units for number.
747
+ * @param {*} to_unit is the units for the result. CONVERT accepts the following text values (in quotation marks) for from_unit and to_unit.
748
+ * @returns
749
+ */
750
+ export function CONVERT(number: any, from_unit: any, to_unit: any): number | Error;
751
+ /**
752
+ * Returns the correlation coefficient between two data sets.
753
+ *
754
+ * Category: Statistical
755
+ *
756
+ * @param {*} array1 A range of value values.
757
+ * @param {*} array2 A second range of value values.
758
+ * @returns
759
+ */
760
+ export function CORREL(array1: any, array2: any): any;
761
+ /**
762
+ * Returns the cosine of a number.
763
+ *
764
+ * Category: Math and trigonometry
765
+ *
766
+ * @param {*} number The angle in radians for which you want the cosine.
767
+ * @returns
768
+ */
769
+ export function COS(number: any): number | Error;
770
+ /**
771
+ * Returns the hyperbolic cosine of a number.
772
+ *
773
+ * Category: Math and trigonometry
774
+ *
775
+ * @param {*} number Any real number for which you want to find the hyperbolic cosine.
776
+ * @returns
777
+ */
778
+ export function COSH(number: any): number | Error;
779
+ /**
780
+ * Returns the hyperbolic cosine of a number.
781
+ *
782
+ * Category: Math and trigonometry
783
+ *
784
+ * @param {*} number The angle in radians for which you want the cotangent.
785
+ * @returns
786
+ */
787
+ export function COT(number: any): number | Error;
788
+ /**
789
+ * Returns the cotangent of an angle.
790
+ *
791
+ * Category: Math and trigonometry
792
+ *
793
+ * @param {*} number
794
+ * @returns
795
+ */
796
+ export function COTH(number: any): number | Error;
797
+ /**
798
+ * Counts how many numbers are in the list of arguments.
799
+ *
800
+ * Category: Statistical
801
+ *
802
+ * @param {*} args Cell reference, or range within which you want to count numbers.count numbers.
803
+ * @returns
804
+ */
805
+ export function COUNT(...args: any[]): any;
806
+ /**
807
+ * Counts how many values are in the list of arguments.
808
+ *
809
+ * Category: Statistical
810
+ *
811
+ * @param {*} args Arguments representing the values that you want to count.
812
+ * @returns
813
+ */
814
+ export function COUNTA(...args: any[]): number;
815
+ /**
816
+ * Counts the number of blank values within a range.
817
+ *
818
+ * Category: Statistical
819
+ *
820
+ * @param {*} args The range from which you want to count the blank values.
821
+ * @returns
822
+ */
823
+ export function COUNTBLANK(...args: any[]): number;
824
+ /**
825
+ * Counts the number of values within a range that meet the given criteria.
826
+ *
827
+ * Category: Statistical
828
+ *
829
+ * @returns
830
+ */
831
+ export function COUNTIF(range: any, criteria: any): any;
832
+ /**
833
+ * Counts the number of values within a range that meet multiple criteria.
834
+ *
835
+ * Category: Statistical
836
+ *
837
+ * @param {*} args Range in which to evaluate the associated criteria.
838
+ * @returns
839
+ */
840
+ export function COUNTIFS(...args: any[]): number;
841
+ /**
842
+ *
843
+ * Returns the number of days in the coupon period that contains the settlement date.
844
+ *
845
+ * Category: Financial
846
+ *
847
+ * @param {*} settlement The security's settlement date. The security settlement date is the date after the issue date when the security is traded to the buyer.
848
+ * @param {*} maturity The security's maturity date. The maturity date is the date when the security expires.
849
+ * @param {*} frequency The number of coupon payments per year. For annual payments, frequency = 1; for semiannual, frequency = 2; for quarterly, frequency = 4.
850
+ * @param {*} basis Optional. The type of day count basis to use.
851
+ * @returns
852
+ */
853
+ export function COUPDAYS(settlement: any, maturity: any, frequency: any, basis: any): number | Error;
854
+ /**
855
+ * Returns covariance, the average of the products of paired deviations.
856
+ *
857
+ * Category: Statistical
858
+ *
859
+ * @param {*} array1 The first value range of integers.
860
+ * @param {*} array2 The second value range of integers.
861
+ * @returns
862
+ */
863
+ export function COVAR(array1: any, array2: any): number | Error;
864
+ export namespace COVARIANCE {
865
+ /**
866
+ * Returns covariance, the average of the products of paired deviations.
867
+ *
868
+ * Category: Statistical
869
+ *
870
+ * @param {*} array1 The first value range of integers.
871
+ * @param {*} array2 The second value range of integers.
872
+ * @returns
873
+ */
874
+ function P(array1: any, array2: any): number | Error;
875
+ /**
876
+ * Returns the sample covariance, the average of the products deviations for each data point pair in two data sets.
877
+ *
878
+ * Category: Statistical
879
+ *
880
+ * @param {*} array1 The first value range of integers.
881
+ * @param {*} array2 The second value range of integers.
882
+ * @returns
883
+ */
884
+ function S(array1: any, array2: any): any;
885
+ }
886
+ /**
887
+ * Returns covariance, the average of the products of paired deviations.
888
+ *
889
+ * Category: Statistical
890
+ *
891
+ * @param {*} array1 The first value range of integers.
892
+ * @param {*} array2 The second value range of integers.
893
+ * @returns
894
+ */
895
+ export function COVARIANCEP(array1: any, array2: any): number | Error;
896
+ /**
897
+ * Returns the sample covariance, the average of the products deviations for each data point pair in two data sets.
898
+ *
899
+ * Category: Statistical
900
+ *
901
+ * @param {*} array1 The first value range of integers.
902
+ * @param {*} array2 The second value range of integers.
903
+ * @returns
904
+ */
905
+ export function COVARIANCES(array1: any, array2: any): any;
906
+ /**
907
+ * Returns the smallest value for which the cumulative binomial distribution is less than or equal to a criterion value.
908
+ *
909
+ * Category: Statistical
910
+ *
911
+ * @param {*} trials The number of Bernoulli trials.
912
+ * @param {*} probability_s The probability of a success on each trial.
913
+ * @param {*} alpha The criterion value.
914
+ * @returns
915
+ */
916
+ export function CRITBINOM(trials: any, probability_s: any, alpha: any): number | Error;
917
+ /**
918
+ * Returns the cosecant of an angle.
919
+ *
920
+ * Category: Math and trigonometry
921
+ *
922
+ * @param {*} number
923
+ * @returns
924
+ */
925
+ export function CSC(number: any): number | Error;
926
+ /**
927
+ * Returns the hyperbolic cosecant of an angle.
928
+ *
929
+ * Category: Math and trigonometry
930
+ *
931
+ * @param {*} number
932
+ * @returns
933
+ */
934
+ export function CSCH(number: any): number | Error;
935
+ /**
936
+ * Returns the cumulative interest paid between two periods.
937
+ *
938
+ * Category: Financial
939
+ *
940
+ * @param {*} rate The interest rate.
941
+ * @param {*} nper The total number of payment periods.
942
+ * @param {*} pv The present value.
943
+ * @param {*} start_period The first period in the calculation. Payment periods are numbered beginning with 1.
944
+ * @param {*} end_period The last period in the calculation.
945
+ * @param {*} type The timing of the payment.
946
+ * @returns
947
+ */
948
+ export function CUMIPMT(rate: any, nper: any, pv: any, start_period: any, end_period: any, type: any): number | Error;
949
+ /**
950
+ * Returns the cumulative principal paid on a loan between two periods.
951
+ *
952
+ * Category: Financial
953
+ *
954
+ * @param {*} rate The interest rate.
955
+ * @param {*} nper The total number of payment periods.
956
+ * @param {*} pv The present value.
957
+ * @param {*} start_period The first period in the calculation. Payment periods are numbered beginning with 1.
958
+ * @param {*} end_period The last period in the calculation.
959
+ * @param {*} type The timing of the payment.
960
+ * @returns
961
+ */
962
+ export function CUMPRINC(rate: any, nper: any, pv: any, start_period: any, end: any, type: any): number | Error;
963
+ /**
964
+ * Returns the serial number of a particular date.
965
+ *
966
+ * Category: Date and time
967
+ *
968
+ * @param {*} year Year
969
+ * @param {*} month Month
970
+ * @param {*} day Day
971
+ * @returns
972
+ */
973
+ export function DATE(year: any, month: any, day: any): number | Error | Date;
974
+ /**
975
+ * Calculates the number of days, months, or years between two dates. This function is useful in formulas where you need to calculate an age.
976
+ *
977
+ * Category: Date and time
978
+ *
979
+ * @param {*} start_date A date that represents the first, or starting date of a given period.
980
+ * @param {*} end_date A date that represents the last, or ending, date of the period.
981
+ * @param {*} unit The type of information that you want returned, where:
982
+ - "Y": The number of complete years in the period.
983
+ - "M": The number of complete months in the period.
984
+ - "D": The number of days in the period.
985
+ - "MD": The difference between the days in start_date and end_date. The months and years of the dates are ignored.
986
+ - "YM": The difference between the months in start_date and end_date. The days and years of the dates are ignored
987
+ - "YD": The difference between the days of start_date and end_date. The years of the dates are ignored.
988
+ * @returns
989
+ */
990
+ export function DATEDIF(start_date: any, end_date: any, unit: any): number | Error;
991
+ /**
992
+ * Converts a date in the form of text to a serial number.
993
+ *
994
+ * Category: Date and time
995
+ *
996
+ * @param {*} date_text Text that represents a date in an Excel date format, or a reference to a value that contains text that represents a date in an Excel date format.
997
+ * @returns
998
+ */
999
+ export function DATEVALUE(date_text: any): number | Error | Date;
1000
+ /**
1001
+ * Returns the average of selected database entries.
1002
+ *
1003
+ * Category: Database
1004
+ *
1005
+ * @param {*} database Range of values that makes up the list or database. A database is a list of related data in which rows of related information are records, and columns of data are fields. The first row of the list contains labels for each column.
1006
+ * @param {*} field Indicates which column is used in the function. Enter the column label enclosed between double quotation marks, such as "Age" or "Yield," or a number (without quotation marks) that represents the position of the column within the list: 1 for the first column, 2 for the second column, and so on.
1007
+ * @param {*} criteria Range of values that contains the conditions you specify. You can use any range for the criteria argument, as long as it includes at least one column label and at least one value below the column label in which you specify a condition for the column.
1008
+ * @returns
1009
+ */
1010
+ export function DAVERAGE(database: any, field: any, criteria: any): number | Error;
1011
+ /**
1012
+ * Converts a serial number to a day of the month.
1013
+ *
1014
+ * Category: Date and time
1015
+ *
1016
+ * @param {*} serial_number The date of the day you are trying to find.
1017
+ * @returns
1018
+ */
1019
+ export function DAY(serial_number: any): number | Error;
1020
+ /**
1021
+ * Returns the number of days between two dates.
1022
+ *
1023
+ * Category: Date and time
1024
+ *
1025
+ * @param {*} end_date Start_date and End_date are the two dates between which you want to know the number of days.
1026
+ * @param {*} start_date Start_date and End_date are the two dates between which you want to know the number of days.
1027
+ * @returns
1028
+ */
1029
+ export function DAYS(end_date: any, start_date: any): number | Error;
1030
+ /**
1031
+ * Calculates the number of days between two dates based on a 360-day year.
1032
+ *
1033
+ * Category: Date and time
1034
+ *
1035
+ * @param {*} start_date A date that represents the start date. If start_date occurs after end_date, the DAYS360 function returns a negative number.
1036
+ * @param {*} end_date A date that represents the end date.
1037
+ * @param {*} method Optional. A logical value that specifies whether to use the U.S. or European method in the calculation.
1038
+ * @returns
1039
+ */
1040
+ export function DAYS360(start_date: any, end_date: any, method: any): number | Error;
1041
+ /**
1042
+ * Returns the depreciation of an asset for a specified period by using the fixed-declining balance method.
1043
+ *
1044
+ * Category: Financial
1045
+ *
1046
+ * @param {*} cost The initial cost of the asset.
1047
+ * @param {*} salvage The value at the end of the depreciation (sometimes called the salvage value of the asset).
1048
+ * @param {*} life The number of periods over which the asset is being depreciated (sometimes called the useful life of the asset).
1049
+ * @param {*} period The period for which you want to calculate the depreciation. Period must use the same units as life.
1050
+ * @param {*} month Optional. The number of months in the first year. If month is omitted, it is assumed to be 12.
1051
+ * @returns
1052
+ */
1053
+ export function DB(cost: any, salvage: any, life: any, period: any, month: any): number | Error;
1054
+ /**
1055
+ * Counts the values that contain numbers in a database.
1056
+ *
1057
+ * Category: Database
1058
+ *
1059
+ * @param {*} database The range of values that makes up the list or database. A database is a list of related data in which rows of related information are records, and columns of data are fields. The first row of the list contains labels for each column.
1060
+ * @param {*} field Indicates which column is used in the function. Enter the column label enclosed between double quotation marks, such as "Age" or "Yield," or a number (without quotation marks) that represents the position of the column within the list: 1 for the first column, 2 for the second column, and so on.
1061
+ * @param {*} criteria The range of values that contains the conditions that you specify. You can use any range for the criteria argument, as long as the argument includes at least one column label and at least one value below the column label in which you specify a condition for the column.
1062
+ * @returns
1063
+ */
1064
+ export function DCOUNT(database: any, field: any, criteria: any): any;
1065
+ /**
1066
+ * Counts nonblank values in a database.
1067
+ *
1068
+ * Category: Database
1069
+ *
1070
+ * @param {*} database The range of values that makes up the list or database. A database is a list of related data in which rows of related information are records, and columns of data are fields. The first row of the list contains labels for each column.
1071
+ * @param {*} field Optional. Indicates which column is used in the function. Enter the column label enclosed between double quotation marks, such as "Age" or "Yield," or a number (without quotation marks) that represents the position of the column within the list: 1 for the first column, 2 for the second column, and so on.
1072
+ * @param {*} criteria The range of values that contains the conditions that you specify. You can use any range for the criteria argument, as long as it includes at least one column label and at least one value below the column label in which you specify a condition for the column.
1073
+ * @returns
1074
+ */
1075
+ export function DCOUNTA(database: any, field: any, criteria: any): number | Error;
1076
+ /**
1077
+ * Returns the depreciation of an asset for a specified period by using the double-declining balance method or some other method that you specify.
1078
+ *
1079
+ * Category: Financial
1080
+ *
1081
+ * @param {*} cost The initial cost of the asset.
1082
+ * @param {*} salvage The value at the end of the depreciation (sometimes called the salvage value of the asset). This value can be 0.
1083
+ * @param {*} life The number of periods over which the asset is being depreciated (sometimes called the useful life of the asset).
1084
+ * @param {*} period The period for which you want to calculate the depreciation. Period must use the same units as life.
1085
+ * @param {*} factor Optional. The rate at which the balance declines. If factor is omitted, it is assumed to be 2 (the double-declining balance method).
1086
+ * @returns
1087
+ */
1088
+ export function DDB(cost: any, salvage: any, life: any, period: any, factor: any): number | Error;
1089
+ /**
1090
+ * Converts a decimal number to binary.
1091
+ *
1092
+ * Category: Engineering
1093
+ *
1094
+ * @param {*} number The decimal integer you want to convert. If number is negative, valid place values are ignored and DEC2BIN returns a 10-character (10-bit) binary number in which the most significant bit is the sign bit. The remaining 9 bits are magnitude bits. Negative numbers are represented using two's-complement notation.
1095
+ * @param {*} places Optional. The number of characters to use. If places is omitted, DEC2BIN uses the minimum number of characters necessary. Places is useful for padding the return value with leading 0s (zeros).
1096
+ * @returns
1097
+ */
1098
+ export function DEC2BIN(number: any, places: any): string | Error;
1099
+ /**
1100
+ * Converts a decimal number to hexadecimal.
1101
+ *
1102
+ * Category: Engineering
1103
+ *
1104
+ * @param {*} number The decimal integer you want to convert. If number is negative, places is ignored and DEC2HEX returns a 10-character (40-bit) hexadecimal number in which the most significant bit is the sign bit. The remaining 39 bits are magnitude bits. Negative numbers are represented using two's-complement notation.
1105
+ * @param {*} places Optional. The number of characters to use. If places is omitted, DEC2HEX uses the minimum number of characters necessary. Places is useful for padding the return value with leading 0s (zeros).
1106
+ * @returns
1107
+ */
1108
+ export function DEC2HEX(number: any, places: any): any;
1109
+ /**
1110
+ * Converts a decimal number to octal.
1111
+ *
1112
+ * Category: Engineering
1113
+ *
1114
+ * @param {*} number The decimal integer you want to convert. If number is negative, places is ignored and DEC2OCT returns a 10-character (30-bit) octal number in which the most significant bit is the sign bit. The remaining 29 bits are magnitude bits. Negative numbers are represented using two's-complement notation.
1115
+ * @param {*} places Optional. The number of characters to use. If places is omitted, DEC2OCT uses the minimum number of characters necessary. Places is useful for padding the return value with leading 0s (zeros).
1116
+ * @returns
1117
+ */
1118
+ export function DEC2OCT(number: any, places: any): any;
1119
+ /**
1120
+ * Converts a text representation of a number in a given base into a decimal number.
1121
+ *
1122
+ * Category: Math and trigonometry
1123
+ *
1124
+ * @param {*} text
1125
+ * @param {*} radix Radix must be an integer.
1126
+ * @returns
1127
+ */
1128
+ export function DECIMAL(text: any, radix: any, ...args: any[]): any;
1129
+ export function DEFILLAMA(...args: any[]): Promise<{
1130
+ message: string;
1131
+ functionName: any;
1132
+ type: string;
1133
+ apiKeyName?: undefined;
1134
+ reason?: undefined;
1135
+ } | {
1136
+ message: string;
1137
+ functionName: any;
1138
+ type: string;
1139
+ apiKeyName: any;
1140
+ reason?: undefined;
1141
+ } | {
1142
+ message: string;
1143
+ functionName: any;
1144
+ type: string;
1145
+ reason: any;
1146
+ apiKeyName?: undefined;
1147
+ } | {}[]>;
1148
+ /**
1149
+ * Converts radians to degrees.
1150
+ *
1151
+ * Category: Math and trigonometry
1152
+ *
1153
+ * @param {*} angle The angle in radians that you want to convert.
1154
+ * @returns
1155
+ */
1156
+ export function DEGREES(angle: any): number | Error;
1157
+ /**
1158
+ * Tests whether two values are equal.
1159
+ *
1160
+ * Category: Engineering
1161
+ *
1162
+ * @param {*} number1 The first number.
1163
+ * @param {*} number2 Optional. The second number. If omitted, number2 is assumed to be zero.
1164
+ * @returns
1165
+ */
1166
+ export function DELTA(number1: any, number2: any): Error | 0 | 1;
1167
+ /**
1168
+ * Returns the sum of squares of deviations.
1169
+ *
1170
+ * Category: Statistical
1171
+ *
1172
+ * @param {*} args number1, number2, ... Number1 is required, subsequent numbers are optional. 1 to 255 arguments for which you want to calculate the sum of squared deviations. You can also use a single array or a reference to an array instead of arguments separated by commas.
1173
+ * @returns
1174
+ */
1175
+ export function DEVSQ(...args: any[]): number | Error;
1176
+ /**
1177
+ * Extracts from a database a single record that matches the specified criteria.
1178
+ *
1179
+ * Category: Database
1180
+ *
1181
+ * @param {*} database The range of values that makes up the list or database. A database is a list of related data in which rows of related information are records, and columns of data are fields. The first row of the list contains labels for each column.
1182
+ * @param {*} field Indicates which column is used in the function. Enter the column label enclosed between double quotation marks, such as "Age" or "Yield," or a number (without quotation marks) that represents the position of the column within the list: 1 for the first column, 2 for the second column, and so on.
1183
+ * @param {*} criteria The range of values that contains the conditions that you specify. You can use any range for the criteria argument, as long as it includes at least one column label and at least one value below the column label in which you specify a condition for the column.
1184
+ * @returns
1185
+ */
1186
+ export function DGET(database: any, field: any, criteria: any): any;
1187
+ /**
1188
+ * Returns the discount rate for a security.
1189
+ *
1190
+ * Category: Financial
1191
+ *
1192
+ * @param {*} settlement The security's settlement date. The security settlement date is the date after the issue date when the security is traded to the buyer.
1193
+ * @param {*} maturity The security's maturity date. The maturity date is the date when the security expires.
1194
+ * @param {*} pr The security's price per $100 face value.
1195
+ * @param {*} redemption The security's redemption value per $100 face value.
1196
+ * @param {*} basis Optional. The type of day count basis to use.
1197
+ * @returns
1198
+ */
1199
+ export function DISC(settlement: any, maturity: any, pr: any, redemption: any, basis: any): number | Error;
1200
+ /**
1201
+ * Returns the maximum value from selected database entries.
1202
+ *
1203
+ * Category: Database
1204
+ *
1205
+ * @param {*} database The range of values that makes up the list or database. A database is a list of related data in which rows of related information are records, and columns of data are fields. The first row of the list contains labels for each column.
1206
+ * @param {*} field Indicates which column is used in the function. Enter the column label enclosed between double quotation marks, such as "Age" or "Yield," or a number (without quotation marks) that represents the position of the column within the list: 1 for the first column, 2 for the second column, and so on.
1207
+ * @param {*} criteria The range of values that contains the conditions that you specify. You can use any range for the criteria argument, as long as it includes at least one column label and at least one value below the column label in which you specify a condition for the column.
1208
+ * @returns
1209
+ */
1210
+ export function DMAX(database: any, field: any, criteria: any): any;
1211
+ /**
1212
+ * Returns the minimum value from selected database entries.
1213
+ *
1214
+ * Category: Database
1215
+ *
1216
+ * @param {*} database The range of values that makes up the list or database. A database is a list of related data in which rows of related information are records, and columns of data are fields. The first row of the list contains labels for each column.
1217
+ * @param {*} field Indicates which column is used in the function. Enter the column label enclosed between double quotation marks, such as "Age" or "Yield," or a number (without quotation marks) that represents the position of the column within the list: 1 for the first column, 2 for the second column, and so on.
1218
+ * @param {*} criteria The range of values that contains the conditions that you specify. You can use any range for the criteria argument, as long as it includes at least one column label and at least one value below the column label in which you specify a condition for the column.
1219
+ * @returns
1220
+ */
1221
+ export function DMIN(database: any, field: any, criteria: any): any;
1222
+ /**
1223
+ * Converts a number to text, using the $ (dollar) currency format.
1224
+ *
1225
+ * Category: Text
1226
+ *
1227
+ * @param {*} number A number, a reference to a value containing a number, or a formula that evaluates to a number.
1228
+ * @param {*} decimals Optional. The number of digits to the right of the decimal point. If this is negative, the number is rounded to the left of the decimal point. If you omit decimals, it is assumed to be 2.
1229
+ * @returns
1230
+ */
1231
+ export function DOLLAR(number: any, decimals?: any): any;
1232
+ /**
1233
+ * Converts a dollar price, expressed as a fraction, into a dollar price, expressed as a decimal number.
1234
+ *
1235
+ * Category: Financial
1236
+ *
1237
+ * @param {*} fractional_dollar A number expressed as an integer part and a fraction part, separated by a decimal symbol.
1238
+ * @param {*} fraction The integer to use in the denominator of the fraction.
1239
+ * @returns
1240
+ */
1241
+ export function DOLLARDE(fractional_dollar: any, fraction: any): number | Error;
1242
+ /**
1243
+ * Converts a dollar price, expressed as a decimal number, into a dollar price, expressed as a fraction.
1244
+ *
1245
+ * Category: Financial
1246
+ *
1247
+ * @param {*} decimal_dollar A decimal number.
1248
+ * @param {*} fraction The integer to use in the denominator of a fraction.
1249
+ * @returns
1250
+ */
1251
+ export function DOLLARFR(decimal_dollar: any, fraction: any): number | Error;
1252
+ /**
1253
+ * Multiplies the values in a particular field of records that match the criteria in a database.
1254
+ *
1255
+ * Category: Database
1256
+ *
1257
+ * @param {*} database The range of values that makes up the list or database. A database is a list of related data in which rows of related information are records, and columns of data are fields. The first row of the list contains labels for each column.
1258
+ * @param {*} field Indicates which column is used in the function. Enter the column label enclosed between double quotation marks, such as "Age" or "Yield," or a number (without quotation marks) that represents the position of the column within the list: 1 for the first column, 2 for the second column, and so on.
1259
+ * @param {*} criteria The range of values that contains the conditions that you specify. You can use any range for the criteria argument, as long as it includes at least one column label and at least one value below the column label in which you specify a condition for the column.
1260
+ * @returns
1261
+ */
1262
+ export function DPRODUCT(database: any, field: any, criteria: any): number | Error;
1263
+ /**
1264
+ * Estimates the standard deviation based on a sample of selected database entries.
1265
+ *
1266
+ * Category: Database
1267
+ *
1268
+ * @param {*} database The range of values that makes up the list or database. A database is a list of related data in which rows of related information are records, and columns of data are fields. The first row of the list contains labels for each column.
1269
+ * @param {*} field Indicates which column is used in the function. Enter the column label enclosed between double quotation marks, such as "Age" or "Yield," or a number (without quotation marks) that represents the position of the column within the list: 1 for the first column, 2 for the second column, and so on.
1270
+ * @param {*} criteria The range of values that contains the conditions that you specify. You can use any range for the criteria argument, as long as it includes at least one column label and at least one value below the column label in which you specify a condition for the column.
1271
+ * @returns
1272
+ */
1273
+ export function DSTDEV(database: any, field: any, criteria: any): number | Error;
1274
+ /**
1275
+ * Calculates the standard deviation based on the entire population of selected database entries.
1276
+ *
1277
+ * Category: Database
1278
+ *
1279
+ * @param {*} database The range of values that makes up the list or database. A database is a list of related data in which rows of related information are records, and columns of data are fields. The first row of the list contains labels for each column.
1280
+ * @param {*} field Indicates which column is used in the function. Enter the column label enclosed between double quotation marks, such as "Age" or "Yield," or a number (without quotation marks) that represents the position of the column within the list: 1 for the first column, 2 for the second column, and so on.
1281
+ * @param {*} criteria The range of values that contains the conditions that you specify. You can use any range for the criteria argument, as long as it includes at least one column label and at least one value below the column label in which you specify a condition for the column.
1282
+ * @returns
1283
+ */
1284
+ export function DSTDEVP(database: any, field: any, criteria: any): number | Error;
1285
+ /**
1286
+ * Adds the numbers in the field column of records in the database that match the criteria.
1287
+ *
1288
+ * Category: Database
1289
+ *
1290
+ * @param {*} database The range of values that makes up the list or database. A database is a list of related data in which rows of related information are records, and columns of data are fields. The first row of the list contains labels for each column.
1291
+ * @param {*} field Indicates which column is used in the function. Enter the column label enclosed between double quotation marks, such as "Age" or "Yield," or a number (without quotation marks) that represents the position of the column within the list: 1 for the first column, 2 for the second column, and so on.
1292
+ * @param {*} criteria Is the range of values that contains the conditions that you specify. You can use any range for the criteria argument, as long as it includes at least one column label and at least one value below the column label in which you specify a condition for the column.
1293
+ * @returns
1294
+ */
1295
+ export function DSUM(database: any, field: any, criteria: any): number | Error;
1296
+ export function DUNE(...args: any[]): Promise<{
1297
+ message: string;
1298
+ functionName: any;
1299
+ type: string;
1300
+ apiKeyName?: undefined;
1301
+ reason?: undefined;
1302
+ } | {
1303
+ message: string;
1304
+ functionName: any;
1305
+ type: string;
1306
+ apiKeyName: any;
1307
+ reason?: undefined;
1308
+ } | {
1309
+ message: string;
1310
+ functionName: any;
1311
+ type: string;
1312
+ reason: any;
1313
+ apiKeyName?: undefined;
1314
+ } | {}[]>;
1315
+ /**
1316
+ * Estimates variance based on a sample from selected database entries.
1317
+ *
1318
+ * Category: Database
1319
+ *
1320
+ * @param {*} database The range of values that makes up the list or database. A database is a list of related data in which rows of related information are records, and columns of data are fields. The first row of the list contains labels for each column.
1321
+ * @param {*} field Indicates which column is used in the function. Enter the column label enclosed between double quotation marks, such as "Age" or "Yield," or a number (without quotation marks) that represents the position of the column within the list: 1 for the first column, 2 for the second column, and so on.
1322
+ * @param {*} criteria The range of values that contains the conditions that you specify. You can use any range for the criteria argument, as long as it includes at least one column label and at least one value below the column label in which you specify a condition for the column.
1323
+ * @returns
1324
+ */
1325
+ export function DVAR(database: any, field: any, criteria: any): number | Error;
1326
+ /**
1327
+ * Calculates variance based on the entire population of selected database entries.
1328
+ *
1329
+ * Category: Database
1330
+ *
1331
+ * @param {*} database The range of values that makes up the list or database. A database is a list of related data in which rows of related information are records, and columns of data are fields. The first row of the list contains labels for each column.
1332
+ * @param {*} field Indicates which column is used in the function. Enter the column label enclosed between double quotation marks, such as "Age" or "Yield," or a number (without quotation marks) that represents the position of the column within the list: 1 for the first column, 2 for the second column, and so on.
1333
+ * @param {*} criteria The range of values that contains the conditions that you specify. You can use any range for the criteria argument, as long as it includes at least one column label and at least one value below the column label in which you specify a condition for the column.
1334
+ * @returns
1335
+ */
1336
+ export function DVARP(database: any, field: any, criteria: any): number | Error;
1337
+ /**
1338
+ * Returns the serial number of the date that is the indicated number of months before or after the start date.
1339
+ *
1340
+ * Category: Date and time
1341
+ *
1342
+ * @param {*} start_date A date that represents the start date.
1343
+ * @param {*} months The number of months before or after start_date. A positive value for months yields a future date; a negative value yields a past date.
1344
+ * @returns
1345
+ */
1346
+ export function EDATE(start_date: any, months: any): any;
1347
+ /**
1348
+ * Returns the effective annual interest rate.
1349
+ *
1350
+ * Category: Financial
1351
+ *
1352
+ * @param {*} nominal_rate The nominal interest rate.
1353
+ * @param {*} npery The number of compounding periods per year.
1354
+ * @returns
1355
+ */
1356
+ export function EFFECT(nominal_rate: any, npery: any): number | Error;
1357
+ export function EOA(...args: any[]): Promise<any>;
1358
+ /**
1359
+ * Returns the serial number of the last day of the month before or after a specified number of months.
1360
+ *
1361
+ * Category: Date and time
1362
+ *
1363
+ * @param {*} start_date A date that represents the starting date.
1364
+ * @param {*} months The number of months before or after start_date. A positive value for months yields a future date; a negative value yields a past date.
1365
+ * @returns
1366
+ */
1367
+ export function EOMONTH(start_date: any, months: any): number | Error | Date;
1368
+ /**
1369
+ * Returns the error function.
1370
+ *
1371
+ * Category: Engineering
1372
+ *
1373
+ * @param {*} lower_limit The lower bound for integrating ERF.
1374
+ * @param {*} upper_limit Optional. The upper bound for integrating ERF. If omitted, ERF integrates between zero and lower_limit.
1375
+ * @returns
1376
+ */
1377
+ export function ERF(lower_limit: any, upper_limit: any): any;
1378
+ /**
1379
+ * Returns the complementary error function.
1380
+ *
1381
+ * Category: Engineering
1382
+ *
1383
+ * @param {*} x The lower bound for integrating ERFC.
1384
+ * @returns
1385
+ */
1386
+ export function ERFC(x: any): any;
1387
+ export const ERFCPRECISE: any;
1388
+ export const ERFPRECISE: any;
1389
+ export namespace ERROR {
1390
+ function TYPE(error_val: any): Error | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8;
1391
+ }
1392
+ export function ETHERSCAN(...args: any[]): Promise<any>;
1393
+ /**
1394
+ * Rounds a number up to the nearest even integer.
1395
+ *
1396
+ * Category: Math and trigonometry
1397
+ *
1398
+ * @param {*} number The value to round.
1399
+ * @returns
1400
+ */
1401
+ export function EVEN(number: any): any;
1402
+ /**
1403
+ * Checks to see if two text values are identical.
1404
+ *
1405
+ * Category: Text
1406
+ *
1407
+ * @param {*} text1 The first text string.
1408
+ * @param {*} text2 The second text string.
1409
+ * @returns
1410
+ */
1411
+ export function EXACT(text1: any, text2: any, ...args: any[]): any;
1412
+ /**
1413
+ * Returns e raised to the power of a given number.
1414
+ *
1415
+ * Category: Math and trigonometry
1416
+ *
1417
+ * @param {*} number The exponent applied to the base e.
1418
+ * @returns
1419
+ */
1420
+ export function EXP(number: any, ...args: any[]): any;
1421
+ export namespace EXPON {
1422
+ /**
1423
+ * Returns the exponential distribution.
1424
+ *
1425
+ * Category: Statistical
1426
+ *
1427
+ * @param {*} x The value of the function.
1428
+ * @param {*} lambda The parameter value.
1429
+ * @param {*} cumulative A logical value that indicates which form of the exponential function to provide. If cumulative is TRUE, EXPON.DIST returns the cumulative distribution function; if FALSE, it returns the probability density function.
1430
+ * @returns
1431
+ */
1432
+ function DIST(x: any, lambda: any, cumulative: any): any;
1433
+ }
1434
+ /**
1435
+ * Returns the exponential distribution.
1436
+ *
1437
+ * Category: Statistical
1438
+ *
1439
+ * @param {*} x The value of the function.
1440
+ * @param {*} lambda The parameter value.
1441
+ * @param {*} cumulative A logical value that indicates which form of the exponential function to provide. If cumulative is TRUE, EXPON.DIST returns the cumulative distribution function; if FALSE, it returns the probability density function.
1442
+ * @returns
1443
+ */
1444
+ export function EXPONDIST(x: any, lambda: any, cumulative: any): any;
1445
+ export namespace F {
1446
+ /**
1447
+ * Returns the F probability distribution.
1448
+ *
1449
+ * Category: Statistical
1450
+ *
1451
+ * @param {*} x The value at which to evaluate the function.
1452
+ * @param {*} deg_freedom1 The numerator degrees of freedom.
1453
+ * @param {*} deg_freedom2 The denominator degrees of freedom.
1454
+ * @param {*} cumulative A logical value that determines the form of the function. If cumulative is TRUE, F.DIST returns the cumulative distribution function; if FALSE, it returns the probability density function.
1455
+ * @returns
1456
+ */
1457
+ function DIST(x: any, deg_freedom1: any, deg_freedom2: any, cumulative: any): any;
1458
+ namespace DIST {
1459
+ /**
1460
+ * Returns the F probability distribution.
1461
+ *
1462
+ * Category: Statistical
1463
+ *
1464
+ * @param {*} x The value at which to evaluate the function.
1465
+ * @param {*} deg_freedom1 The numerator degrees of freedom.
1466
+ * @param {*} deg_freedom2 The denominator degrees of freedom.
1467
+ * @returns
1468
+ */
1469
+ function RT(x: any, deg_freedom1: any, deg_freedom2: any, ...args: any[]): number | Error;
1470
+ }
1471
+ /**
1472
+ * Returns the inverse of the F probability distribution.
1473
+ *
1474
+ * Category: Statistical
1475
+ *
1476
+ * @param {*} probability A probability associated with the F cumulative distribution.
1477
+ * @param {*} deg_freedom1 The numerator degrees of freedom.
1478
+ * @param {*} deg_freedom2 The denominator degrees of freedom.
1479
+ * @returns
1480
+ */
1481
+ function INV(probability: any, deg_freedom1: any, deg_freedom2: any): any;
1482
+ namespace INV {
1483
+ /**
1484
+ * Returns the inverse of the F probability distribution.
1485
+ *
1486
+ * Category: Statistical
1487
+ *
1488
+ * @param {*} probability A probability associated with the F cumulative distribution.
1489
+ * @param {*} deg_freedom1 The numerator degrees of freedom.
1490
+ * @param {*} deg_freedom2 The denominator degrees of freedom.
1491
+ * @returns
1492
+ */
1493
+ function RT(probability: any, deg_freedom1: any, deg_freedom2: any, ...args: any[]): any;
1494
+ }
1495
+ /**
1496
+ * Returns the result of an F-test.
1497
+ *
1498
+ * Category: Statistical
1499
+ *
1500
+ * @param {*} array1 The first array or range of data.
1501
+ * @param {*} array2 The second array or range of data.
1502
+ * @returns
1503
+ */
1504
+ function TEST(array1: any, array2: any): number | Error;
1505
+ }
1506
+ /**
1507
+ * Returns the factorial of a number.
1508
+ *
1509
+ * Category: Math and trigonometry
1510
+ *
1511
+ * @param {*} number The nonnegative number for which you want the factorial. If number is not an integer, it is truncated.
1512
+ * @returns
1513
+ */
1514
+ export function FACT(number: any): any;
1515
+ /**
1516
+ * Returns the double factorial of a number.
1517
+ *
1518
+ * Category: Math and trigonometry
1519
+ *
1520
+ * @param {*} number The value for which to return the double factorial. If number is not an integer, it is truncated.
1521
+ * @returns
1522
+ */
1523
+ export function FACTDOUBLE(number: any): any;
1524
+ /**
1525
+ * Returns the logical value FALSE.
1526
+ *
1527
+ * Category: Logical
1528
+ *
1529
+ * @returns
1530
+ */
1531
+ export function FALSE(): boolean;
1532
+ export function FARCASTER(...args: any[]): Promise<{
1533
+ message: string;
1534
+ functionName: any;
1535
+ type: string;
1536
+ apiKeyName?: undefined;
1537
+ reason?: undefined;
1538
+ } | {
1539
+ message: string;
1540
+ functionName: any;
1541
+ type: string;
1542
+ apiKeyName: any;
1543
+ reason?: undefined;
1544
+ } | {
1545
+ message: string;
1546
+ functionName: any;
1547
+ type: string;
1548
+ reason: any;
1549
+ apiKeyName?: undefined;
1550
+ } | {
1551
+ platform: string;
1552
+ }[]>;
1553
+ /**
1554
+ * Returns the F probability distribution.
1555
+ *
1556
+ * Category: Statistical
1557
+ *
1558
+ * @param {*} x The value at which to evaluate the function.
1559
+ * @param {*} deg_freedom1 The numerator degrees of freedom.
1560
+ * @param {*} deg_freedom2 The denominator degrees of freedom.
1561
+ * @param {*} cumulative A logical value that determines the form of the function. If cumulative is TRUE, F.DIST returns the cumulative distribution function; if FALSE, it returns the probability density function.
1562
+ * @returns
1563
+ */
1564
+ export function FDIST(x: any, deg_freedom1: any, deg_freedom2: any, cumulative: any): any;
1565
+ export namespace FDIST { }
1566
+ /**
1567
+ * Returns the F probability distribution.
1568
+ *
1569
+ * Category: Statistical
1570
+ *
1571
+ * @param {*} x The value at which to evaluate the function.
1572
+ * @param {*} deg_freedom1 The numerator degrees of freedom.
1573
+ * @param {*} deg_freedom2 The denominator degrees of freedom.
1574
+ * @returns
1575
+ */
1576
+ export function FDISTRT(x: any, deg_freedom1: any, deg_freedom2: any, ...args: any[]): number | Error;
1577
+ /**
1578
+ * Locate one text string within a second text string, and return the number of the starting position of the first text string from the first character of the second text string.
1579
+ *
1580
+ * Category: Text
1581
+ *
1582
+ * @param {*} find_text The text you want to find.
1583
+ * @param {*} within_text The text containing the text you want to find.
1584
+ * @param {*} start_num Optional. Specifies the character at which to start the search. The first character in within_text is character number 1. If you omit start_num, it is assumed to be 1.
1585
+ * @returns
1586
+ */
1587
+ export function FIND(find_text: any, within_text: any, start_num: any, ...args: any[]): any;
1588
+ /**
1589
+ * Returns the inverse of the F probability distribution.
1590
+ *
1591
+ * Category: Statistical
1592
+ *
1593
+ * @param {*} probability A probability associated with the F cumulative distribution.
1594
+ * @param {*} deg_freedom1 The numerator degrees of freedom.
1595
+ * @param {*} deg_freedom2 The denominator degrees of freedom.
1596
+ * @returns
1597
+ */
1598
+ export function FINV(probability: any, deg_freedom1: any, deg_freedom2: any): any;
1599
+ export namespace FINV { }
1600
+ /**
1601
+ * Returns the inverse of the F probability distribution.
1602
+ *
1603
+ * Category: Statistical
1604
+ *
1605
+ * @param {*} probability A probability associated with the F cumulative distribution.
1606
+ * @param {*} deg_freedom1 The numerator degrees of freedom.
1607
+ * @param {*} deg_freedom2 The denominator degrees of freedom.
1608
+ * @returns
1609
+ */
1610
+ export function FINVRT(probability: any, deg_freedom1: any, deg_freedom2: any, ...args: any[]): any;
1611
+ export function FIREFLY(...args: any[]): Promise<{
1612
+ message: string;
1613
+ functionName: any;
1614
+ type: string;
1615
+ apiKeyName?: undefined;
1616
+ reason?: undefined;
1617
+ } | {
1618
+ message: string;
1619
+ functionName: any;
1620
+ type: string;
1621
+ apiKeyName: any;
1622
+ reason?: undefined;
1623
+ } | {
1624
+ message: string;
1625
+ functionName: any;
1626
+ type: string;
1627
+ reason: any;
1628
+ apiKeyName?: undefined;
1629
+ } | {
1630
+ platform: any;
1631
+ }[]>;
1632
+ /**
1633
+ * Returns the Fisher transformation.
1634
+ *
1635
+ * Category: Statistical
1636
+ *
1637
+ * @param {*} x A numeric value for which you want the transformation.
1638
+ * @returns
1639
+ */
1640
+ export function FISHER(x: any): number | Error;
1641
+ /**
1642
+ * Returns the inverse of the Fisher transformation.
1643
+ *
1644
+ * Category: Statistical
1645
+ *
1646
+ * @param {*} y The value for which you want to perform the inverse of the transformation.
1647
+ * @returns
1648
+ */
1649
+ export function FISHERINV(y: any): number | Error;
1650
+ /**
1651
+ * Formats a number as text with a fixed number of decimals.
1652
+ *
1653
+ * Category: Text
1654
+ *
1655
+ * @param {*} number The number you want to round and convert to text.
1656
+ * @param {*} decimals Optional. The number of digits to the right of the decimal point.
1657
+ * @param {*} no_commas Optional. A logical value that, if TRUE, prevents FIXED from including commas in the returned text.
1658
+ * @returns
1659
+ */
1660
+ export function FIXED(number: any, decimals?: any, no_commas?: any): any;
1661
+ /**
1662
+ * Rounds a number down, toward zero.
1663
+ *
1664
+ * Category: Math and trigonometry
1665
+ *
1666
+ * @param {*} number The numeric value you want to round.
1667
+ * @param {*} significance The multiple to which you want to round.
1668
+ * @returns
1669
+ */
1670
+ export function FLOOR(number: any, significance: any): any;
1671
+ export namespace FLOOR {
1672
+ /**
1673
+ * Rounds a number down, to the nearest integer or to the nearest multiple of significance.
1674
+ *
1675
+ * Category: Math and trigonometry
1676
+ *
1677
+ * @param {*} number The number to be rounded down.
1678
+ * @param {*} significance Optional. The multiple to which you want to round.
1679
+ * @param {*} mode Optional. The direction (toward or away from 0) to round negative numbers.
1680
+ * @returns
1681
+ */
1682
+ function MATH(number: any, significance?: any, mode?: any): any;
1683
+ /**
1684
+ * Rounds a number the nearest integer or to the nearest multiple of significance. Regardless of the sign of the number, the number is rounded up.
1685
+ *
1686
+ * Category: Math and trigonometry
1687
+ *
1688
+ * @param {*} number The value to be rounded.
1689
+ * @param {*} significance Optional. The multiple to which number is to be rounded. If significance is omitted, its default value is 1.
1690
+ * @returns
1691
+ */
1692
+ function PRECISE(number: any, significance: any): any;
1693
+ }
1694
+ /**
1695
+ * Rounds a number down, to the nearest integer or to the nearest multiple of significance.
1696
+ *
1697
+ * Category: Math and trigonometry
1698
+ *
1699
+ * @param {*} number The number to be rounded down.
1700
+ * @param {*} significance Optional. The multiple to which you want to round.
1701
+ * @param {*} mode Optional. The direction (toward or away from 0) to round negative numbers.
1702
+ * @returns
1703
+ */
1704
+ export function FLOORMATH(number: any, significance?: any, mode?: any): any;
1705
+ /**
1706
+ * Rounds a number the nearest integer or to the nearest multiple of significance. Regardless of the sign of the number, the number is rounded up.
1707
+ *
1708
+ * Category: Math and trigonometry
1709
+ *
1710
+ * @param {*} number The value to be rounded.
1711
+ * @param {*} significance Optional. The multiple to which number is to be rounded. If significance is omitted, its default value is 1.
1712
+ * @returns
1713
+ */
1714
+ export function FLOORPRECISE(number: any, significance: any): any;
1715
+ export function FLVURL(): Promise<any>;
1716
+ /**
1717
+ * Returns a value along a linear trend.
1718
+ *
1719
+ * Category: Statistical
1720
+ *
1721
+ * @param {*} x The data point for which you want to predict a value.
1722
+ * @param {*} known_ys The dependent array or range of data.
1723
+ * @param {*} known_xs The independent array or range of data.
1724
+ * @returns
1725
+ */
1726
+ export function FORECAST(x: any, known_ys: any, known_xs: any): number | Error;
1727
+ /**
1728
+ * Returns a frequency distribution as a vertical array.
1729
+ *
1730
+ * Category: Statistical
1731
+ *
1732
+ * @param {*} data_array An array of or reference to a set of values for which you want to count frequencies. If data_array contains no values, FREQUENCY returns an array of zeros.
1733
+ * @param {*} bins_array An array of or reference to intervals into which you want to group the values in data_array. If bins_array contains no values, FREQUENCY returns the number of elements in data_array.
1734
+ * @returns
1735
+ */
1736
+ export function FREQUENCY(data_array: any, bins_array: any): Error | number[];
1737
+ /**
1738
+ * Returns the result of an F-test.
1739
+ *
1740
+ * Category: Statistical
1741
+ *
1742
+ * @param {*} array1 The first array or range of data.
1743
+ * @param {*} array2 The second array or range of data.
1744
+ * @returns
1745
+ */
1746
+ export function FTEST(array1: any, array2: any): number | Error;
1747
+ /**
1748
+ * Returns the future value of an investment.
1749
+ *
1750
+ * Category: Financial
1751
+ *
1752
+ * @param {*} rate The interest rate per period.
1753
+ * @param {*} nper The total number of payment periods in an annuity.
1754
+ * @param {*} pmt The payment made each period; it cannot change over the life of the annuity. Typically, pmt contains principal and interest but no other fees or taxes. If pmt is omitted, you must include the pv argument.
1755
+ * @param {*} pv Optional. The present value, or the lump-sum amount that a series of future payments is worth right now. If pv is omitted, it is assumed to be 0 (zero), and you must include the pmt argument.
1756
+ * @param {*} type Optional. The number 0 or 1 and indicates when payments are due. If type is omitted, it is assumed to be 0.
1757
+ * @returns
1758
+ */
1759
+ export function FV(rate: any, nper: any, payment: any, value$1: any, type: any): number | Error;
1760
+ /**
1761
+ * Returns the future value of an initial principal after applying a series of compound interest rates.
1762
+ *
1763
+ * Category: Financial
1764
+ *
1765
+ * @param {*} principal The present value.
1766
+ * @param {*} schedule An array of interest rates to apply.
1767
+ * @returns
1768
+ */
1769
+ export function FVSCHEDULE(principal: any, schedule: any): any;
1770
+ /**
1771
+ * Returns the Gamma function value.
1772
+ *
1773
+ * Category: Statistical
1774
+ *
1775
+ * @param {*} number Returns a number.
1776
+ * @returns
1777
+ */
1778
+ export function GAMMA(number: any): any;
1779
+ export namespace GAMMA {
1780
+ /**
1781
+ * Returns the gamma distribution.
1782
+ *
1783
+ * Category: Statistical
1784
+ *
1785
+ * @param {*} x The value at which you want to evaluate the distribution.
1786
+ * @param {*} alpha A parameter to the distribution.
1787
+ * @param {*} beta A parameter to the distribution. If beta = 1, GAMMA.DIST returns the standard gamma distribution.
1788
+ * @param {*} cumulative A logical value that determines the form of the function. If cumulative is TRUE, GAMMA.DIST returns the cumulative distribution function; if FALSE, it returns the probability density function.
1789
+ * @returns
1790
+ */
1791
+ function DIST(value$1: any, alpha: any, beta: any, cumulative: any, ...args: any[]): any;
1792
+ /**
1793
+ * Returns the inverse of the gamma cumulative distribution.
1794
+ *
1795
+ * Category: Statistical
1796
+ *
1797
+ * @param {*} probability The probability associated with the gamma distribution.
1798
+ * @param {*} alpha A parameter to the distribution.
1799
+ * @param {*} beta A parameter to the distribution. If beta = 1, GAMMA.INV returns the standard gamma distribution.
1800
+ * @returns
1801
+ */
1802
+ function INV(probability: any, alpha: any, beta: any, ...args: any[]): any;
1803
+ }
1804
+ /**
1805
+ * Returns the gamma distribution.
1806
+ *
1807
+ * Category: Statistical
1808
+ *
1809
+ * @param {*} x The value at which you want to evaluate the distribution.
1810
+ * @param {*} alpha A parameter to the distribution.
1811
+ * @param {*} beta A parameter to the distribution. If beta = 1, GAMMA.DIST returns the standard gamma distribution.
1812
+ * @param {*} cumulative A logical value that determines the form of the function. If cumulative is TRUE, GAMMA.DIST returns the cumulative distribution function; if FALSE, it returns the probability density function.
1813
+ * @returns
1814
+ */
1815
+ export function GAMMADIST(value$1: any, alpha: any, beta: any, cumulative: any, ...args: any[]): any;
1816
+ /**
1817
+ * Returns the inverse of the gamma cumulative distribution.
1818
+ *
1819
+ * Category: Statistical
1820
+ *
1821
+ * @param {*} probability The probability associated with the gamma distribution.
1822
+ * @param {*} alpha A parameter to the distribution.
1823
+ * @param {*} beta A parameter to the distribution. If beta = 1, GAMMA.INV returns the standard gamma distribution.
1824
+ * @returns
1825
+ */
1826
+ export function GAMMAINV(probability: any, alpha: any, beta: any, ...args: any[]): any;
1827
+ /**
1828
+ * Returns the natural logarithm of the gamma function, Γ(x).
1829
+ *
1830
+ * Category: Statistical
1831
+ *
1832
+ * @param {*} x The value for which you want to calculate GAMMALN.
1833
+ * @returns
1834
+ */
1835
+ export function GAMMALN(x: any): any;
1836
+ export namespace GAMMALN {
1837
+ /**
1838
+ * Returns the natural logarithm of the gamma function, Γ(x).
1839
+ *
1840
+ * Category: Statistical
1841
+ *
1842
+ * @param {*} x The value for which you want to calculate GAMMALN.PRECISE.
1843
+ * @returns
1844
+ */
1845
+ function PRECISE(x: any, ...args: any[]): any;
1846
+ }
1847
+ /**
1848
+ * Returns the natural logarithm of the gamma function, Γ(x).
1849
+ *
1850
+ * Category: Statistical
1851
+ *
1852
+ * @param {*} x The value for which you want to calculate GAMMALN.PRECISE.
1853
+ * @returns
1854
+ */
1855
+ export function GAMMALNPRECISE(x: any, ...args: any[]): any;
1856
+ /**
1857
+ * Returns 0.5 less than the standard normal cumulative distribution.
1858
+ *
1859
+ * Category: Statistical
1860
+ *
1861
+ * @param {*} z Returns a number.
1862
+ * @returns
1863
+ */
1864
+ export function GAUSS(z: any): number | Error;
1865
+ /**
1866
+ * Returns the greatest common divisor.
1867
+ *
1868
+ * Category: Math and trigonometry
1869
+ *
1870
+ * @param {*} args number1, number2, ... Number1 is required, subsequent numbers are optional. 1 to 255 values. If any value is not an integer, it is truncated.
1871
+ * @returns
1872
+ */
1873
+ export function GCD(...args: any[]): any;
1874
+ /**
1875
+ * Returns the geometric mean.
1876
+ *
1877
+ * Category: Statistical
1878
+ *
1879
+ * @param {*} args number1, number2, ... Number1 is required, subsequent numbers are optional. 1 to 255 arguments for which you want to calculate the mean. You can also use a single array or a reference to an array instead of arguments separated by commas.
1880
+ * @returns
1881
+ */
1882
+ export function GEOMEAN(...args: any[]): any;
1883
+ /**
1884
+ * Tests whether a number is greater than a threshold value.
1885
+ *
1886
+ * Category: Engineering
1887
+ *
1888
+ * @param {*} number The value to test against step.
1889
+ * @param {*} step Optional. The threshold value. If you omit a value for step, GESTEP uses zero.
1890
+ * @returns
1891
+ */
1892
+ export function GESTEP(number: any, step: any): any;
1893
+ export function GNOSIS(...args: any[]): Promise<any>;
1894
+ /**
1895
+ * Returns values along an exponential trend.
1896
+ *
1897
+ * Category: Statistical
1898
+ *
1899
+ * @param {*} known_y The set of y-values you already know in the relationship y = b*m^x.
1900
+ - If the array known_y's is in a single column, then each column of known_x's is interpreted as a separate variable.
1901
+ - If the array known_y's is in a single row, then each row of known_x's is interpreted as a separate variable.
1902
+ - If any of the numbers in known_y's is 0 or negative, GROWTH returns the #NUM! error value.
1903
+ * @param {*} known_x Optional. An optional set of x-values that you may already know in the relationship y = b*m^x.
1904
+ - The array known_x's can include one or more sets of variables. If only one variable is used, known_y's and known_x's can be ranges of any shape, as long as they have equal dimensions. If more than one variable is used, known_y's must be a vector (that is, a range with a height of one row or a width of one column).
1905
+ - If known_x's is omitted, it is assumed to be the array {1,2,3,...} that is the same size as known_y's.
1906
+ * @param {*} new_x Optional. Are new x-values for which you want GROWTH to return corresponding y-values.
1907
+ - new_x's must include a column (or row) for each independent variable, just as known_x's does. So, if known_y's is in a single column, known_x's and new_x's must have the same number of columns. If known_y's is in a single row, known_x's and new_x's must have the same number of rows.
1908
+ - If new_x's is omitted, it is assumed to be the same as known_x's.
1909
+ - If both known_x's and new_x's are omitted, they are assumed to be the array {1,2,3,...} that is the same size as known_y's.
1910
+ * @param {*} use_const Optional. A logical value specifying whether to force the constant b to equal 1. If const is TRUE or omitted, b is calculated normally. If const is FALSE, b is set equal to 1 and the m-values are adjusted so that y = m^x.
1911
+ - If const is TRUE or omitted, b is calculated normally.
1912
+ - If const is FALSE, b is set equal to 1 and the m-values are adjusted so that y = m^x.
1913
+ * @returns
1914
+ */
1915
+ export function GROWTH(known_y: any, known_x: any, new_x: any, use_const: any): Error | number[];
1916
+ /**
1917
+ * Returns the harmonic mean.
1918
+ *
1919
+ * Category: Statistical
1920
+ *
1921
+ * @param {*} args number1, number2, ... Number1 is required, subsequent numbers are optional. 1 to 255 arguments for which you want to calculate the mean. You can also use a single array or a reference to an array instead of arguments separated by commas.
1922
+ * @returns
1923
+ */
1924
+ export function HARMEAN(...args: any[]): number | Error;
1925
+ /**
1926
+ * Converts a hexadecimal number to binary.
1927
+ *
1928
+ * Category: Engineering
1929
+ *
1930
+ * @param {*} number The hexadecimal number you want to convert. Number cannot contain more than 10 characters. The most significant bit of number is the sign bit (40th bit from the right). The remaining 9 bits are magnitude bits. Negative numbers are represented using two's-complement notation.
1931
+ * @param {*} places Optional. The number of characters to use. If places is omitted, HEX2BIN uses the minimum number of characters necessary. Places is useful for padding the return value with leading 0s (zeros).
1932
+ * @returns
1933
+ */
1934
+ export function HEX2BIN(number: any, places: any): string | Error;
1935
+ /**
1936
+ * Converts a hexadecimal number to decimal.
1937
+ *
1938
+ * Category: Engineering
1939
+ *
1940
+ * @param {*} number The hexadecimal number you want to convert. Number cannot contain more than 10 characters (40 bits). The most significant bit of number is the sign bit. The remaining 39 bits are magnitude bits. Negative numbers are represented using two's-complement notation.
1941
+ * @returns
1942
+ */
1943
+ export function HEX2DEC(number: any): number | Error;
1944
+ /**
1945
+ * Converts a hexadecimal number to octal.
1946
+ *
1947
+ * Category: Engineering
1948
+ *
1949
+ * @param {*} number The hexadecimal number you want to convert. Number cannot contain more than 10 characters. The most significant bit of number is the sign bit. The remaining 39 bits are magnitude bits. Negative numbers are represented using two's-complement notation.
1950
+ * @param {*} places Optional. The number of characters to use. If places is omitted, HEX2OCT uses the minimum number of characters necessary. Places is useful for padding the return value with leading 0s (zeros).
1951
+ * @returns
1952
+ */
1953
+ export function HEX2OCT(number: any, places: any): string | Error;
1954
+ /**
1955
+ * Looks in the top row of an array and returns the value of the indicated value.
1956
+ *
1957
+ * Category: Lookup and reference
1958
+ *
1959
+ * @param {*} lookup_value The value to be found in the first row of the table. Lookup_value can be a value, a reference, or a text string.
1960
+ * @param {*} table_array A table of information in which data is looked up. Use a reference to a range or a range name.
1961
+ * @param {*} row_index_num The row number in table_array from which the matching value will be returned. A row_index_num of 1 returns the first row value in table_array, a row_index_num of 2 returns the second row value in table_array, and so on. If row_index_num is less than 1, HLOOKUP returns the #VALUE! error value; if row_index_num is greater than the number of rows on table_array, HLOOKUP returns the #REF! error value.
1962
+ * @param {*} range_lookup Optional. A logical value that specifies whether you want HLOOKUP to find an exact match or an approximate match. If TRUE or omitted, an approximate match is returned. In other words, if an exact match is not found, the next largest value that is less than lookup_value is returned. If FALSE, HLOOKUP will find an exact match. If one is not found, the error value #N/A is returned.
1963
+ * @returns
1964
+ */
1965
+ export function HLOOKUP(lookup_value: any, table_array: any, row_index_num: any, range_lookup: any): Error;
1966
+ /**
1967
+ * Converts a serial number to an hour.
1968
+ *
1969
+ * Category: Date and time
1970
+ *
1971
+ * @param {*} serial_number The time that contains the hour you want to find. Times may be entered as text strings within quotation marks (for example, "6:45 PM"), as decimal numbers (for example, 0.78125, which represents 6:45 PM), or as results of other formulas or functions (for example, TIMEVALUE("6:45 PM")).
1972
+ * @returns
1973
+ */
1974
+ export function HOUR(serial_number: any): any;
1975
+ export namespace HYPGEOM {
1976
+ /**
1977
+ * Returns the hypergeometric distribution.
1978
+ *
1979
+ * Category: Statistical
1980
+ *
1981
+ * @param {*} sample_s The number of successes in the sample.
1982
+ * @param {*} number_sample The size of the sample.
1983
+ * @param {*} population_s The number of successes in the population.
1984
+ * @param {*} number_pop The population size.
1985
+ * @param {*} cumulative A logical value that determines the form of the function. If cumulative is TRUE, then HYPGEOM.DIST returns the cumulative distribution function; if FALSE, it returns the probability mass function.
1986
+ * @returns
1987
+ */
1988
+ function DIST(sample_s: any, number_sample: any, population_s: any, number_pop: any, cumulative: any): number | Error;
1989
+ }
1990
+ /**
1991
+ * Returns the hypergeometric distribution.
1992
+ *
1993
+ * Category: Statistical
1994
+ *
1995
+ * @param {*} sample_s The number of successes in the sample.
1996
+ * @param {*} number_sample The size of the sample.
1997
+ * @param {*} population_s The number of successes in the population.
1998
+ * @param {*} number_pop The population size.
1999
+ * @param {*} cumulative A logical value that determines the form of the function. If cumulative is TRUE, then HYPGEOM.DIST returns the cumulative distribution function; if FALSE, it returns the probability mass function.
2000
+ * @returns
2001
+ */
2002
+ export function HYPGEOMDIST(sample_s: any, number_sample: any, population_s: any, number_pop: any, cumulative: any): number | Error;
2003
+ /**
2004
+ * Specifies a logical test to perform.
2005
+ *
2006
+ * Category: Logical
2007
+ *
2008
+ * @param {*} logical_test
2009
+ * @param {*} value_if_true
2010
+ * @param {*} value_if_false
2011
+ *
2012
+ * @returns
2013
+ */
2014
+ export function IF(logical_test: any, value_if_true: any, value_if_false: any, ...args: any[]): any;
2015
+ /**
2016
+ * Returns a value you specify if a formula evaluates to an error; otherwise, returns the result of the formula.
2017
+ *
2018
+ * Category: Logical
2019
+ *
2020
+ * @param {*} value The argument that is checked for an error.
2021
+ * @param {*} value_if_error The value to return if the formula evaluates to an error. The following error types are evaluated: #N/A, #VALUE!, #REF!, #DIV/0!, #NUM!, #NAME?, or #NULL!.
2022
+ * @returns
2023
+ */
2024
+ export function IFERROR(value: any, value_if_error: any): any;
2025
+ /**
2026
+ * Returns the value you specify if the expression resolves to #N/A, otherwise returns the result of the expression.
2027
+ *
2028
+ * Category: Logical
2029
+ *
2030
+ * @returns
2031
+ */
2032
+ export function IFNA(value: any, value_if_na: any): any;
2033
+ /**
2034
+ * Checks whether one or more conditions are met and returns a value that corresponds to the first TRUE condition.
2035
+ *
2036
+ * Category: Logical
2037
+ *
2038
+ * @returns
2039
+ */
2040
+ export function IFS(...args: any[]): any;
2041
+ /**
2042
+ * Returns the absolute value (modulus) of a complex number.
2043
+ *
2044
+ * Category: Engineering
2045
+ *
2046
+ * @param {*} inumber A complex number for which you want the absolute value.
2047
+ * @returns
2048
+ */
2049
+ export function IMABS(inumber: any): number | Error;
2050
+ /**
2051
+ * Returns the imaginary coefficient of a complex number.
2052
+ *
2053
+ * Category: Engineering
2054
+ *
2055
+ * @param {*} inumber A complex number for which you want the imaginary coefficient.
2056
+ * @returns
2057
+ */
2058
+ export function IMAGINARY(inumber: any): any;
2059
+ /**
2060
+ * Returns the argument theta, an angle expressed in radians.
2061
+ *
2062
+ * Category: Engineering
2063
+ *
2064
+ * @param {*} inumber A complex number for which you want the argument .
2065
+ * @returns
2066
+ */
2067
+ export function IMARGUMENT(inumber: any): number | Error;
2068
+ /**
2069
+ * Returns the complex conjugate of a complex number.
2070
+ *
2071
+ * Category: Engineering
2072
+ *
2073
+ * @param {*} inumber A complex number for which you want the conjugate.
2074
+ * @returns
2075
+ */
2076
+ export function IMCONJUGATE(inumber: any): any;
2077
+ /**
2078
+ * Returns the cosine of a complex number.
2079
+ *
2080
+ * Category: Engineering
2081
+ *
2082
+ * @param {*} inumber A complex number for which you want the cosine.
2083
+ * @returns
2084
+ */
2085
+ export function IMCOS(inumber: any): any;
2086
+ /**
2087
+ * Returns the hyperbolic cosine of a complex number.
2088
+ *
2089
+ * Category: Engineering
2090
+ *
2091
+ * @param {*} inumber A complex number for which you want the hyperbolic cosine.
2092
+ * @returns
2093
+ */
2094
+ export function IMCOSH(inumber: any): any;
2095
+ /**
2096
+ * Returns the cotangent of a complex number.
2097
+ *
2098
+ * Category: Engineering
2099
+ *
2100
+ * @param {*} inumber A complex number for which you want the cotangent.
2101
+ * @returns
2102
+ */
2103
+ export function IMCOT(inumber: any): any;
2104
+ /**
2105
+ * Returns the cosecant of a complex number.
2106
+ *
2107
+ * Category: Engineering
2108
+ *
2109
+ * @param {*} inumber A complex number for which you want the cosecant.
2110
+ * @returns
2111
+ */
2112
+ export function IMCSC(inumber: any): any;
2113
+ /**
2114
+ * Returns the hyperbolic cosecant of a complex number.
2115
+ *
2116
+ * Category: Engineering
2117
+ *
2118
+ * @param {*} inumber A complex number for which you want the hyperbolic cosecant.
2119
+ * @returns
2120
+ */
2121
+ export function IMCSCH(inumber: any): any;
2122
+ /**
2123
+ * Returns the quotient of two complex numbers.
2124
+ *
2125
+ * Category: Engineering
2126
+ *
2127
+ * @param {*} inumber1 The complex numerator or dividend.
2128
+ * @param {*} inumber2 The complex denominator or divisor.
2129
+ * @returns
2130
+ */
2131
+ export function IMDIV(inumber1: any, inumber2: any): any;
2132
+ /**
2133
+ * Returns the exponential of a complex number.
2134
+ *
2135
+ * Category: Engineering
2136
+ *
2137
+ * @param {*} inumber A complex number for which you want the exponential.
2138
+ * @returns
2139
+ */
2140
+ export function IMEXP(inumber: any): any;
2141
+ /**
2142
+ * Returns the natural logarithm of a complex number.
2143
+ *
2144
+ * Category: Engineering
2145
+ *
2146
+ * @param {*} inumber A complex number for which you want the natural logarithm.
2147
+ * @returns
2148
+ */
2149
+ export function IMLN(inumber: any): any;
2150
+ /**
2151
+ * Returns the base-10 logarithm of a complex number.
2152
+ *
2153
+ * Category: Engineering
2154
+ *
2155
+ * @param {*} inumber A complex number for which you want the common logarithm.
2156
+ * @returns
2157
+ */
2158
+ export function IMLOG10(inumber: any): any;
2159
+ /**
2160
+ * Returns the base-2 logarithm of a complex number.
2161
+ *
2162
+ * Category: Engineering
2163
+ *
2164
+ * @param {*} inumber A complex number for which you want the base-2 logarithm.
2165
+ * @returns
2166
+ */
2167
+ export function IMLOG2(inumber: any): any;
2168
+ /**
2169
+ * Returns a complex number raised to an integer power.
2170
+ *
2171
+ * Category: Engineering
2172
+ *
2173
+ * @param {*} inumber A complex number you want to raise to a power.
2174
+ * @param {*} number The power to which you want to raise the complex number.
2175
+ * @returns
2176
+ */
2177
+ export function IMPOWER(inumber: any, number: any): any;
2178
+ /**
2179
+ * Returns the product of complex numbers.
2180
+ *
2181
+ * Category: Engineering
2182
+ *
2183
+ * @param {*} args inumber1, [inumber2], … Inumber1 is required, subsequent inumbers are not. 1 to 255 complex numbers to multiply.
2184
+ * @returns
2185
+ */
2186
+ export function IMPRODUCT(...args: any[]): any;
2187
+ /**
2188
+ * Returns the real coefficient of a complex number.
2189
+ *
2190
+ * Category: Engineering
2191
+ *
2192
+ * @param {*} inumber A complex number for which you want the real coefficient.
2193
+ * @returns
2194
+ */
2195
+ export function IMREAL(inumber: any): any;
2196
+ /**
2197
+ * Returns the secant of a complex number.
2198
+ *
2199
+ * Category: Engineering
2200
+ *
2201
+ * @param {*} inumber A complex number for which you want the secant.
2202
+ * @returns
2203
+ */
2204
+ export function IMSEC(inumber: any): any;
2205
+ /**
2206
+ * Returns the hyperbolic secant of a complex number.
2207
+ *
2208
+ * Category: Engineering
2209
+ *
2210
+ * @param {*} inumber A complex number for which you want the hyperbolic secant.
2211
+ * @returns
2212
+ */
2213
+ export function IMSECH(inumber: any): any;
2214
+ /**
2215
+ * Returns the sine of a complex number.
2216
+ *
2217
+ * Category: Engineering
2218
+ *
2219
+ * @param {*} inumber A complex number for which you want the sine.
2220
+ * @returns
2221
+ */
2222
+ export function IMSIN(inumber: any): any;
2223
+ /**
2224
+ * Returns the hyperbolic sine of a complex number.
2225
+ *
2226
+ * Category: Engineering
2227
+ *
2228
+ * @param {*} inumber A complex number for which you want the hyperbolic sine.
2229
+ * @returns
2230
+ */
2231
+ export function IMSINH(inumber: any): any;
2232
+ /**
2233
+ * Returns the square root of a complex number.
2234
+ *
2235
+ * Category: Engineering
2236
+ *
2237
+ * @param {*} inumber A complex number for which you want the square root.
2238
+ * @returns
2239
+ */
2240
+ export function IMSQRT(inumber: any): any;
2241
+ /**
2242
+ * Returns the difference between two complex numbers.
2243
+ *
2244
+ * Category: Engineering
2245
+ *
2246
+ * @param {*} inumber1 The complex number from which to subtract inumber2.
2247
+ * @param {*} inumber2 The complex number to subtract from inumber1.
2248
+ * @returns
2249
+ */
2250
+ export function IMSUB(inumber1: any, inumber2: any): any;
2251
+ /**
2252
+ * Returns the sum of complex numbers.
2253
+ *
2254
+ * Category: Engineering
2255
+ *
2256
+ * @param {*} args inumber1, [inumber2], ... Inumber1 is required, subsequent numbers are not. 1 to 255 complex numbers to add.
2257
+ * @returns
2258
+ */
2259
+ export function IMSUM(...args: any[]): any;
2260
+ /**
2261
+ * Returns the tangent of a complex number.
2262
+ *
2263
+ * Category: Engineering
2264
+ *
2265
+ * @param {*} inumber A complex number for which you want the tangent.
2266
+ * @returns
2267
+ */
2268
+ export function IMTAN(inumber: any): any;
2269
+ /**
2270
+ * Uses an index to choose a value from a reference or array.
2271
+ *
2272
+ * Category: Lookup and reference
2273
+ *
2274
+ * @param {*} array A range of values or an array constant.
2275
+ - If array contains only one row or column, the corresponding row_num or column_num argument is optional.
2276
+ - If array has more than one row and more than one column, and only row_num or column_num is used, INDEX returns an array of the entire row or column in array.
2277
+ * @param {*} row_num Required, unless column_num is present. Selects the row in array from which to return a value. If row_num is omitted, column_num is required.
2278
+ * @param {*} column_num Optional. Selects the column in array from which to return a value. If column_num is omitted, row_num is required.
2279
+ * @returns
2280
+ */
2281
+ export function INDEX(array: any, row_num: any, column_num: any): any;
2282
+ /**
2283
+ * Rounds a number down to the nearest integer.
2284
+ *
2285
+ * Category: Math and trigonometry
2286
+ *
2287
+ * @param {*} number The real number you want to round down to an integer.
2288
+ * @returns
2289
+ */
2290
+ export function INT(number: any): number | Error;
2291
+ /**
2292
+ * Returns the intercept of the linear regression line.
2293
+ *
2294
+ * Category: Statistical
2295
+ *
2296
+ * @param {*} known_y The dependent set of observations or data.
2297
+ * @param {*} known_x The independent set of observations or data.
2298
+ * @returns
2299
+ */
2300
+ export function INTERCEPT(known_y: any, known_x: any): number | Error;
2301
+ /**
2302
+ * Returns the interest payment for an investment for a given period.
2303
+ *
2304
+ * Category: Financial
2305
+ *
2306
+ * @param {*} rate The interest rate per period.
2307
+ * @param {*} per The period for which you want to find the interest and must be in the range 1 to nper.
2308
+ * @param {*} nper The total number of payment periods in an annuity.
2309
+ * @param {*} pv The present value, or the lump-sum amount that a series of future payments is worth right now.
2310
+ * @param {*} fv Optional. The future value, or a cash balance you want to attain after the last payment is made. If fv is omitted, it is assumed to be 0 (the future value of a loan, for example, is 0).
2311
+ * @param {*} type Optional. The number 0 or 1 and indicates when payments are due. If type is omitted, it is assumed to be 0.
2312
+ * @returns
2313
+ */
2314
+ export function IPMT(rate: any, per: any, nper: any, pv: any, fv: any, type: any): number | Error;
2315
+ /**
2316
+ * Returns the internal rate of return for a series of cash flows.
2317
+ *
2318
+ * Category: Financial
2319
+ *
2320
+ * @param {*} values An array or a reference to values that contain numbers for which you want to calculate the internal rate of return.
2321
+ - Values must contain at least one positive value and one negative value to calculate the internal rate of return.
2322
+ - IRR uses the order of values to interpret the order of cash flows. Be sure to enter your payment and income values in the sequence you want.
2323
+ - If an array or reference argument contains text, logical values, or empty values, those values are ignored.
2324
+ * @param {*} guess Optional. A number that you guess is close to the result of IRR.
2325
+ - Microsoft Excel uses an iterative technique for calculating IRR. Starting with guess, IRR cycles through the calculation until the result is accurate within 0.00001 percent. If IRR can't find a result that works after 20 tries, the #NUM! error value is returned.
2326
+ - In most cases you do not need to provide guess for the IRR calculation. If guess is omitted, it is assumed to be 0.1 (10 percent).
2327
+ - If IRR gives the #NUM! error value, or if the result is not close to what you expected, try again with a different value for guess.
2328
+ * @returns
2329
+ */
2330
+ export function IRR(values: any, guess: any): any;
2331
+ /**
2332
+ * Returns TRUE if the value is blank.
2333
+ *
2334
+ * Category: Information
2335
+ *
2336
+ * @param {*} value The value that you want tested. The value argument can be a blank (empty value), error, logical value, text, number, or reference value, or a name referring to any of these.
2337
+ * @returns
2338
+ */
2339
+ export function ISBLANK(value: any): boolean;
2340
+ export function ISDATE(value: any): boolean;
2341
+ /**
2342
+ * Returns TRUE if the value is any error value except #N/A.
2343
+ *
2344
+ * Category: Information
2345
+ *
2346
+ * @param {*} value The value that you want tested. The value argument can be a blank (empty value), error, logical value, text, number, or reference value, or a name referring to any of these.
2347
+ * @returns
2348
+ */
2349
+ export function ISERR(value$1: any): boolean;
2350
+ /**
2351
+ * Returns TRUE if the value is any error value.
2352
+ *
2353
+ * Category: Information
2354
+ *
2355
+ * @param {*} value The value that you want tested. The value argument can be a blank (empty value), error, logical value, text, number, or reference value, or a name referring to any of these.
2356
+ * @returns
2357
+ */
2358
+ export function ISERROR(value: any): boolean;
2359
+ /**
2360
+ * Returns TRUE if the number is even.
2361
+ *
2362
+ * Category: Information
2363
+ *
2364
+ * @param {*} number The value to test. If number is not an integer, it is truncated.
2365
+ * @returns
2366
+ */
2367
+ export function ISEVEN(number: any): boolean;
2368
+ /**
2369
+ * Returns TRUE if the value is a logical value.
2370
+ *
2371
+ * Category: Information
2372
+ *
2373
+ * @param {*} value The value that you want tested. The value argument can be a blank (empty value), error, logical value, text, number, or reference value, or a name referring to any of these.
2374
+ * @returns
2375
+ */
2376
+ export function ISLOGICAL(value: any): boolean;
2377
+ /**
2378
+ * Returns TRUE if the value is the #N/A error value.
2379
+ *
2380
+ * Category: Information
2381
+ *
2382
+ * @param {*} value The value that you want tested. The value argument can be a blank (empty value), error, logical value, text, number, or reference value, or a name referring to any of these.
2383
+ * @returns
2384
+ */
2385
+ export function ISNA(value: any): boolean;
2386
+ /**
2387
+ * Returns TRUE if the value is not text.
2388
+ *
2389
+ * Category: Information
2390
+ *
2391
+ * @param {*} value The value that you want tested. The value argument can be a blank (empty value), error, logical value, text, number, or reference value, or a name referring to any of these.
2392
+ * @returns
2393
+ */
2394
+ export function ISNONTEXT(value: any): boolean;
2395
+ /**
2396
+ * Returns TRUE if the value is a number.
2397
+ *
2398
+ * Category: Information
2399
+ *
2400
+ * @param {*} value The value that you want tested. The value argument can be a blank (empty value), error, logical value, text, number, or reference value, or a name referring to any of these.
2401
+ * @returns
2402
+ */
2403
+ export function ISNUMBER(value: any): boolean;
2404
+ export namespace ISO {
2405
+ export { CEILING };
2406
+ }
2407
+ /**
2408
+ * Returns TRUE if the number is odd.
2409
+ *
2410
+ * Category: Information
2411
+ *
2412
+ * @param {*} value The value that you want tested. The value argument can be a blank (empty value), error, logical value, text, number, or reference value, or a name referring to any of these.
2413
+ * @returns
2414
+ */
2415
+ export function ISODD(value: any): boolean;
2416
+ /**
2417
+ * Returns the number of the ISO week number of the year for a given date.
2418
+ *
2419
+ * Category: Date and time
2420
+ *
2421
+ * @param {*} date Date is the date-time code used by Excel for date and time calculation.
2422
+ * @returns
2423
+ */
2424
+ export function ISOWEEKNUM(date: any): number | Error;
2425
+ /**
2426
+ * Calculates the interest paid during a specific period of an investment.
2427
+ *
2428
+ * Category: Financial
2429
+ *
2430
+ * @param {*} rate The interest rate for the investment.
2431
+ * @param {*} per The period for which you want to find the interest, and must be between 1 and Nper.
2432
+ * @param {*} nper The total number of payment periods for the investment.
2433
+ * @param {*} pv The present value of the investment. For a loan, Pv is the loan amount.
2434
+ *
2435
+ * @returns
2436
+ */
2437
+ export function ISPMT(rate: any, per: any, nper: any, pv: any): number | Error;
2438
+ /**
2439
+ * Returns TRUE if the value is text.
2440
+ *
2441
+ * Category: Information
2442
+ *
2443
+ * @param {*} value The value that you want tested. The value argument can be a blank (empty value), error, logical value, text, number, or reference value, or a name referring to any of these.
2444
+ * @returns
2445
+ */
2446
+ export function ISTEXT(value: any): value is string;
2447
+ /**
2448
+ * Returns the kurtosis of a data set.
2449
+ *
2450
+ * Category: Statistical
2451
+ *
2452
+ * @param {*} args number1, number2, ... Number1 is required, subsequent numbers are optional. 1 to 255 arguments for which you want to calculate kurtosis. You can also use a single array or a reference to an array instead of arguments separated by commas.
2453
+ * @returns
2454
+ */
2455
+ export function KURT(...args: any[]): number | Error;
2456
+ /**
2457
+ * Returns the k-th largest value in a data set.
2458
+ *
2459
+ * Category: Statistical
2460
+ *
2461
+ * @param {*} array The array or range of data for which you want to determine the k-th largest value.
2462
+ * @param {*} k The position (from the largest) in the array or value range of data to return.
2463
+ * @returns
2464
+ */
2465
+ export function LARGE(array: any, k: any): any;
2466
+ /**
2467
+ * Returns the least common multiple.
2468
+ *
2469
+ * Category: Math and trigonometry
2470
+ *
2471
+ * @param {*} args number1, number2,... Number1 is required, subsequent numbers are optional. 1 to 255 values for which you want the least common multiple. If value is not an integer, it is truncated.
2472
+ * @returns
2473
+ */
2474
+ export function LCM(...args: any[]): number | Error;
2475
+ /**
2476
+ * Returns the leftmost characters from a text value.
2477
+ *
2478
+ * Category: Text
2479
+ *
2480
+ * @param {*} text The text string that contains the characters you want to extract.
2481
+ * @param {*} num_chars Optional. Specifies the number of characters you want LEFT to extract.
2482
+ * @returns
2483
+ */
2484
+ export function LEFT(text: any, num_chars: any): any;
2485
+ /**
2486
+ * Returns the number of characters in a text string
2487
+ *
2488
+ * Category: Text
2489
+ *
2490
+ * @param {*} text The text whose length you want to find. Spaces count as characters.
2491
+ * @returns
2492
+ */
2493
+ export function LEN(text: any, ...args: any[]): any;
2494
+ export function LENS(...args: any[]): Promise<{
2495
+ message: string;
2496
+ functionName: any;
2497
+ type: string;
2498
+ apiKeyName?: undefined;
2499
+ reason?: undefined;
2500
+ } | {
2501
+ message: string;
2502
+ functionName: any;
2503
+ type: string;
2504
+ apiKeyName: any;
2505
+ reason?: undefined;
2506
+ } | {
2507
+ message: string;
2508
+ functionName: any;
2509
+ type: string;
2510
+ reason: any;
2511
+ apiKeyName?: undefined;
2512
+ } | {
2513
+ platform: string;
2514
+ }[]>;
2515
+ /**
2516
+ * Returns the parameters of a linear trend.
2517
+ *
2518
+ * Category: Statistical
2519
+ *
2520
+ * @param {*} known_y The set of y-values that you already know in the relationship y = mx + b.
2521
+ - If the range of known_y's is in a single column, each column of known_x's is interpreted as a separate variable.
2522
+ - If the range of known_y's is contained in a single row, each row of known_x's is interpreted as a separate variable.
2523
+ * @param {*} known_x Optional. A set of x-values that you may already know in the relationship y = mx + b.
2524
+ - The range of known_x's can include one or more sets of variables. If only one variable is used, known_y's and known_x's can be ranges of any shape, as long as they have equal dimensions. If more than one variable is used, known_y's must be a vector (that is, a range with a height of one row or a width of one column).
2525
+ - If known_x's is omitted, it is assumed to be the array {1,2,3,...} that is the same size as known_y's.
2526
+ * @returns
2527
+ */
2528
+ export function LINEST(known_y: any, known_x: any): Error | number[];
2529
+ /**
2530
+ * Returns the natural logarithm of a number.
2531
+ *
2532
+ * Category: Math and trigonometry
2533
+ *
2534
+ * @param {*} number The positive real number for which you want the natural logarithm.
2535
+ * @returns
2536
+ */
2537
+ export function LN(number: any): number | Error;
2538
+ /**
2539
+ * Returns the logarithm of a number to a specified base.
2540
+ *
2541
+ * Category: Math and trigonometry
2542
+ *
2543
+ * @param {*} number The positive real number for which you want the logarithm.
2544
+ * @param {*} base Optional. The base of the logarithm. If base is omitted, it is assumed to be 10.
2545
+ * @returns
2546
+ */
2547
+ export function LOG(number: any, base: any): any;
2548
+ /**
2549
+ * Returns the base-10 logarithm of a number.
2550
+ *
2551
+ * Category: Math and trigonometry
2552
+ *
2553
+ * @param {*} number The positive real number for which you want the base-10 logarithm.
2554
+ * @returns
2555
+ */
2556
+ export function LOG10(number: any): number | Error;
2557
+ /**
2558
+ * Returns the parameters of an exponential trend.
2559
+ *
2560
+ * Category: Statistical
2561
+ *
2562
+ * @param {*} known_y The set of y-values you already know in the relationship y = b*m^x.
2563
+ - If the array known_y's is in a single column, then each column of known_x's is interpreted as a separate variable.
2564
+ - If the array known_y's is in a single row, then each row of known_x's is interpreted as a separate variable.
2565
+ * @param {*} known_x Optional. An optional set of x-values that you may already know in the relationship y = b*m^x.
2566
+ - The array known_x's can include one or more sets of variables. If only one variable is used, known_y's and known_x's can be ranges of any shape, as long as they have equal dimensions. If more than one variable is used, known_y's must be a range of values with a height of one row or a width of one column (which is also known as a vector).
2567
+ - If known_x's is omitted, it is assumed to be the array {1,2,3,...} that is the same size as known_y's.
2568
+ * @returns
2569
+ */
2570
+ export function LOGEST(known_y: any, known_x: any): Error | number[];
2571
+ /**
2572
+ * Returns the inverse of the lognormal cumulative distribution.
2573
+ *
2574
+ * Category: Statistical
2575
+ *
2576
+ * @param {*} probability A probability associated with the lognormal distribution.
2577
+ * @param {*} mean The mean of ln(x).
2578
+ * @param {*} standard_dev The standard deviation of ln(x).
2579
+ * @returns
2580
+ */
2581
+ export function LOGINV(probability: any, mean: any, standard_dev: any): any;
2582
+ export namespace LOGNORM {
2583
+ /**
2584
+ * Returns the cumulative lognormal distribution.
2585
+ *
2586
+ * Category: Statistical
2587
+ *
2588
+ * @param {*} x The value at which to evaluate the function.
2589
+ * @param {*} mean The mean of ln(x).
2590
+ * @param {*} standard_dev The standard deviation of ln(x).
2591
+ * @param {*} cumulative A logical value that determines the form of the function. If cumulative is TRUE, LOGNORM.DIST returns the cumulative distribution function; if FALSE, it returns the probability density function.
2592
+ * @returns
2593
+ */
2594
+ function DIST(x: any, mean: any, standard_dev: any, cumulative: any): any;
2595
+ /**
2596
+ * Returns the inverse of the lognormal cumulative distribution.
2597
+ *
2598
+ * Category: Statistical
2599
+ *
2600
+ * @param {*} probability A probability associated with the lognormal distribution.
2601
+ * @param {*} mean The mean of ln(x).
2602
+ * @param {*} standard_dev The standard deviation of ln(x).
2603
+ * @returns
2604
+ */
2605
+ function INV(probability: any, mean: any, standard_dev: any): any;
2606
+ }
2607
+ /**
2608
+ * Returns the cumulative lognormal distribution.
2609
+ *
2610
+ * Category: Statistical
2611
+ *
2612
+ * @param {*} x The value at which to evaluate the function.
2613
+ * @param {*} mean The mean of ln(x).
2614
+ * @param {*} standard_dev The standard deviation of ln(x).
2615
+ * @param {*} cumulative A logical value that determines the form of the function. If cumulative is TRUE, LOGNORM.DIST returns the cumulative distribution function; if FALSE, it returns the probability density function.
2616
+ * @returns
2617
+ */
2618
+ export function LOGNORMDIST(x: any, mean: any, standard_dev: any, cumulative: any): any;
2619
+ /**
2620
+ * Returns the inverse of the lognormal cumulative distribution.
2621
+ *
2622
+ * Category: Statistical
2623
+ *
2624
+ * @param {*} probability A probability associated with the lognormal distribution.
2625
+ * @param {*} mean The mean of ln(x).
2626
+ * @param {*} standard_dev The standard deviation of ln(x).
2627
+ * @returns
2628
+ */
2629
+ export function LOGNORMINV(probability: any, mean: any, standard_dev: any): any;
2630
+ /**
2631
+ * Looks up values in a vector or array.
2632
+ *
2633
+ * Category: Lookup and reference
2634
+ *
2635
+ * @param {*} lookup_value A value that LOOKUP searches for in an array. The lookup_value argument can be a number, text, a logical value, or a name or reference that refers to a value.
2636
+ - If LOOKUP can't find the value of lookup_value, it uses the largest value in the array that is less than or equal to lookup_value.
2637
+ - If the value of lookup_value is smaller than the smallest value in the first row or column (depending on the array dimensions), LOOKUP returns the #N/A error value.
2638
+ * @param {*} array A range of values that contains text, numbers, or logical values that you want to compare with lookup_value. The array form of LOOKUP is very similar to the HLOOKUP and VLOOKUP functions. The difference is that HLOOKUP searches for the value of lookup_value in the first row, VLOOKUP searches in the first column, and LOOKUP searches according to the dimensions of array.
2639
+ * @param {*} result_array Optional. A range that contains only one row or column. The result_array argument must be the same size as lookup_value. It has to be the same size.
2640
+ * @returns
2641
+ */
2642
+ export function LOOKUP(lookup_value: any, array: any, result_array: any): any;
2643
+ /**
2644
+ * Converts text to lowercase.
2645
+ *
2646
+ * Category: Text
2647
+ *
2648
+ * @param {*} text The text you want to convert to lowercase. LOWER does not change characters in text that are not letters.
2649
+ * @returns
2650
+ */
2651
+ export function LOWER(text: any, ...args: any[]): any;
2652
+ /**
2653
+ * Looks up values in a reference or array.
2654
+ *
2655
+ * Category: Lookup and reference
2656
+ *
2657
+ * @param {*} lookup_value The value that you want to match in lookup_array. For example, when you look up someone's number in a telephone book, you are using the person's name as the lookup value, but the telephone number is the value you want.The lookup_value argument can be a value (number, text, or logical value) or a value reference to a number, text, or logical value.
2658
+ * @param {*} lookup_array The range of values being searched.
2659
+ * @param {*} match_type Optional. The number -1, 0, or 1. The match_type argument specifies how Excel matches lookup_value with values in lookup_array. The default value for this argument is 1.
2660
+ * @returns
2661
+ */
2662
+ export function MATCH(lookup_value: any, lookup_array: any, match_type: any, ...args: any[]): number | Error;
2663
+ /**
2664
+ * Returns the maximum value in a list of arguments.
2665
+ *
2666
+ * Category: Statistical
2667
+ *
2668
+ * @param {*} args number1, number2, ... Number1 is required, subsequent numbers are optional. 1 to 255 numbers for which you want to find the maximum value.
2669
+ * @returns
2670
+ */
2671
+ export function MAX(...args: any[]): any;
2672
+ /**
2673
+ * Returns the maximum value in a list of arguments, including numbers, text, and logical values.
2674
+ *
2675
+ * Category: Statistical
2676
+ *
2677
+ * @param {*} args value1, value2,... Number arguments 2 to 255 for which you want to find the largest value.
2678
+ * @returns
2679
+ */
2680
+ export function MAXA(...args: any[]): any;
2681
+ /**
2682
+ * Returns the maximum of all values in a range that meet multiple criteria.
2683
+ *
2684
+ * Category: Statistical
2685
+ *
2686
+ * @returns
2687
+ */
2688
+ export function MAXIFS(...args: any[]): any;
2689
+ /**
2690
+ * Returns the median of the given numbers.
2691
+ *
2692
+ * Category: Statistical
2693
+ *
2694
+ * @param {*} args number1, number2, ... Number1 is required, subsequent numbers are optional. 1 to 255 numbers for which you want the median.
2695
+ * @returns
2696
+ */
2697
+ export function MEDIAN(...args: any[]): any;
2698
+ export function MEERKAT(): string;
2699
+ /**
2700
+ * Returns a specific number of characters from a text string starting at the position you specify
2701
+ *
2702
+ * Category: Text
2703
+ *
2704
+ * @param {*} text The text string containing the characters you want to extract.
2705
+ * @param {*} start_num The position of the first character you want to extract in text. The first character in text has start_num 1, and so on.
2706
+ * @param {*} num_chars Specifies the number of characters you want MID to return from text.
2707
+ * @returns
2708
+ */
2709
+ export function MID(text: any, start_num: any, num_chars: any): any;
2710
+ /**
2711
+ * Returns the minimum value in a list of arguments.
2712
+ *
2713
+ * Category: Statistical
2714
+ *
2715
+ * @param {*} args number1, number2, ... Number1 is optional, subsequent numbers are optional. 1 to 255 numbers for which you want to find the minimum value.
2716
+ * @returns
2717
+ */
2718
+ export function MIN(...args: any[]): any;
2719
+ /**
2720
+ * Returns the smallest value in a list of arguments, including numbers, text, and logical values.
2721
+ *
2722
+ * Category: Statistical
2723
+ *
2724
+ * @param {*} args value1, value2, ... Value1 is required, subsequent values are optional. 1 to 255 values for which you want to find the smallest value.
2725
+ * @returns
2726
+ */
2727
+ export function MINA(...args: any[]): any;
2728
+ /**
2729
+ * Returns the minimum of all values in a range that meet multiple criteria.
2730
+ *
2731
+ * Category: Statistical
2732
+ *
2733
+ * @returns
2734
+ */
2735
+ export function MINIFS(...args: any[]): any;
2736
+ declare function MINUS$1(...args: any[]): any;
2737
+ /**
2738
+ * Converts a serial number to a minute.
2739
+ *
2740
+ * Category: Date and time
2741
+ *
2742
+ * @param {*} serial_number The time that contains the minute you want to find. Times may be entered as text strings within quotation marks (for example, "6:45 PM"), as decimal numbers (for example, 0.78125, which represents 6:45 PM), or as results of other formulas or functions (for example, TIMEVALUE("6:45 PM")).
2743
+ * @returns
2744
+ */
2745
+ export function MINUTE(serial_number: any): any;
2746
+ /**
2747
+ * Returns the internal rate of return where positive and negative cash flows are financed at different rates.
2748
+ *
2749
+ * Category: Financial
2750
+ *
2751
+ * @param {*} values An array or a reference to values that contain numbers. These numbers represent a series of payments (negative values) and income (positive values) occurring at regular periods.
2752
+ - Values must contain at least one positive value and one negative value to calculate the modified internal rate of return. Otherwise, MIRR returns the #DIV/0! error value.
2753
+ - If an array or reference argument contains text, logical values, or empty values, those values are ignored; however, values with the value zero are included.
2754
+ * @param {*} finance_rate The interest rate you pay on the money used in the cash flows.
2755
+ * @param {*} reinvest_rate The interest rate you receive on the cash flows as you reinvest them.
2756
+ * @returns
2757
+ */
2758
+ export function MIRR(values: any, finance_rate: any, reinvest_rate: any): number | Error;
2759
+ /**
2760
+ * Returns the matrix product of two arrays. The result is an array with the same number of rows as array1 and the same number of columns as array2.
2761
+ *
2762
+ * Category: Math and trigonometry
2763
+ *
2764
+ * @param {*} array1 Required. 1st array you want to multiply.
2765
+ * @param {*} array2 Required. 2nd array you want to multiply.
2766
+ * @returns
2767
+ */
2768
+ export function MMULT(array1: any, array2: any): Error | any[][];
2769
+ /**
2770
+ * Returns the remainder from division.
2771
+ *
2772
+ * Category: Math and trigonometry
2773
+ *
2774
+ * @param {*} number The number for which you want to find the remainder.
2775
+ * @param {*} divisor The number by which you want to divide number.
2776
+ * @returns
2777
+ */
2778
+ export function MOD(number: any, divisor: any): any;
2779
+ export namespace MODE {
2780
+ /**
2781
+ * Returns a vertical array of the most frequently occurring, or repetitive values in an array or range of data.
2782
+ *
2783
+ * Category: Statistical
2784
+ *
2785
+ * @param {*} args number1, number2, ... Number arguments 2 to 254 for which you want to calculate the mode. You can also use a single array or a reference to an array instead of arguments separated by commas.
2786
+ * @returns
2787
+ */
2788
+ function MULT(...args: any[]): any[] | Error;
2789
+ /**
2790
+ * Returns the most common value in a data set.
2791
+ *
2792
+ * Category: Statistical
2793
+ *
2794
+ * @param {*} args number1, number2, ... Arguments 2 to 254 for which you want to calculate the mode. You can also use a single array or a reference to an array instead of arguments separated by commas.
2795
+ * @returns
2796
+ */
2797
+ function SNGL(...args: any[]): any;
2798
+ }
2799
+ /**
2800
+ * Returns a vertical array of the most frequently occurring, or repetitive values in an array or range of data.
2801
+ *
2802
+ * Category: Statistical
2803
+ *
2804
+ * @param {*} args number1, number2, ... Number arguments 2 to 254 for which you want to calculate the mode. You can also use a single array or a reference to an array instead of arguments separated by commas.
2805
+ * @returns
2806
+ */
2807
+ export function MODEMULT(...args: any[]): any[] | Error;
2808
+ /**
2809
+ * Returns the most common value in a data set.
2810
+ *
2811
+ * Category: Statistical
2812
+ *
2813
+ * @param {*} args number1, number2, ... Arguments 2 to 254 for which you want to calculate the mode. You can also use a single array or a reference to an array instead of arguments separated by commas.
2814
+ * @returns
2815
+ */
2816
+ export function MODESNGL(...args: any[]): any;
2817
+ /**
2818
+ * Converts a serial number to a month.
2819
+ *
2820
+ * Category: Date and time
2821
+ *
2822
+ * @param {*} serial_number The date of the month you are trying to find.
2823
+ * @returns
2824
+ */
2825
+ export function MONTH(serial_number: any): any;
2826
+ /**
2827
+ * Returns a number rounded to the desired multiple.
2828
+ *
2829
+ * Category: Math and trigonometry
2830
+ *
2831
+ * @param {*} number The value to round.
2832
+ * @param {*} multiple The multiple to which you want to round number.
2833
+ * @returns
2834
+ */
2835
+ export function MROUND(number: any, multiple: any): any;
2836
+ /**
2837
+ * Returns the multinomial of a set of numbers.
2838
+ *
2839
+ * Category: Math and trigonometry
2840
+ *
2841
+ * @param {*} args number1, number2, ... Number1 is required, subsequent numbers are optional. 1 to 255 values for which you want the multinomial.
2842
+ * @returns
2843
+ */
2844
+ export function MULTINOMIAL(...args: any[]): number | Error;
2845
+ /**
2846
+ * Returns the unit matrix for the specified dimension.
2847
+ *
2848
+ * Category: Math and trigonometry
2849
+ *
2850
+ * @param {*} dimension Required. Dimension is an integer specifying the dimension of the unit matrix that you want to return. It returns an array. The dimension has to be greater than zero.
2851
+ * @returns
2852
+ */
2853
+ export function MUNIT(dimension: any, ...args: any[]): Error | any[][];
2854
+ export function MYANIMELIST(): string;
2855
+ /**
2856
+ * Returns a value converted to a number.
2857
+ *
2858
+ * Category: Information
2859
+ *
2860
+ * @param {*} value The value you want converted. N converts values listed in the following table.
2861
+ * @returns
2862
+ */
2863
+ export function N(value: any): any;
2864
+ /**
2865
+ * Returns the error value #N/A.
2866
+ *
2867
+ * Category: Information
2868
+ *
2869
+ * @returns
2870
+ */
2871
+ export function NA(): Error;
2872
+ export namespace NEGBINOM {
2873
+ /**
2874
+ * Returns the negative binomial distribution.
2875
+ *
2876
+ * Category: Statistical
2877
+ *
2878
+ * @param {*} number_f The number of failures.
2879
+ * @param {*} number_s The threshold number of successes.
2880
+ * @param {*} probability_s The probability of a success.
2881
+ * @param {*} cumulative A logical value that determines the form of the function. If cumulative is TRUE, NEGBINOM.DIST returns the cumulative distribution function; if FALSE, it returns the probability density function.
2882
+ * @returns
2883
+ */
2884
+ function DIST(number_f: any, number_s: any, probability_s: any, cumulative: any): any;
2885
+ }
2886
+ /**
2887
+ * Returns the negative binomial distribution.
2888
+ *
2889
+ * Category: Statistical
2890
+ *
2891
+ * @param {*} number_f The number of failures.
2892
+ * @param {*} number_s The threshold number of successes.
2893
+ * @param {*} probability_s The probability of a success.
2894
+ * @param {*} cumulative A logical value that determines the form of the function. If cumulative is TRUE, NEGBINOM.DIST returns the cumulative distribution function; if FALSE, it returns the probability density function.
2895
+ * @returns
2896
+ */
2897
+ export function NEGBINOMDIST(number_f: any, number_s: any, probability_s: any, cumulative: any): any;
2898
+ /**
2899
+ * Returns the number of whole workdays between two dates.
2900
+ *
2901
+ * Category: Date and time
2902
+ *
2903
+ * @param {*} start_date A date that represents the start date.
2904
+ * @param {*} end_date A date that represents the end date.
2905
+ * @param {*} holidays Optional. An optional range of one or more dates to exclude from the working calendar, such as state and federal holidays and floating holidays. The list can be either a range of values that contains the dates or an array constant of the serial numbers that represent the dates.
2906
+ * @returns
2907
+ */
2908
+ export function NETWORKDAYS(start_date: any, end_date: any, holidays: any): number | Error;
2909
+ export namespace NETWORKDAYS {
2910
+ /**
2911
+ * Returns the number of whole workdays between two dates using parameters to indicate which and how many days are weekend days.
2912
+ *
2913
+ * Category: Date and time
2914
+ *
2915
+ * @param {*} start_date The date for from which the difference is to be computed. The start_date can be earlier than, the same as, or later than the end_date.
2916
+ * @param {*} end_date The date for to which the difference is to be computed.
2917
+ * @param {*} weekend Optional. Indicates the days of the week that are weekend days and are not included in the number of whole working days between start_date and end_date. Weekend is a weekend number or string that specifies when weekends occur. Weekend number values indicate the following weekend days:
2918
+ * @param {*} holidays Optional. An optional set of one or more dates that are to be excluded from the working day calendar. holidays shall be a range of values that contain the dates, or an array constant of the serial values that represent those dates. The ordering of dates or serial values in holidays can be arbitrary.
2919
+ * @returns
2920
+ */
2921
+ function INTL(start_date: any, end_date: any, weekend: any, holidays: any): number | Error;
2922
+ }
2923
+ /**
2924
+ * Returns the number of whole workdays between two dates using parameters to indicate which and how many days are weekend days.
2925
+ *
2926
+ * Category: Date and time
2927
+ *
2928
+ * @param {*} start_date The date for from which the difference is to be computed. The start_date can be earlier than, the same as, or later than the end_date.
2929
+ * @param {*} end_date The date for to which the difference is to be computed.
2930
+ * @param {*} weekend Optional. Indicates the days of the week that are weekend days and are not included in the number of whole working days between start_date and end_date. Weekend is a weekend number or string that specifies when weekends occur. Weekend number values indicate the following weekend days:
2931
+ * @param {*} holidays Optional. An optional set of one or more dates that are to be excluded from the working day calendar. holidays shall be a range of values that contain the dates, or an array constant of the serial values that represent those dates. The ordering of dates or serial values in holidays can be arbitrary.
2932
+ * @returns
2933
+ */
2934
+ export function NETWORKDAYSINTL(start_date: any, end_date: any, weekend: any, holidays: any): number | Error;
2935
+ /**
2936
+ * Returns the number of whole workdays between two dates using parameters to indicate which and how many days are weekend days.
2937
+ *
2938
+ * Category: Date and time
2939
+ *
2940
+ * @param {*} start_date The date for from which the difference is to be computed. The start_date can be earlier than, the same as, or later than the end_date.
2941
+ * @param {*} end_date The date for to which the difference is to be computed.
2942
+ * @param {*} weekend Optional. Indicates the days of the week that are weekend days and are not included in the number of whole working days between start_date and end_date. Weekend is a weekend number or string that specifies when weekends occur. Weekend number values indicate the following weekend days:
2943
+ * @param {*} holidays Optional. An optional set of one or more dates that are to be excluded from the working day calendar. holidays shall be a range of values that contain the dates, or an array constant of the serial values that represent those dates. The ordering of dates or serial values in holidays can be arbitrary.
2944
+ * @returns
2945
+ */
2946
+ export function NETWORKDAYS_INTL(start_date: any, end_date: any, weekend: any, holidays: any): number | Error;
2947
+ export function NEYNAR(...args: any[]): Promise<any>;
2948
+ /**
2949
+ * Returns the annual nominal interest rate.
2950
+ *
2951
+ * Category: Financial
2952
+ *
2953
+ * @param {*} effect_rate The effective interest rate.
2954
+ * @param {*} npery The number of compounding periods per year.
2955
+ * @returns
2956
+ */
2957
+ export function NOMINAL(effect_rate: any, npery: any): number | Error;
2958
+ export namespace NORM {
2959
+ /**
2960
+ * Returns the normal cumulative distribution.
2961
+ *
2962
+ * Category: Statistical
2963
+ *
2964
+ * @param {*} x The value for which you want the distribution.
2965
+ * @param {*} mean The arithmetic mean of the distribution.
2966
+ * @param {*} standard_dev The standard deviation of the distribution.
2967
+ * @param {*} cumulative A logical value that determines the form of the function. If cumulative is TRUE, NORM.DIST returns the cumulative distribution function; if FALSE, it returns the probability density function.
2968
+ * @returns
2969
+ */
2970
+ function DIST(x: any, mean: any, standard_dev: any, cumulative: any): any;
2971
+ /**
2972
+ * Returns the inverse of the normal cumulative distribution.
2973
+ *
2974
+ * Category: Statistical
2975
+ *
2976
+ * @param {*} probability A probability corresponding to the normal distribution.
2977
+ * @param {*} mean The arithmetic mean of the distribution.
2978
+ * @param {*} standard_dev The standard deviation of the distribution.
2979
+ * @returns
2980
+ */
2981
+ function INV(probability: any, mean: any, standard_dev: any): any;
2982
+ namespace S {
2983
+ /**
2984
+ * Returns the standard normal cumulative distribution.
2985
+ *
2986
+ * Category: Statistical
2987
+ *
2988
+ * @param {*} z The value for which you want the distribution.
2989
+ * @param {*} cumulative Cumulative is a logical value that determines the form of the function. If cumulative is TRUE, NORMS.DIST returns the cumulative distribution function; if FALSE, it returns the probability mass function.
2990
+ * @returns
2991
+ */
2992
+ function DIST(z: any, cumulative: any): any;
2993
+ /**
2994
+ * Returns the inverse of the standard normal cumulative distribution.
2995
+ *
2996
+ * Category: Statistical
2997
+ *
2998
+ * @param {*} probability A probability corresponding to the normal distribution.
2999
+ * @returns
3000
+ */
3001
+ function INV(probability: any): any;
3002
+ }
3003
+ }
3004
+ /**
3005
+ * Returns the normal cumulative distribution.
3006
+ *
3007
+ * Category: Statistical
3008
+ *
3009
+ * @param {*} x The value for which you want the distribution.
3010
+ * @param {*} mean The arithmetic mean of the distribution.
3011
+ * @param {*} standard_dev The standard deviation of the distribution.
3012
+ * @param {*} cumulative A logical value that determines the form of the function. If cumulative is TRUE, NORM.DIST returns the cumulative distribution function; if FALSE, it returns the probability density function.
3013
+ * @returns
3014
+ */
3015
+ export function NORMDIST(x: any, mean: any, standard_dev: any, cumulative: any): any;
3016
+ /**
3017
+ * Returns the inverse of the normal cumulative distribution.
3018
+ *
3019
+ * Category: Statistical
3020
+ *
3021
+ * @param {*} probability A probability corresponding to the normal distribution.
3022
+ * @param {*} mean The arithmetic mean of the distribution.
3023
+ * @param {*} standard_dev The standard deviation of the distribution.
3024
+ * @returns
3025
+ */
3026
+ export function NORMINV(probability: any, mean: any, standard_dev: any): any;
3027
+ /**
3028
+ * Returns the standard normal cumulative distribution.
3029
+ *
3030
+ * Category: Statistical
3031
+ *
3032
+ * @param {*} z The value for which you want the distribution.
3033
+ * @param {*} cumulative Cumulative is a logical value that determines the form of the function. If cumulative is TRUE, NORMS.DIST returns the cumulative distribution function; if FALSE, it returns the probability mass function.
3034
+ * @returns
3035
+ */
3036
+ export function NORMSDIST(z: any, cumulative: any): any;
3037
+ /**
3038
+ * Returns the inverse of the standard normal cumulative distribution.
3039
+ *
3040
+ * Category: Statistical
3041
+ *
3042
+ * @param {*} probability A probability corresponding to the normal distribution.
3043
+ * @returns
3044
+ */
3045
+ export function NORMSINV(probability: any): any;
3046
+ /**
3047
+ * Reverses the logic of its argument.
3048
+ *
3049
+ * Category: Logical
3050
+ *
3051
+ * @returns
3052
+ */
3053
+ export function NOT(logical: any): boolean | Error;
3054
+ /**
3055
+ * Returns the serial number of the current date and time.
3056
+ *
3057
+ * Category: Date and time
3058
+ *
3059
+ * @returns
3060
+ */
3061
+ export function NOW(): number | Date;
3062
+ /**
3063
+ * Returns the number of periods for an investment.
3064
+ *
3065
+ * Category: Financial
3066
+ *
3067
+ * @param {*} rate The interest rate per period.
3068
+ * @param {*} pmt The payment made each period; it cannot change over the life of the annuity. Typically, pmt contains principal and interest but no other fees or taxes.
3069
+ * @param {*} pv The present value, or the lump-sum amount that a series of future payments is worth right now.
3070
+ * @param {*} fv Optional. The future value, or a cash balance you want to attain after the last payment is made. If fv is omitted, it is assumed to be 0 (the future value of a loan, for example, is 0).
3071
+ * @param {*} type Optional. The number 0 or 1 and indicates when payments are due.
3072
+ * @returns
3073
+ */
3074
+ export function NPER(rate: any, pmt: any, pv: any, fv: any, type: any): number | Error;
3075
+ /**
3076
+ * Returns the net present value of an investment based on a series of periodic cash flows and a discount rate.
3077
+ *
3078
+ * Category: Financial
3079
+ *
3080
+ * @param {*} rate The rate of discount over the length of one period.
3081
+ * @param {*} args value1, value2, ... Value1 is required, subsequent values are optional. 1 to 254 arguments representing the payments and income.
3082
+ - value1, value2, ... must be equally spaced in time and occur at the end of each period.
3083
+ - NPV uses the order of value1, value2, ... to interpret the order of cash flows. Be sure to enter your payment and income values in the correct sequence.
3084
+ - Arguments that are empty values, logical values, or text representations of numbers, error values, or text that cannot be translated into numbers are ignored.
3085
+ - If an argument is an array or reference, only numbers in that array or reference are counted. Empty values, logical values, text, or error values in the array or reference are ignored.
3086
+ * @returns
3087
+ */
3088
+ export function NPV(...args: any[]): number | Error;
3089
+ /**
3090
+ * Converts text to number in a locale-independent manner.
3091
+ *
3092
+ * Category: Text
3093
+ *
3094
+ * @param {*} text The text to convert to a number.
3095
+ * @param {*} decimal_separator Optional. The character used to separate the integer and fractional part of the result.
3096
+ * @param {*} group_separator Optional. The character used to separate groupings of numbers, such as thousands from hundreds and millions from thousands.
3097
+ * @returns
3098
+ */
3099
+ export function NUMBERVALUE(text: any, decimal_separator: any, group_separator: any): number | Error;
3100
+ /**
3101
+ * Converts an octal number to binary.
3102
+ *
3103
+ * Category: Engineering
3104
+ *
3105
+ * @param {*} number The octal number you want to convert. Number may not contain more than 10 characters. The most significant bit of number is the sign bit. The remaining 29 bits are magnitude bits. Negative numbers are represented using two's-complement notation.
3106
+ * @param {*} places Optional. The number of characters to use. If places is omitted, OCT2BIN uses the minimum number of characters necessary. Places is useful for padding the return value with leading 0s (zeros).
3107
+ * @returns
3108
+ */
3109
+ export function OCT2BIN(number: any, places: any): string | Error;
3110
+ /**
3111
+ * Converts an octal number to decimal.
3112
+ *
3113
+ * Category: Engineering
3114
+ *
3115
+ * @param {*} number The octal number you want to convert. Number may not contain more than 10 octal characters (30 bits). The most significant bit of number is the sign bit. The remaining 29 bits are magnitude bits. Negative numbers are represented using two's-complement notation.
3116
+ * @returns
3117
+ */
3118
+ export function OCT2DEC(number: any): number | Error;
3119
+ /**
3120
+ * Converts an octal number to hexadecimal.
3121
+ *
3122
+ * Category: Engineering
3123
+ *
3124
+ * @param {*} number The octal number you want to convert. Number may not contain more than 10 octal characters (30 bits). The most significant bit of number is the sign bit. The remaining 29 bits are magnitude bits. Negative numbers are represented using two's-complement notation.
3125
+ * @param {*} places Optional. The number of characters to use. If places is omitted, OCT2HEX uses the minimum number of characters necessary. Places is useful for padding the return value with leading 0s (zeros).
3126
+ * @returns
3127
+ */
3128
+ export function OCT2HEX(number: any, places: any): string | Error;
3129
+ /**
3130
+ * Rounds a number up to the nearest odd integer.
3131
+ *
3132
+ * Category: Math and trigonometry
3133
+ *
3134
+ * @param {*} number: The value to round.
3135
+ * @returns
3136
+ */
3137
+ export function ODD(number: any): number | Error;
3138
+ /**
3139
+ * Returns TRUE if any argument is TRUE.
3140
+ *
3141
+ * Category: Logical
3142
+ *
3143
+ * @returns
3144
+ */
3145
+ export function OR(...args: any[]): any;
3146
+ /**
3147
+ * Returns the number of periods required by an investment to reach a specified value.
3148
+ *
3149
+ * Category: Financial
3150
+ *
3151
+ * @param {*} rate Rate is the interest rate per period.
3152
+ * @param {*} pv Pv is the present value of the investment.
3153
+ * @param {*} fv Fv is the desired future value of the investment.
3154
+ * @returns
3155
+ */
3156
+ export function PDURATION(rate: any, pv: any, fv: any): number | Error;
3157
+ /**
3158
+ * Returns the Pearson product moment correlation coefficient.
3159
+ *
3160
+ * Category: Statistical
3161
+ *
3162
+ * @param {*} array1 A set of independent values.
3163
+ * @param {*} array2 A set of dependent values.
3164
+ * @returns
3165
+ */
3166
+ export function PEARSON(array1: any, array2: any): number | Error;
3167
+ export namespace PERCENTILE {
3168
+ /**
3169
+ * Returns the k-th percentile of values in a range, where k is in the range 0..1, exclusive.
3170
+ *
3171
+ * Category: Statistical
3172
+ *
3173
+ * @returns
3174
+ */
3175
+ function EXC(array: any, k: any): number | Error;
3176
+ /**
3177
+ * Returns the k-th percentile of values in a range.
3178
+ *
3179
+ * Category: Statistical
3180
+ *
3181
+ * @param {*} array The array or range of data that defines relative standing.
3182
+ * @param {*} k The percentile value in the range 0..1, inclusive.
3183
+ * @returns
3184
+ */
3185
+ function INC(array: any, k: any): number | Error;
3186
+ }
3187
+ /**
3188
+ * Returns the k-th percentile of values in a range, where k is in the range 0..1, exclusive.
3189
+ *
3190
+ * Category: Statistical
3191
+ *
3192
+ * @returns
3193
+ */
3194
+ export function PERCENTILEEXC(array: any, k: any): number | Error;
3195
+ /**
3196
+ * Returns the k-th percentile of values in a range.
3197
+ *
3198
+ * Category: Statistical
3199
+ *
3200
+ * @param {*} array The array or range of data that defines relative standing.
3201
+ * @param {*} k The percentile value in the range 0..1, inclusive.
3202
+ * @returns
3203
+ */
3204
+ export function PERCENTILEINC(array: any, k: any): number | Error;
3205
+ export namespace PERCENTRANK {
3206
+ /**
3207
+ * Returns the rank of a value in a data set as a percentage (0..1, exclusive) of the data set.
3208
+ *
3209
+ * Category: Statistical
3210
+ *
3211
+ * @param {*} array The array or range of data with numeric values that defines relative standing
3212
+ * @param {*} x The value for which you want to know the rank.
3213
+ * @param {*} significance Optional. A value that identifies the number of significant digits for the returned percentage value. If omitted, PERCENTRANK.EXC uses three digits (0.xxx).
3214
+ * @returns
3215
+ */
3216
+ function EXC(array: any, x: any, significance: any): number | Error;
3217
+ /**
3218
+ * Returns the percentage rank of a value in a data set.
3219
+ *
3220
+ * Category: Statistical
3221
+ *
3222
+ * @param {*} array The array or range of data with numeric values that defines relative standing.
3223
+ * @param {*} x The value for which you want to know the rank.
3224
+ * @param {*} significance Optional. A value that identifies the number of significant digits for the returned percentage value. If omitted, PERCENTRANK.INC uses three digits (0.xxx).
3225
+ * @returns
3226
+ */
3227
+ function INC(array: any, x: any, significance: any): number | Error;
3228
+ }
3229
+ /**
3230
+ * Returns the rank of a value in a data set as a percentage (0..1, exclusive) of the data set.
3231
+ *
3232
+ * Category: Statistical
3233
+ *
3234
+ * @param {*} array The array or range of data with numeric values that defines relative standing
3235
+ * @param {*} x The value for which you want to know the rank.
3236
+ * @param {*} significance Optional. A value that identifies the number of significant digits for the returned percentage value. If omitted, PERCENTRANK.EXC uses three digits (0.xxx).
3237
+ * @returns
3238
+ */
3239
+ export function PERCENTRANKEXC(array: any, x: any, significance: any): number | Error;
3240
+ /**
3241
+ * Returns the percentage rank of a value in a data set.
3242
+ *
3243
+ * Category: Statistical
3244
+ *
3245
+ * @param {*} array The array or range of data with numeric values that defines relative standing.
3246
+ * @param {*} x The value for which you want to know the rank.
3247
+ * @param {*} significance Optional. A value that identifies the number of significant digits for the returned percentage value. If omitted, PERCENTRANK.INC uses three digits (0.xxx).
3248
+ * @returns
3249
+ */
3250
+ export function PERCENTRANKINC(array: any, x: any, significance: any): number | Error;
3251
+ /**
3252
+ * Returns the number of permutations for a given number of objects.
3253
+ *
3254
+ * Category: Statistical
3255
+ *
3256
+ * @param {*} number An integer that describes the number of objects.
3257
+ * @param {*} number_chosen An integer that describes the number of objects in each permutation.
3258
+ * @returns
3259
+ */
3260
+ export function PERMUT(number: any, number_chosen: any): number | Error;
3261
+ /**
3262
+ * Returns the number of permutations for a given number of objects (with repetitions) that can be selected from the total objects.
3263
+ *
3264
+ * Category: Statistical
3265
+ *
3266
+ * @param {*} number An integer that describes the total number of objects.
3267
+ * @param {*} number_chosen An integer that describes the number of objects in each permutation.
3268
+ * @returns
3269
+ */
3270
+ export function PERMUTATIONA(number: any, number_chosen: any): number | Error;
3271
+ /**
3272
+ * Returns the value of the density function for a standard normal distribution.
3273
+ *
3274
+ * Category: Statistical
3275
+ *
3276
+ * @param {*} x X is the number for which you want the density of the standard normal distribution.
3277
+ * @returns
3278
+ */
3279
+ export function PHI(x: any): number | Error;
3280
+ /**
3281
+ * Returns the value of pi.
3282
+ *
3283
+ * Category: Math and trigonometry
3284
+ *
3285
+ * @returns
3286
+ */
3287
+ export function PI(): number;
3288
+ /**
3289
+ * Returns the periodic payment for an annuity.
3290
+ *
3291
+ * Category: Financial
3292
+ *
3293
+ * @param {*} rate The interest rate for the loan.
3294
+ * @param {*} nper The total number of payments for the loan.
3295
+ * @param {*} pv The present value, or the total amount that a series of future payments is worth now; also known as the principal.
3296
+ * @param {*} fv Optional. The future value, or a cash balance you want to attain after the last payment is made. If fv is omitted, it is assumed to be 0 (zero), that is, the future value of a loan is 0.
3297
+ * @param {*} type Optional. The number 0 (zero) or 1 and indicates when payments are due.
3298
+ * @returns
3299
+ */
3300
+ export function PMT(rate: any, nper: any, pv: any, fv: any, type: any): number | Error;
3301
+ export function PNL(...args: any[]): number;
3302
+ export namespace POISSON {
3303
+ /**
3304
+ * Returns the Poisson distribution.
3305
+ *
3306
+ * Category: Statistical
3307
+ *
3308
+ * @param {*} x The number of events.
3309
+ * @param {*} mean The expected numeric value.
3310
+ * @param {*} cumulative A logical value that determines the form of the probability distribution returned. If cumulative is TRUE, POISSON.DIST returns the cumulative Poisson probability that the number of random events occurring will be between zero and x inclusive; if FALSE, it returns the Poisson probability mass function that the number of events occurring will be exactly x.
3311
+ * @returns
3312
+ */
3313
+ function DIST(x: any, mean: any, cumulative: any): any;
3314
+ }
3315
+ /**
3316
+ * Returns the Poisson distribution.
3317
+ *
3318
+ * Category: Statistical
3319
+ *
3320
+ * @param {*} x The number of events.
3321
+ * @param {*} mean The expected numeric value.
3322
+ * @param {*} cumulative A logical value that determines the form of the probability distribution returned. If cumulative is TRUE, POISSON.DIST returns the cumulative Poisson probability that the number of random events occurring will be between zero and x inclusive; if FALSE, it returns the Poisson probability mass function that the number of events occurring will be exactly x.
3323
+ * @returns
3324
+ */
3325
+ export function POISSONDIST(x: any, mean: any, cumulative: any): any;
3326
+ export function POLYMARKET(): string;
3327
+ /**
3328
+ * Returns the result of a number raised to a power.
3329
+ *
3330
+ * Category: Math and trigonometry
3331
+ *
3332
+ * @param {*} number The base number. It can be any real number.
3333
+ * @param {*} power The exponent to which the base number is raised.
3334
+ * @returns
3335
+ */
3336
+ export function POWER(number: any, power: any): any;
3337
+ /**
3338
+ * Returns the payment on the principal for an investment for a given period.
3339
+ *
3340
+ * Category: Financial
3341
+ *
3342
+ * @param {*} rate The interest rate per period.
3343
+ * @param {*} per Specifies the period and must be in the range 1 to nper.
3344
+ * @param {*} nper The total number of payment periods in an annuity.
3345
+ * @param {*} pv The present value — the total amount that a series of future payments is worth now.
3346
+ * @param {*} fv Optional. The future value, or a cash balance you want to attain after the last payment is made. If fv is omitted, it is assumed to be 0 (zero), that is, the future value of a loan is 0.
3347
+ * @param {*} type Optional. The number 0 or 1 and indicates when payments are due.
3348
+ * @returns
3349
+ */
3350
+ export function PPMT(rate: any, per: any, nper: any, pv: any, fv: any, type: any): number | Error;
3351
+ export function PRICE(...args: any[]): Promise<any>;
3352
+ /**
3353
+ * Returns the price per $100 face value of a discounted security.
3354
+ *
3355
+ * Category: Financial
3356
+ *
3357
+ * @param {*} settlement The security's settlement date. The security settlement date is the date after the issue date when the security is traded to the buyer.
3358
+ * @param {*} maturity The security's maturity date. The maturity date is the date when the security expires.
3359
+ * @param {*} discount The security's discount rate.
3360
+ * @param {*} redemption The security's redemption value per $100 face value.
3361
+ * @param {*} basis Optional. The type of day count basis to use.
3362
+ * @returns
3363
+ */
3364
+ export function PRICEDISC(settlement: any, maturity: any, discount: any, redemption: any, basis: any): number | Error;
3365
+ export function PRIVACYPOOL(): string;
3366
+ /**
3367
+ * Returns the probability that values in a range are between two limits.
3368
+ *
3369
+ * Category: Statistical
3370
+ *
3371
+ * @param {*} x_range The range of numeric values of x with which there are associated probabilities.
3372
+ * @param {*} prob_range A set of probabilities associated with values in x_range.
3373
+ * @param {*} lower_limit Optional. The lower bound on the value for which you want a probability.
3374
+ * @param {*} upper_limit Optional. The optional upper bound on the value for which you want a probability.
3375
+ * @returns
3376
+ */
3377
+ export function PROB(x_range: any, prob_range: any, lower_limit: any, upper_limit: any): any;
3378
+ /**
3379
+ * Multiplies its arguments.
3380
+ *
3381
+ * Category: Math and trigonometry
3382
+ *
3383
+ * @param {*} number1 The first number or range that you want to multiply.
3384
+ * @param {*} args number2, ... Optional. Additional numbers or ranges that you want to multiply, up to a maximum of 255 arguments.
3385
+ * @returns
3386
+ */
3387
+ export function PRODUCT(...args: any[]): number | Error;
3388
+ /**
3389
+ * Capitalizes the first letter in each word of a text value.
3390
+ *
3391
+ * Category: Text
3392
+ *
3393
+ * @param {*} text Text enclosed in quotation marks, a formula that returns text, or a reference to a value containing the text you want to partially capitalize.
3394
+ * @returns
3395
+ */
3396
+ export function PROPER(text: any): any;
3397
+ /**
3398
+ * Returns the present value of an investment.
3399
+ *
3400
+ * Category: Financial
3401
+ *
3402
+ * @param {*} rate The interest rate per period. For example, if you obtain an automobile loan at a 10 percent annual interest rate and make monthly payments, your interest rate per month is 10%/12, or 0.83%. You would enter 10%/12, or 0.83%, or 0.0083, into the formula as the rate.
3403
+ * @param {*} nper The total number of payment periods in an annuity. For example, if you get a four-year car loan and make monthly payments, your loan has 4*12 (or 48) periods. You would enter 48 into the formula for nper.
3404
+ * @param {*} pmt The payment made each period and cannot change over the life of the annuity. Typically, pmt includes principal and interest but no other fees or taxes. For example, the monthly payments on a $10,000, four-year car loan at 12 percent are $263.33. You would enter -263.33 into the formula as the pmt. If pmt is omitted, you must include the fv argument.
3405
+ * @param {*} fv Optional. The future value, or a cash balance you want to attain after the last payment is made. If fv is omitted, it is assumed to be 0 (the future value of a loan, for example, is 0). For example, if you want to save $50,000 to pay for a special project in 18 years, then $50,000 is the future value. You could then make a conservative guess at an interest rate and determine how much you must save each month. If fv is omitted, you must include the pmt argument.
3406
+ * @param {*} type Optional. The number 0 or 1 and indicates when payments are due.
3407
+ * @returns
3408
+ */
3409
+ export function PV(rate: any, per: any, pmt: any, fv: any, type: any): number | Error;
3410
+ export namespace QUARTILE {
3411
+ /**
3412
+ * Returns the quartile of the data set, based on percentile values from 0..1, exclusive.
3413
+ *
3414
+ * Category: Statistical
3415
+ *
3416
+ * @param {*} array The array or value range of numeric values for which you want the quartile value.
3417
+ * @param {*} quart Indicates which value to return.
3418
+ * @returns
3419
+ */
3420
+ function EXC(range: any, quart: any): number | Error;
3421
+ /**
3422
+ * Returns the quartile of a data set.
3423
+ *
3424
+ * Category: Statistical
3425
+ *
3426
+ * @param {*} array The array or value range of numeric values for which you want the quartile value.
3427
+ * @param {*} quart Indicates which value to return.
3428
+ * @returns
3429
+ */
3430
+ function INC(range: any, quart: any): number | Error;
3431
+ }
3432
+ /**
3433
+ * Returns the quartile of the data set, based on percentile values from 0..1, exclusive.
3434
+ *
3435
+ * Category: Statistical
3436
+ *
3437
+ * @param {*} array The array or value range of numeric values for which you want the quartile value.
3438
+ * @param {*} quart Indicates which value to return.
3439
+ * @returns
3440
+ */
3441
+ export function QUARTILEEXC(range: any, quart: any): number | Error;
3442
+ /**
3443
+ * Returns the quartile of a data set.
3444
+ *
3445
+ * Category: Statistical
3446
+ *
3447
+ * @param {*} array The array or value range of numeric values for which you want the quartile value.
3448
+ * @param {*} quart Indicates which value to return.
3449
+ * @returns
3450
+ */
3451
+ export function QUARTILEINC(range: any, quart: any): number | Error;
3452
+ /**
3453
+ * Returns the integer portion of a division.
3454
+ *
3455
+ * Category: Math and trigonometry
3456
+ *
3457
+ * @param {*} numerator The dividend.
3458
+ * @param {*} denominator The divisor.
3459
+ * @returns
3460
+ */
3461
+ export function QUOTIENT(numerator: any, denominator: any): any;
3462
+ /**
3463
+ * Converts degrees to radians.
3464
+ *
3465
+ * Category: Math and trigonometry
3466
+ *
3467
+ * @param {*} angle An angle in degrees that you want to convert.
3468
+ * @returns
3469
+ */
3470
+ export function RADIANS(angle: any): number | Error;
3471
+ /**
3472
+ * Returns a random number between 0 and 1.
3473
+ *
3474
+ * Category: Math and trigonometry
3475
+ *
3476
+ * @returns
3477
+ */
3478
+ export function RAND(): number;
3479
+ /**
3480
+ * Returns a random number between the numbers you specify.
3481
+ *
3482
+ * Category: Math and trigonometry
3483
+ *
3484
+ * @param {*} bottom The smallest integer RANDBETWEEN will return.
3485
+ * @param {*} top The largest integer RANDBETWEEN will return.
3486
+ * @returns
3487
+ */
3488
+ export function RANDBETWEEN(bottom: any, top: any): any;
3489
+ export namespace RANK {
3490
+ /**
3491
+ * Returns the rank of a number in a list of numbers.
3492
+ *
3493
+ * Category: Statistical
3494
+ *
3495
+ * @param {*} number The number whose rank you want to find.
3496
+ * @param {*} ref An array of, or a reference to, a list of numbers. Nonnumeric values in Ref are ignored.
3497
+ * @param {*} order Optional. A number specifying how to rank number.
3498
+ * @returns
3499
+ */
3500
+ function AVG(number: any, ref: any, order: any): any;
3501
+ /**
3502
+ * Returns the rank of a number in a list of numbers.
3503
+ *
3504
+ * Category: Statistical
3505
+ *
3506
+ * @param {*} number The number whose rank you want to find.
3507
+ * @param {*} ref An array of, or a reference to, a list of numbers. Non-numeric values in Ref are ignored.
3508
+ * @param {*} order Optional. A number specifying how to rank number.
3509
+ * @returns
3510
+ */
3511
+ function EQ(number: any, ref: any, order: any): any;
3512
+ }
3513
+ /**
3514
+ * Returns the rank of a number in a list of numbers.
3515
+ *
3516
+ * Category: Statistical
3517
+ *
3518
+ * @param {*} number The number whose rank you want to find.
3519
+ * @param {*} ref An array of, or a reference to, a list of numbers. Nonnumeric values in Ref are ignored.
3520
+ * @param {*} order Optional. A number specifying how to rank number.
3521
+ * @returns
3522
+ */
3523
+ export function RANKAVG(number: any, ref: any, order: any): any;
3524
+ /**
3525
+ * Returns the rank of a number in a list of numbers.
3526
+ *
3527
+ * Category: Statistical
3528
+ *
3529
+ * @param {*} number The number whose rank you want to find.
3530
+ * @param {*} ref An array of, or a reference to, a list of numbers. Non-numeric values in Ref are ignored.
3531
+ * @param {*} order Optional. A number specifying how to rank number.
3532
+ * @returns
3533
+ */
3534
+ export function RANKEQ(number: any, ref: any, order: any): any;
3535
+ /**
3536
+ * Returns the interest rate per period of an annuity.
3537
+ *
3538
+ * Category: Financial
3539
+ *
3540
+ * @param {*} nper The total number of payment periods in an annuity.
3541
+ * @param {*} pmt The payment made each period and cannot change over the life of the annuity. Typically, pmt includes principal and interest but no other fees or taxes. If pmt is omitted, you must include the fv argument.
3542
+ * @param {*} pv The present value — the total amount that a series of future payments is worth now.
3543
+ * @param {*} fv Optional. The future value, or a cash balance you want to attain after the last payment is made. If fv is omitted, it is assumed to be 0 (the future value of a loan, for example, is 0). If fv is omitted, you must include the pmt argument.
3544
+ * @param {*} type Optional. The number 0 or 1 and indicates when payments are due.
3545
+ * @param {*} guess Optional. Your guess for what the rate will be. If you omit guess, it is assumed to be 10 percent. If RATE does not converge, try different values for guess. RATE usually converges if guess is between 0 and 1.
3546
+ - If you omit guess, it is assumed to be 10 percent.
3547
+ - If RATE does not converge, try different values for guess. RATE usually converges if guess is between 0 and 1.
3548
+ * @returns
3549
+ */
3550
+ export function RATE(nper: any, pmt: any, pv: any, fv: any, type: any, guess: any): any;
3551
+ /**
3552
+ * Replaces characters within text
3553
+ *
3554
+ * Category: Text
3555
+ *
3556
+ * @param {*} old_text Text in which you want to replace some characters.
3557
+ * @param {*} num_chars The number of characters in old_text that you want REPLACE to replace with new_text.
3558
+ * @param {*} length he number of characters in old_text that you want REPLACEB to replace with new_text.
3559
+ * @param {*} new_text he text that will replace characters in old_text.
3560
+ * @returns
3561
+ */
3562
+ export function REPLACE(old_text: any, num_chars: any, length: any, new_text: any): string | Error;
3563
+ /**
3564
+ * Repeats text a given number of times.
3565
+ *
3566
+ * Category: Text
3567
+ *
3568
+ * @param {*} text The text you want to repeat.
3569
+ * @param {*} number_times A positive number specifying the number of times to repeat text.
3570
+ * @returns
3571
+ */
3572
+ export function REPT(text: any, number_times: any): any;
3573
+ /**
3574
+ * Returns the rightmost characters from a text value
3575
+ *
3576
+ * Category: Text
3577
+ *
3578
+ * @param {*} text The text string containing the characters you want to extract.
3579
+ * @param {*} num_chars Optional. Specifies the number of characters you want RIGHT to extract.
3580
+ * @returns
3581
+ */
3582
+ export function RIGHT(text: any, num_chars: any): any;
3583
+ /**
3584
+ * Converts an arabic numeral to roman, as text.
3585
+ *
3586
+ * Category: Math and trigonometry
3587
+ *
3588
+ * @param {*} number The Arabic numeral you want converted.
3589
+ * @returns
3590
+ */
3591
+ export function ROMAN(number: any): string | Error;
3592
+ export function ROTKI(): string;
3593
+ /**
3594
+ * Rounds a number to a specified number of digits.
3595
+ *
3596
+ * Category: Math and trigonometry
3597
+ *
3598
+ * @param {*} number The number that you want to round.
3599
+ * @param {*} num_digits The number of digits to which you want to round the number argument.
3600
+ * @returns
3601
+ */
3602
+ export function ROUND(number: any, num_digits: any): any;
3603
+ /**
3604
+ * Rounds a number down, toward zero.
3605
+ *
3606
+ * Category: Math and trigonometry
3607
+ *
3608
+ * @param {*} number Any real number that you want rounded down.
3609
+ * @param {*} num_digits The number of digits to which you want to round number.
3610
+ * @returns
3611
+ */
3612
+ export function ROUNDDOWN(number: any, num_digits: any): any;
3613
+ /**
3614
+ * Rounds a number up, away from zero.
3615
+ *
3616
+ * Category: Math and trigonometry
3617
+ *
3618
+ * @param {*} number Any real number that you want rounded up.
3619
+ * @param {*} num_digits The number of digits to which you want to round number.
3620
+ * @returns
3621
+ */
3622
+ export function ROUNDUP(number: any, num_digits: any): any;
3623
+ /**
3624
+ * Returns the row number of a reference.
3625
+ *
3626
+ * Category: Lookup and reference
3627
+ *
3628
+ * @param {*} reference the value or range of values for which you want the row number.
3629
+ * @param {*} index
3630
+ * @returns
3631
+ */
3632
+ export function ROW(reference: any, index: any, ...args: any[]): any;
3633
+ /**
3634
+ * Returns the number of rows in a reference.
3635
+ *
3636
+ * Category: Lookup and reference
3637
+ *
3638
+ * @param {*} array An array, an array formula, or a reference to a range of values for which you want the number of rows.
3639
+ * @returns
3640
+ */
3641
+ export function ROWS(array: any, ...args: any[]): any;
3642
+ /**
3643
+ * Returns an equivalent interest rate for the growth of an investment.
3644
+ *
3645
+ * Category: Financial
3646
+ *
3647
+ * @param {*} nper Nper is the number of periods for the investment.
3648
+ * @param {*} pv Pv is the present value of the investment.
3649
+ * @param {*} fv Fv is the future value of the investment.
3650
+ * @returns
3651
+ */
3652
+ export function RRI(nper: any, pv: any, fv: any): number | Error;
3653
+ /**
3654
+ * Returns the square of the Pearson product moment correlation coefficient.
3655
+ *
3656
+ * Category: Statistical
3657
+ *
3658
+ * @param {*} known_y An array or range of data points.
3659
+ * @param {*} known_x An array or range of data points.
3660
+ * @returns
3661
+ */
3662
+ export function RSQ(known_y: any, known_x: any): number | Error;
3663
+ export function SAFE(...args: any[]): Promise<any>;
3664
+ /**
3665
+ * Finds one text value within another (not case-sensitive)
3666
+ *
3667
+ * Category: Text
3668
+ *
3669
+ * @param {*} find_text The text that you want to find.
3670
+ * @param {*} within_text The text in which you want to search for the value of the find_text argument.
3671
+ * @param {*} start_num Optional. The character number in the within_text argument at which you want to start searching.
3672
+ * @returns
3673
+ */
3674
+ export function SEARCH(find_text: any, within_text: any, start_num: any): number | Error;
3675
+ /**
3676
+ * Returns the secant of an angle.
3677
+ *
3678
+ * Category: Math and trigonometry
3679
+ *
3680
+ * @param {*} number The angle in radians for which you want the secant.
3681
+ * @returns
3682
+ */
3683
+ export function SEC(number: any): number | Error;
3684
+ /**
3685
+ * Returns the hyperbolic secant of an angle.
3686
+ *
3687
+ * Category: Math and trigonometry
3688
+ *
3689
+ * @param {*} number The angle in radians for which you want the hyperbolic secant.
3690
+ * @returns
3691
+ */
3692
+ export function SECH(number: any): number | Error;
3693
+ /**
3694
+ * Converts a serial number to a second.
3695
+ *
3696
+ * Category: Date and time
3697
+ *
3698
+ * @param {*} serial_number The time that contains the seconds you want to find. Times may be entered as text strings within quotation marks (for example, "6:45 PM"), as decimal numbers (for example, 0.78125, which represents 6:45 PM), or as results of other formulas or functions (for example, TIMEVALUE("6:45 PM")).
3699
+ * @returns
3700
+ */
3701
+ export function SECOND(serial_number: any): any;
3702
+ /**
3703
+ * Returns the sum of a power series based on the formula.
3704
+ *
3705
+ * Category: Math and trigonometry
3706
+ *
3707
+ * @param {*} x The input value to the power series.
3708
+ * @param {*} n The initial power to which you want to raise x.
3709
+ * @param {*} m The step by which to increase n for each term in the series.
3710
+ * @param {*} coefficients A set of coefficients by which each successive power of x is multiplied. The number of values in coefficients determines the number of terms in the power series. For example, if there are three values in coefficients, then there will be three terms in the power series.
3711
+ * @returns
3712
+ */
3713
+ export function SERIESSUM(x: any, n: any, m: any, coefficients: any): number | Error;
3714
+ /**
3715
+ * Returns the sign of a number.
3716
+ *
3717
+ * Category: Math and trigonometry
3718
+ *
3719
+ * @param {*} number Any real number.
3720
+ * @returns
3721
+ */
3722
+ export function SIGN(number: any): Error | 0 | 1 | -1;
3723
+ /**
3724
+ * Returns the sine of the given angle.
3725
+ *
3726
+ * Category: Math and trigonometry
3727
+ *
3728
+ * @param {*} number The angle in radians for which you want the sine.
3729
+ * @returns
3730
+ */
3731
+ export function SIN(number: any): number | Error;
3732
+ /**
3733
+ * Returns the hyperbolic sine of a number.
3734
+ *
3735
+ * Category: Math and trigonometry
3736
+ *
3737
+ * @param {*} number Any real number.
3738
+ * @returns
3739
+ */
3740
+ export function SINH(number: any): number | Error;
3741
+ /**
3742
+ * Returns the skewness of a distribution.
3743
+ *
3744
+ * Category: Statistical
3745
+ *
3746
+ * @param {*} args number1, number2, ... Number1 is required, subsequent numbers are optional. 1 to 255 arguments for which you want to calculate skewness. You can also use a single array or a reference to an array instead of arguments separated by commas.
3747
+ * @returns
3748
+ */
3749
+ export function SKEW(...args: any[]): number | Error;
3750
+ export namespace SKEW {
3751
+ /**
3752
+ * Returns the skewness of a distribution based on a population.
3753
+ *
3754
+ * Category: Statistical
3755
+ *
3756
+ * @returns
3757
+ */
3758
+ function P(...args: any[]): number | Error;
3759
+ }
3760
+ /**
3761
+ * Returns the skewness of a distribution based on a population.
3762
+ *
3763
+ * Category: Statistical
3764
+ *
3765
+ * @returns
3766
+ */
3767
+ export function SKEWP(...args: any[]): number | Error;
3768
+ /**
3769
+ * Returns the straight-line depreciation of an asset for one period.
3770
+ *
3771
+ * Category: Financial
3772
+ *
3773
+ * @param {*} cost The initial cost of the asset.
3774
+ * @param {*} salvage The value at the end of the depreciation (sometimes called the salvage value of the asset).
3775
+ * @param {*} life The number of periods over which the asset is depreciated (sometimes called the useful life of the asset).
3776
+ * @returns
3777
+ */
3778
+ export function SLN(cost: any, salvage: any, life: any): number | Error;
3779
+ /**
3780
+ * Returns the slope of the linear regression line.
3781
+ *
3782
+ * Category: Statistical
3783
+ *
3784
+ * @param {*} known_y An array or value range of numeric dependent data points.
3785
+ * @param {*} known_x The set of independent data points.
3786
+ * @returns
3787
+ */
3788
+ export function SLOPE(known_y: any, known_x: any): number | Error;
3789
+ /**
3790
+ * Returns the k-th smallest value in a data set.
3791
+ *
3792
+ * Category: Statistical
3793
+ *
3794
+ * @param {*} array An array or range of numerical data for which you want to determine the k-th smallest value.
3795
+ * @param {*} k The position (from the smallest) in the array or range of data to return.
3796
+ * @returns
3797
+ */
3798
+ export function SMALL(array: any, k: any): any;
3799
+ export function SMARTCONTRACT(...args: any[]): Promise<any>;
3800
+ /**
3801
+ * Returns a sorted array of the elements in an array. The returned array is the same shape as the provided array argument.
3802
+ *
3803
+ * Category: Lookup and reference
3804
+ *
3805
+ * @param {*} array Array to sort
3806
+ * @param {*} sort_index Optional. A number indicating the row or column to sort by
3807
+ * @param {*} sort_order Optional. A number indicating the desired sort order; 1 for ascending order (default), -1 for descending order
3808
+ * @param {*} by_col Optional. A logical value indicating the desired sort direction; FALSE to sort by row (default), TRUE to sort by column
3809
+ * @returns
3810
+ */
3811
+ export function SORT(inputArray: any, sortIndex: number, isAscending: any, sortByColumn?: boolean): any;
3812
+ /**
3813
+ * Returns a positive square root.
3814
+ *
3815
+ * Category: Math and trigonometry
3816
+ *
3817
+ * @param {*} number The number for which you want the square root.
3818
+ * @returns
3819
+ */
3820
+ export function SQRT(number: any): number | Error;
3821
+ /**
3822
+ * Returns the square root of (number * pi).
3823
+ *
3824
+ * Category: Math and trigonometry
3825
+ *
3826
+ * @param {*} number The number by which pi is multiplied.
3827
+ * @returns
3828
+ */
3829
+ export function SQRTPI(number: any): number | Error;
3830
+ /**
3831
+ * Returns a normalized value.
3832
+ *
3833
+ * Category: Statistical
3834
+ *
3835
+ * @param {*} x The value you want to normalize.
3836
+ * @param {*} mean The arithmetic mean of the distribution.
3837
+ * @param {*} standard_dev The standard deviation of the distribution.
3838
+ * @returns
3839
+ */
3840
+ export function STANDARDIZE(x: any, mean: any, standard_dev: any): number | Error;
3841
+ export namespace STDEV {
3842
+ /**
3843
+ * Calculates standard deviation based on the entire population.
3844
+ *
3845
+ * Category: Statistical
3846
+ *
3847
+ * @param {*} args number1, number2, ... Number arguments 2 to 254 corresponding to a population. You can also use a single array or a reference to an array instead of arguments separated by commas.
3848
+ * @returns
3849
+ */
3850
+ function P(...args: any[]): number;
3851
+ /**
3852
+ * Estimates standard deviation based on a sample.
3853
+ *
3854
+ * Category: Statistical
3855
+ *
3856
+ * @param {*} args number1, number2, ... Number arguments 2 to 254 corresponding to a sample of a population. You can also use a single array or a reference to an array instead of arguments separated by commas.
3857
+ * @returns
3858
+ */
3859
+ function S(...args: any[]): number;
3860
+ }
3861
+ /**
3862
+ * Estimates standard deviation based on a sample, including numbers, text, and logical values.
3863
+ *
3864
+ * Category: Statistical
3865
+ *
3866
+ * @param {*} args value1, value2, ... Value1 is required, subsequent values are optional. 1 to 255 values corresponding to a sample of a population. You can also use a single array or a reference to an array instead of arguments separated by commas.
3867
+ * @returns
3868
+ */
3869
+ export function STDEVA(...args: any[]): number;
3870
+ /**
3871
+ * Calculates standard deviation based on the entire population.
3872
+ *
3873
+ * Category: Statistical
3874
+ *
3875
+ * @param {*} args number1, number2, ... Number arguments 2 to 254 corresponding to a population. You can also use a single array or a reference to an array instead of arguments separated by commas.
3876
+ * @returns
3877
+ */
3878
+ export function STDEVP(...args: any[]): number;
3879
+ /**
3880
+ * Calculates standard deviation based on the entire population, including numbers, text, and logical values.
3881
+ *
3882
+ * Category: Statistical
3883
+ *
3884
+ * @param {*} args value1, value2, ... Value1 is required, subsequent values are optional. 1 to 255 values corresponding to a population. You can also use a single array or a reference to an array instead of arguments separated by commas.
3885
+ * @returns
3886
+ */
3887
+ export function STDEVPA(...args: any[]): number;
3888
+ /**
3889
+ * Estimates standard deviation based on a sample.
3890
+ *
3891
+ * Category: Statistical
3892
+ *
3893
+ * @param {*} args number1, number2, ... Number arguments 2 to 254 corresponding to a sample of a population. You can also use a single array or a reference to an array instead of arguments separated by commas.
3894
+ * @returns
3895
+ */
3896
+ export function STDEVS(...args: any[]): number;
3897
+ /**
3898
+ * Returns the standard error of the predicted y-value for each x in the regression.
3899
+ *
3900
+ * Category: Statistical
3901
+ *
3902
+ * @param {*} known_y An array or range of dependent data points.
3903
+ * @param {*} known_x An array or range of independent data points.
3904
+ * @returns
3905
+ */
3906
+ export function STEYX(known_y: any, known_x: any): number | Error;
3907
+ /**
3908
+ * Substitutes new text for old text in a text string.
3909
+ *
3910
+ * Category: Text
3911
+ *
3912
+ * @param {*} text The text or the reference to a value containing text for which you want to substitute characters.
3913
+ * @param {*} old_text The text you want to replace.
3914
+ * @param {*} new_text The text you want to replace old_text with.
3915
+ * @param {*} instance_num Optional. Specifies which occurrence of old_text you want to replace with new_text. If you specify instance_num, only that instance of old_text is replaced. Otherwise, every occurrence of old_text in text is changed to new_text.
3916
+ * @returns
3917
+ */
3918
+ export function SUBSTITUTE(text: any, old_text: any, new_text: any, instance_num: any, ...args: any[]): any;
3919
+ /**
3920
+ * Returns a subtotal in a list or database.
3921
+ *
3922
+ * Category: Math and trigonometry
3923
+ *
3924
+ * @param {*} function_num The number 1-11 or 101-111 that specifies the function to use for the subtotal. 1-11 includes manually-hidden rows, while 101-111 excludes them; filtered-out values are always excluded.
3925
+ * @param {*} ref1 The first named range or reference for which you want the subtotal.
3926
+ * @returns
3927
+ */
3928
+ export function SUBTOTAL(function_num: any, ref1: any): any;
3929
+ /**
3930
+ * Adds its arguments.
3931
+ *
3932
+ * Category: Math and trigonometry
3933
+ *
3934
+ * @returns
3935
+ */
3936
+ export function SUM(...args: any[]): number;
3937
+ /**
3938
+ * Adds the values specified by a given criteria.
3939
+ *
3940
+ * Category: Math and trigonometry
3941
+ *
3942
+ * @param {*} range The range of values that you want evaluated by criteria. Cells in each range must be numbers or names, arrays, or references that contain numbers. Blank and text values are ignored.
3943
+ * @param {*} criteria The criteria in the form of a number, expression, a value reference, text, or a function that defines which values will be added.
3944
+ * @param {*} sum_range Optional. The actual values to add, if you want to add values other than those specified in the range argument. If the sum_range argument is omitted, Excel adds the values that are specified in the range argument (the same values to which the criteria is applied). Sum_range should be the same size and shape as range. If it isn't, performance may suffer, and the formula will sum a range of values that starts with the first value in sum_range but has the same dimensions as range.
3945
+ * @returns
3946
+ */
3947
+ export function SUMIF(range: any, criteria: any, sum_range: any): number | Error;
3948
+ /**
3949
+ * Adds the values in a range that meet multiple criteria.
3950
+ *
3951
+ * Category: Math and trigonometry
3952
+ *
3953
+ * @returns
3954
+ */
3955
+ export function SUMIFS(...args: any[]): number;
3956
+ /**
3957
+ * Returns the sum of the products of corresponding array components.
3958
+ *
3959
+ * Category: Math and trigonometry
3960
+ *
3961
+ * @returns
3962
+ */
3963
+ export function SUMPRODUCT(...args: any[]): number | Error;
3964
+ /**
3965
+ * Returns the sum of the squares of the arguments.
3966
+ *
3967
+ * Category: Math and trigonometry
3968
+ *
3969
+ * @param {*} args number1, number2, ... Number1 is required, subsequent numbers are optional. 1 to 255 arguments for which you want the sum of the squares. You can also use a single array or a reference to an array instead of arguments separated by commas.
3970
+ * @returns
3971
+ */
3972
+ export function SUMSQ(...args: any[]): number | Error;
3973
+ /**
3974
+ * Returns the sum of the difference of squares of corresponding values in two arrays.
3975
+ *
3976
+ * Category: Math and trigonometry
3977
+ *
3978
+ * @param {*} array_x The first array or range of values.
3979
+ * @param {*} array_y The second array or range of values.
3980
+ * @returns
3981
+ */
3982
+ export function SUMX2MY2(array_x: any, array_y: any): number | Error;
3983
+ /**
3984
+ * Returns the sum of the sum of squares of corresponding values in two arrays.
3985
+ *
3986
+ * Category: Math and trigonometry
3987
+ *
3988
+ * @param {*} array_x The first array or range of values.
3989
+ * @param {*} array_y The second array or range of values.
3990
+ * @returns
3991
+ */
3992
+ export function SUMX2PY2(array_x: any, array_y: any): number | Error;
3993
+ /**
3994
+ * Returns the sum of squares of differences of corresponding values in two arrays.
3995
+ *
3996
+ * Category: Math and trigonometry
3997
+ *
3998
+ * @param {*} array_x The first array or range of values.
3999
+ * @param {*} array_y The second array or range of values.
4000
+ * @returns
4001
+ */
4002
+ export function SUMXMY2(array_x: any, array_y: any): number | Error;
4003
+ /**
4004
+ * 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 may be returned.
4005
+ *
4006
+ * Category: Logical
4007
+ *
4008
+ * @returns
4009
+ */
4010
+ export function SWITCH(...args: any[]): any;
4011
+ /**
4012
+ * Returns the sum-of-years' digits depreciation of an asset for a specified period.
4013
+ *
4014
+ * Category: Financial
4015
+ *
4016
+ * @param {*} cost The initial cost of the asset.
4017
+ * @param {*} salvage The value at the end of the depreciation (sometimes called the salvage value of the asset).
4018
+ * @param {*} life The number of periods over which the asset is depreciated (sometimes called the useful life of the asset).
4019
+ * @param {*} per The period and must use the same units as life.
4020
+ * @returns
4021
+ */
4022
+ export function SYD(cost: any, salvage: any, life: any, per: any): number | Error;
4023
+ /**
4024
+ * Converts its arguments to text.
4025
+ *
4026
+ * Category: Text
4027
+ *
4028
+ * @param {*} value The value you want to test.
4029
+ * @returns
4030
+ */
4031
+ export function T(value: any): string | Error;
4032
+ export namespace T {
4033
+ /**
4034
+ * Returns the Percentage Points (probability) for the Student t-distribution.
4035
+ *
4036
+ * Category: Statistical
4037
+ *
4038
+ * @param {*} x The numeric value at which to evaluate the distribution
4039
+ * @param {*} deg_freedom An integer indicating the number of degrees of freedom.
4040
+ * @param {*} cumulative A logical value that determines the form of the function. If cumulative is TRUE, T.DIST returns the cumulative distribution function; if FALSE, it returns the probability density function.
4041
+ * @returns
4042
+ */
4043
+ function DIST(x: any, deg_freedom: any, cumulative: any): number | Error;
4044
+ namespace DIST {
4045
+ /**
4046
+ * Returns the Student's t-distribution.
4047
+ *
4048
+ * Category: Statistical
4049
+ *
4050
+ * @param {*} x The numeric value at which to evaluate the distribution.
4051
+ * @param {*} deg_freedom An integer indicating the number of degrees of freedom.
4052
+ * @returns
4053
+ */
4054
+ function RT(x: any, deg_freedom: any, ...args: any[]): number | Error;
4055
+ }
4056
+ /**
4057
+ * Returns the t-value of the Student's t-distribution as a function of the probability and the degrees of freedom.
4058
+ *
4059
+ * Category: Statistical
4060
+ *
4061
+ * @param {*} probability The probability associated with the Student's t-distribution.
4062
+ * @param {*} deg_freedom The number of degrees of freedom with which to characterize the distribution.
4063
+ * @returns
4064
+ */
4065
+ function INV(probability: any, deg_freedom: any): any;
4066
+ /**
4067
+ * Returns the probability associated with a Student's t-test.
4068
+ *
4069
+ * Category: Statistical
4070
+ *
4071
+ * @param {*} array1 The first data set.
4072
+ * @param {*} array2 The second data set.
4073
+ * @returns
4074
+ */
4075
+ function TEST(array1: any, array2: any): number | Error;
4076
+ }
4077
+ export function TALLY(...args: any[]): Promise<any>;
4078
+ /**
4079
+ * Returns the tangent of a number.
4080
+ *
4081
+ * Category: Math and trigonometry
4082
+ *
4083
+ * @param {*} number The angle in radians for which you want the tangent.
4084
+ * @returns
4085
+ */
4086
+ export function TAN(number: any): number | Error;
4087
+ /**
4088
+ * Returns the hyperbolic tangent of a number.
4089
+ *
4090
+ * Category: Math and trigonometry
4091
+ *
4092
+ * @param {*} number Any real number.
4093
+ * @returns
4094
+ */
4095
+ export function TANH(number: any): number | Error;
4096
+ /**
4097
+ * Returns the bond-equivalent yield for a Treasury bill.
4098
+ *
4099
+ * Category: Financial
4100
+ *
4101
+ * @param {*} settlement The Treasury bill's settlement date. The security settlement date is the date after the issue date when the Treasury bill is traded to the buyer.
4102
+ * @param {*} maturity The Treasury bill's maturity date. The maturity date is the date when the Treasury bill expires.
4103
+ * @param {*} discount The Treasury bill's discount rate.
4104
+ * @returns
4105
+ */
4106
+ export function TBILLEQ(settlement: any, maturity: any, discount: any): number | Error;
4107
+ /**
4108
+ * Returns the price per $100 face value for a Treasury bill.
4109
+ *
4110
+ * Category: Financial
4111
+ *
4112
+ * @param {*} settlement The Treasury bill's settlement date. The security settlement date is the date after the issue date when the Treasury bill is traded to the buyer.
4113
+ * @param {*} maturity The Treasury bill's maturity date. The maturity date is the date when the Treasury bill expires.
4114
+ * @param {*} discount The Treasury bill's discount rate.
4115
+ * @returns
4116
+ */
4117
+ export function TBILLPRICE(settlement: any, maturity: any, discount: any): number | Error;
4118
+ /**
4119
+ * Returns the yield for a Treasury bill.
4120
+ *
4121
+ * Category: Financial
4122
+ *
4123
+ * @param {*} settlement The Treasury bill's settlement date. The security settlement date is the date after the issue date when the Treasury bill is traded to the buyer.
4124
+ * @param {*} maturity The Treasury bill's maturity date. The maturity date is the date when the Treasury bill expires.
4125
+ * @param {*} pr The Treasury bill's price per $100 face value.
4126
+ * @returns
4127
+ */
4128
+ export function TBILLYIELD(settlement: any, maturity: any, pr: any): number | Error;
4129
+ /**
4130
+ * Returns the Percentage Points (probability) for the Student t-distribution.
4131
+ *
4132
+ * Category: Statistical
4133
+ *
4134
+ * @param {*} x The numeric value at which to evaluate the distribution
4135
+ * @param {*} deg_freedom An integer indicating the number of degrees of freedom.
4136
+ * @param {*} cumulative A logical value that determines the form of the function. If cumulative is TRUE, T.DIST returns the cumulative distribution function; if FALSE, it returns the probability density function.
4137
+ * @returns
4138
+ */
4139
+ export function TDIST(x: any, deg_freedom: any, cumulative: any): number | Error;
4140
+ export namespace TDIST {
4141
+ /**
4142
+ * Returns the Percentage Points (probability) for the Student t-distribution
4143
+ *
4144
+ * Category: Statistical
4145
+ *
4146
+ * @param {*} x The numeric value at which to evaluate the distribution.
4147
+ * @param {*} deg_freedom An integer indicating the number of degrees of freedom.
4148
+ * @returns
4149
+ */
4150
+ function _2T(x: any, deg_freedom: any, ...args: any[]): number | Error;
4151
+ }
4152
+ /**
4153
+ * Returns the Student's t-distribution.
4154
+ *
4155
+ * Category: Statistical
4156
+ *
4157
+ * @param {*} x The numeric value at which to evaluate the distribution.
4158
+ * @param {*} deg_freedom An integer indicating the number of degrees of freedom.
4159
+ * @returns
4160
+ */
4161
+ export function TDISTRT(x: any, deg_freedom: any, ...args: any[]): number | Error;
4162
+ /**
4163
+ * Formats a number and converts it to text.
4164
+ *
4165
+ * Category: Text
4166
+ *
4167
+ * @param {*} value A numeric value that you want to be converted into text.
4168
+ * @param {*} format_text A text string that defines the formatting that you want to be applied to the supplied value.
4169
+ * @returns
4170
+ */
4171
+ export function TEXT(value$1: any, format_text: any): any;
4172
+ /**
4173
+ * Combines the text from multiple ranges and/or strings.
4174
+ *
4175
+ * Category: Text
4176
+ * @param {*} delimiter A text string, either empty, or one or more characters enclosed by double quotes, or a reference to a valid text string. If a number is supplied, it will be treated as text.
4177
+ * @param {*} ignore_empty If TRUE, ignores empty values.
4178
+ * @param {*} args Text item to be joined. A text string, or array of strings, such as a range of values.
4179
+ * @returns
4180
+ */
4181
+ export function TEXTJOIN(delimiter: any, ignore_empty: any, ...args: any): any;
4182
+ /**
4183
+ * Returns the serial number of a particular time.
4184
+ *
4185
+ * Category: Date and time
4186
+ *
4187
+ * @param {*} hour A number from 0 (zero) to 32767 representing the hour. Any value greater than 23 will be divided by 24 and the remainder will be treated as the hour value. For example, TIME(27,0,0) = TIME(3,0,0) = .125 or 3:00 AM.
4188
+ * @param {*} minute A number from 0 to 32767 representing the minute. Any value greater than 59 will be converted to hours and minutes. For example, TIME(0,750,0) = TIME(12,30,0) = .520833 or 12:30 PM.
4189
+ * @param {*} second A number from 0 to 32767 representing the second. Any value greater than 59 will be converted to hours, minutes, and seconds. For example, TIME(0,0,2000) = TIME(0,33,22) = .023148 or 12:33:20 AM
4190
+ * @returns
4191
+ */
4192
+ export function TIME(hour: any, minute: any, second: any): string | Error;
4193
+ /**
4194
+ * Converts a time in the form of text to a serial number.
4195
+ *
4196
+ * Category: Date and time
4197
+ *
4198
+ * @param {*} time_text A text string that represents a time in any one of the Microsoft Excel time formats; for example, "6:45 PM" and "18:45" text strings within quotation marks that represent time.
4199
+ * @returns
4200
+ */
4201
+ export function TIMEVALUE(time_text: any): number | Error;
4202
+ /**
4203
+ * Returns the t-value of the Student's t-distribution as a function of the probability and the degrees of freedom.
4204
+ *
4205
+ * Category: Statistical
4206
+ *
4207
+ * @param {*} probability The probability associated with the Student's t-distribution.
4208
+ * @param {*} deg_freedom The number of degrees of freedom with which to characterize the distribution.
4209
+ * @returns
4210
+ */
4211
+ export function TINV(probability: any, deg_freedom: any): any;
4212
+ export namespace TINV {
4213
+ /**
4214
+ * Returns the inverse of the Student's t-distribution
4215
+ *
4216
+ * Category: Statistical
4217
+ *
4218
+ * @param {*} probability The probability associated with the Student's t-distribution.
4219
+ * @param {*} deg_freedom The number of degrees of freedom with which to characterize the distribution.
4220
+ * @returns
4221
+ */
4222
+ function _2T(probability: any, deg_freedom: any): number | Error;
4223
+ }
4224
+ /**
4225
+ * Returns the serial number of today's date.
4226
+ *
4227
+ * Category: Date and time
4228
+ *
4229
+ * @returns
4230
+ */
4231
+ export function TODAY(): string;
4232
+ /**
4233
+ * Returns the transpose of an array.
4234
+ *
4235
+ * Category: Lookup and reference
4236
+ *
4237
+ * @param {*} array An array or range of values on a worksheet that you want to transpose. The transpose of an array is created by using the first row of the array as the first column of the new array, the second row of the array as the second column of the new array, and so on. If you're not sure of how to enter an array formula, see Create an array formula.
4238
+ * @returns
4239
+ */
4240
+ export function TRANSPOSE(array: any): any;
4241
+ /**
4242
+ * Returns values along a linear trend.
4243
+ *
4244
+ * Category: Statistical
4245
+ *
4246
+ * @param {*} known_ys The set of y-values you already know in the relationship y = mx + b
4247
+ * @param {*} known_xs An optional set of x-values that you may already know in the relationship y = mx + b
4248
+ * @param {*} new_xs Optional. New x-values for which you want TREND to return corresponding y-values.
4249
+ * @returns
4250
+ */
4251
+ export function TREND(known_ys: any, known_xs: any, new_xs: any): any[] | Error;
4252
+ /**
4253
+ * Removes spaces from text.
4254
+ *
4255
+ * Category: Text
4256
+ *
4257
+ * @param {*} text The text from which you want spaces removed.
4258
+ * @returns
4259
+ */
4260
+ export function TRIM(text: any): any;
4261
+ /**
4262
+ * Returns the mean of the interior of a data set.
4263
+ *
4264
+ * Category: Statistical
4265
+ *
4266
+ * @param {*} array The array or range of values to trim and average.
4267
+ * @param {*} percent The fractional number of data points to exclude from the calculation. For example, if percent = 0.2, 4 points are trimmed from a data set of 20 points (20 x 0.2): 2 from the top and 2 from the bottom of the set.
4268
+ * @returns
4269
+ */
4270
+ export function TRIMMEAN(range: any, percent: any): any;
4271
+ /**
4272
+ * Returns the logical value TRUE.
4273
+ *
4274
+ * Category: Logical
4275
+ *
4276
+ * @returns
4277
+ */
4278
+ export function TRUE(): boolean;
4279
+ /**
4280
+ * Truncates a number to an integer.
4281
+ *
4282
+ * Category: Math and trigonometry
4283
+ *
4284
+ * @param {*} number The number you want to truncate.
4285
+ * @param {*} num_digits Optional. A number specifying the precision of the truncation. The default value for num_digits is 0 (zero).
4286
+ * @returns
4287
+ */
4288
+ export function TRUNC(number: any, num_digits: any): any;
4289
+ /**
4290
+ * Returns the probability associated with a Student's t-test.
4291
+ *
4292
+ * Category: Statistical
4293
+ *
4294
+ * @param {*} array1 The first data set.
4295
+ * @param {*} array2 The second data set.
4296
+ * @returns
4297
+ */
4298
+ export function TTEST(array1: any, array2: any): number | Error;
4299
+ /**
4300
+ * Returns a number indicating the data type of a value.
4301
+ *
4302
+ * Category: Information
4303
+ *
4304
+ * @param {*} value Can be any Microsoft Excel value, such as a number, text, logical value, and so on.
4305
+ * @returns
4306
+ */
4307
+ export function TYPE(value: any): 1 | 2 | 4 | 16 | 64;
4308
+ /**
4309
+ * Returns the character specified by the code number.
4310
+ *
4311
+ * Category: Text
4312
+ *
4313
+ * @param {*} number A number between 1 and 255 specifying which character you want. The character is from the character set used by your computer. Note: Excel for the web supports only CHAR(9), CHAR(10), CHAR(13), and CHAR(32) and above.
4314
+ * @returns
4315
+ */
4316
+ export function UNICHAR(number: any): string | Error;
4317
+ /**
4318
+ * Returns a numeric code for the first character in a text string.
4319
+ *
4320
+ * Category: Text
4321
+ *
4322
+ * @param {*} text The text for which you want the code of the first character.
4323
+ * @returns
4324
+ */
4325
+ export function UNICODE(text: any): any;
4326
+ /**
4327
+ * Returns a list of unique values in a list or range.
4328
+ *
4329
+ * Category: Lookup and reference
4330
+ *
4331
+ * @returns
4332
+ */
4333
+ export function UNIQUE(...args: any[]): any[];
4334
+ export function UNISWAP(...args: any[]): Promise<any>;
4335
+ /**
4336
+ * Converts text to uppercase.
4337
+ *
4338
+ * Category: Text
4339
+ *
4340
+ * @param {*} text The text you want converted to uppercase. Text can be a reference or text string.
4341
+ * @returns
4342
+ */
4343
+ export function UPPER(text: any): any;
4344
+ /**
4345
+ * Converts a text argument to a number.
4346
+ *
4347
+ * Category: Text
4348
+ *
4349
+ * @param {*} text The text enclosed in quotation marks or a reference to a value containing the text you want to convert.
4350
+ * @returns
4351
+ */
4352
+ export function VALUE(text: any): any;
4353
+ export namespace VAR {
4354
+ /**
4355
+ * Calculates variance based on the entire population.
4356
+ *
4357
+ * Category: Statistical
4358
+ *
4359
+ * @param {*} args number1, number2, ... Number arguments 2 to 254 corresponding to a population.
4360
+ * @returns
4361
+ */
4362
+ function P(...args: any[]): number | Error;
4363
+ /**
4364
+ * Estimates variance based on a sample.
4365
+ *
4366
+ * Category: Statistical
4367
+ *
4368
+ * @param {*} args number1, number2, ... Number arguments 2 to 254 corresponding to a sample of a population.
4369
+ * @returns
4370
+ */
4371
+ function S(...args: any[]): number;
4372
+ }
4373
+ /**
4374
+ * Estimates variance based on a sample, including numbers, text, and logical values.
4375
+ *
4376
+ * Category: Statistical
4377
+ *
4378
+ * @param {*} args value1, value2, ... Value1 is required, subsequent values are optional. 1 to 255 value arguments corresponding to a sample of a population.
4379
+ * @returns
4380
+ */
4381
+ export function VARA(...args: any[]): number;
4382
+ /**
4383
+ * Calculates variance based on the entire population.
4384
+ *
4385
+ * Category: Statistical
4386
+ *
4387
+ * @param {*} args number1, number2, ... Number arguments 2 to 254 corresponding to a population.
4388
+ * @returns
4389
+ */
4390
+ export function VARP(...args: any[]): number | Error;
4391
+ /**
4392
+ * Calculates variance based on the entire population, including numbers, text, and logical values.
4393
+ *
4394
+ * Category: Statistical
4395
+ *
4396
+ * @param {*} args value1, value2, ... Value1 is required, subsequent values are optional. 1 to 255 value arguments corresponding to a population.
4397
+ * @returns
4398
+ */
4399
+ export function VARPA(...args: any[]): number | Error;
4400
+ /**
4401
+ * Estimates variance based on a sample.
4402
+ *
4403
+ * Category: Statistical
4404
+ *
4405
+ * @param {*} args number1, number2, ... Number arguments 2 to 254 corresponding to a sample of a population.
4406
+ * @returns
4407
+ */
4408
+ export function VARS(...args: any[]): number;
4409
+ /**
4410
+ * Looks in the first column of an array and moves across the row to return the value of a value.
4411
+ *
4412
+ * Category: Lookup and reference
4413
+ *
4414
+ * @param {*} lookup_value The value to be found in the first row of the table. Lookup_value can be a value, a reference, or a text string.
4415
+ * @param {*} table_array A table of information in which data is looked up. Use a reference to a range or a range name.
4416
+ * @param {*} col_index_num The row number in table_array from which the matching value will be returned. A row_index_num of 1 returns the first row value in table_array, a row_index_num of 2 returns the second row value in table_array, and so on. If row_index_num is less than 1, HLOOKUP returns the #VALUE! error value; if row_index_num is greater than the number of rows on table_array, HLOOKUP returns the #REF! error value.
4417
+ * @param {*} range_lookup Optional. A logical value that specifies whether you want HLOOKUP to find an exact match or an approximate match. If TRUE or omitted, an approximate match is returned. In other words, if an exact match is not found, the next largest value that is less than lookup_value is returned. If FALSE, HLOOKUP will find an exact match. If one is not found, the error value #N/A is returned.
4418
+ * @returns
4419
+ */
4420
+ export function VLOOKUP(lookup_value: any, table_array: any, col_index_num: any, range_lookup: any): Error;
4421
+ export function WALLET(...args: any[]): Promise<any>;
4422
+ /**
4423
+ * Converts a serial number to a day of the week.
4424
+ *
4425
+ * Category: Date and time
4426
+ *
4427
+ * @param {*} serial_number A sequential number that represents the date of the day you are trying to find.
4428
+ * @param {*} return_type Optional. A number that determines the type of return value.
4429
+ * @returns
4430
+ */
4431
+ export function WEEKDAY(serial_number: any, return_type: any): number | Error;
4432
+ /**
4433
+ * Converts a serial number to a number representing where the week falls numerically with a year.
4434
+ *
4435
+ * Category: Date and time
4436
+ *
4437
+ * @param {*} serial_number A date within the week.
4438
+ * @param {*} return_type Optional. A number that determines on which day the week begins. The default is 1.
4439
+ * @returns
4440
+ */
4441
+ export function WEEKNUM(serial_number: any, return_type: any): number | Error;
4442
+ export namespace WEIBULL {
4443
+ /**
4444
+ * Returns the Weibull distribution.
4445
+ *
4446
+ * Category: Statistical
4447
+ *
4448
+ * @param {*} x The value at which to evaluate the function.
4449
+ * @param {*} alpha A parameter to the distribution.
4450
+ * @param {*} beta A parameter to the distribution.
4451
+ * @param {*} cumulative Determines the form of the function.
4452
+ * @returns
4453
+ */
4454
+ function DIST(x: any, alpha: any, beta: any, cumulative: any): number | Error;
4455
+ }
4456
+ /**
4457
+ * Returns the Weibull distribution.
4458
+ *
4459
+ * Category: Statistical
4460
+ *
4461
+ * @param {*} x The value at which to evaluate the function.
4462
+ * @param {*} alpha A parameter to the distribution.
4463
+ * @param {*} beta A parameter to the distribution.
4464
+ * @param {*} cumulative Determines the form of the function.
4465
+ * @returns
4466
+ */
4467
+ export function WEIBULLDIST(x: any, alpha: any, beta: any, cumulative: any): number | Error;
4468
+ /**
4469
+ * Returns the serial number of the date before or after a specified number of workdays.
4470
+ *
4471
+ * Category: Date and time
4472
+ *
4473
+ * @param {*} start_date A date that represents the start date.
4474
+ * @param {*} days The number of nonweekend and nonholiday days before or after start_date. A positive value for days yields a future date; a negative value yields a past date.
4475
+ * @param {*} holidays Optional. An optional list of one or more dates to exclude from the working calendar, such as state and federal holidays and floating holidays. The list can be either a range of values that contain the dates or an array constant of the serial numbers that represent the dates.
4476
+ * @returns
4477
+ */
4478
+ export function WORKDAY(start_date: any, days: any, holidays: any): string | Error;
4479
+ export namespace WORKDAY {
4480
+ /**
4481
+ * Returns the serial number of the date before or after a specified number of workdays using parameters to indicate which and how many days are weekend days.
4482
+ *
4483
+ * Category: Date and time
4484
+ *
4485
+ * @param {*} start_date The start date, truncated to integer.
4486
+ * @param {*} days The number of workdays before or after the start_date. A positive value yields a future date; a negative value yields a past date; a zero value yields the start_date. Day-offset is truncated to an integer.
4487
+ * @param {*} weekend Optional. Indicates the days of the week that are weekend days and are not considered working days. Weekend is a weekend number or string that specifies when weekends occur. Weekend number values indicate the following weekend days:
4488
+ * @param {*} holidays Optional. An optional set of one or more dates that are to be excluded from the working day calendar. Holidays shall be a range of values that contain the dates, or an array constant of the serial values that represent those dates. The ordering of dates or serial values in holidays can be arbitrary.
4489
+ * @returns
4490
+ */
4491
+ function INTL(start_date: any, days: any, weekend: any, holidays: any): string | Error;
4492
+ }
4493
+ /**
4494
+ * Returns the serial number of the date before or after a specified number of workdays using parameters to indicate which and how many days are weekend days.
4495
+ *
4496
+ * Category: Date and time
4497
+ *
4498
+ * @param {*} start_date The start date, truncated to integer.
4499
+ * @param {*} days The number of workdays before or after the start_date. A positive value yields a future date; a negative value yields a past date; a zero value yields the start_date. Day-offset is truncated to an integer.
4500
+ * @param {*} weekend Optional. Indicates the days of the week that are weekend days and are not considered working days. Weekend is a weekend number or string that specifies when weekends occur. Weekend number values indicate the following weekend days:
4501
+ * @param {*} holidays Optional. An optional set of one or more dates that are to be excluded from the working day calendar. Holidays shall be a range of values that contain the dates, or an array constant of the serial values that represent those dates. The ordering of dates or serial values in holidays can be arbitrary.
4502
+ * @returns
4503
+ */
4504
+ export function WORKDAYINTL(start_date: any, days: any, weekend: any, holidays: any): string | Error;
4505
+ /**
4506
+ * Returns the serial number of the date before or after a specified number of workdays using parameters to indicate which and how many days are weekend days.
4507
+ *
4508
+ * Category: Date and time
4509
+ *
4510
+ * @param {*} start_date The start date, truncated to integer.
4511
+ * @param {*} days The number of workdays before or after the start_date. A positive value yields a future date; a negative value yields a past date; a zero value yields the start_date. Day-offset is truncated to an integer.
4512
+ * @param {*} weekend Optional. Indicates the days of the week that are weekend days and are not considered working days. Weekend is a weekend number or string that specifies when weekends occur. Weekend number values indicate the following weekend days:
4513
+ * @param {*} holidays Optional. An optional set of one or more dates that are to be excluded from the working day calendar. Holidays shall be a range of values that contain the dates, or an array constant of the serial values that represent those dates. The ordering of dates or serial values in holidays can be arbitrary.
4514
+ * @returns
4515
+ */
4516
+ export function WORKDAY_INTL(start_date: any, days: any, weekend: any, holidays: any): string | Error;
4517
+ /**
4518
+ * Returns the internal rate of return for a schedule of cash flows that is not necessarily periodic.
4519
+ *
4520
+ * Category: Financial
4521
+ *
4522
+ * @param {*} values A series of cash flows that corresponds to a schedule of payments in dates. The first payment is optional and corresponds to a cost or payment that occurs at the beginning of the investment. If the first value is a cost or payment, it must be a negative value. All succeeding payments are discounted based on a 365-day year. The series of values must contain at least one positive and one negative value.
4523
+ * @param {*} dates A schedule of payment dates that corresponds to the cash flow payments. Dates may occur in any order. Dates should be entered by using the DATE function, or as results of other formulas or functions. For example, use DATE(2008,5,23) for the 23rd day of May, 2008. Problems can occur if dates are entered as text. .
4524
+ * @param {*} guess Optional. A number that you guess is close to the result of XIRR.
4525
+ * @returns
4526
+ */
4527
+ export function XIRR(values: any, dates: any, guess: any): any;
4528
+ export function XLOOKUP(search_key: any, lookup_range: any, result_range: any, isColV: any, missing_value: any, match_mode: any, search_mode: any): any;
4529
+ /**
4530
+ * Returns the net present value for a schedule of cash flows that is not necessarily periodic.
4531
+ *
4532
+ * Category: Financial
4533
+ *
4534
+ * @param {*} rate The discount rate to apply to the cash flows.
4535
+ * @param {*} values A series of cash flows that corresponds to a schedule of payments in dates. The first payment is optional and corresponds to a cost or payment that occurs at the beginning of the investment. If the first value is a cost or payment, it must be a negative value. All succeeding payments are discounted based on a 365-day year. The series of values must contain at least one positive value and one negative value.
4536
+ * @param {*} dates A schedule of payment dates that corresponds to the cash flow payments. The first payment date indicates the beginning of the schedule of payments. All other dates must be later than this date, but they may occur in any order.
4537
+ * @returns
4538
+ */
4539
+ export function XNPV(rate: any, values: any, dates: any): number | Error;
4540
+ /**
4541
+ * Returns a logical exclusive OR of all arguments.
4542
+ *
4543
+ * Category: Logical
4544
+ *
4545
+ * @param {*} args logical1, logical2,… Logical 1 is required, subsequent logical values are optional. 1 to 254 conditions you want to test that can be either TRUE or FALSE, and can be logical values, arrays, or references.
4546
+ * @returns
4547
+ */
4548
+ export function XOR(...args: any[]): any;
4549
+ /**
4550
+ * Converts a serial number to a year.
4551
+ *
4552
+ * Category: Date and time
4553
+ *
4554
+ * @param {*} serial_number The date of the year you want to find.
4555
+ * @returns
4556
+ */
4557
+ export function YEAR(serial_number: any): any;
4558
+ /**
4559
+ * Returns the year fraction representing the number of whole days between start_date and end_date.
4560
+ *
4561
+ * Category: Date and time
4562
+ *
4563
+ * @param {*} start_date A date that represents the start date.
4564
+ * @param {*} end_date A date that represents the end date.
4565
+ * @param {*} basis Optional. The type of day count basis to use.
4566
+ * @returns
4567
+ */
4568
+ export function YEARFRAC(start_date: any, end_date: any, basis: any): number | Error;
4569
+ export function YIELD(...args: any[]): Promise<any>;
4570
+ export namespace Z {
4571
+ /**
4572
+ * Returns the one-tailed probability-value of a z-test.
4573
+ *
4574
+ * Category: Statistical
4575
+ *
4576
+ * @param {*} array The array or range of data against which to test x.
4577
+ * @param {*} x The value to test.
4578
+ * @param {*} sigma Optional. The population (known) standard deviation. If omitted, the sample standard deviation is used.
4579
+ * @returns
4580
+ */
4581
+ function TEST(array: any, x: any, sigma: any): number | Error;
4582
+ }
4583
+ /**
4584
+ * Returns the one-tailed probability-value of a z-test.
4585
+ *
4586
+ * Category: Statistical
4587
+ *
4588
+ * @param {*} array The array or range of data against which to test x.
4589
+ * @param {*} x The value to test.
4590
+ * @param {*} sigma Optional. The population (known) standard deviation. If omitted, the sample standard deviation is used.
4591
+ * @returns
4592
+ */
4593
+ export function ZTEST(array: any, x: any, sigma: any): number | Error;
4594
+ export namespace utils {
4595
+ export { errors };
4596
+ export { symbols };
4597
+ export { date };
4598
+ }
4599
+ declare var errors: Readonly<{
4600
+ __proto__: any;
4601
+ data: Error;
4602
+ div0: Error;
4603
+ error: Error;
4604
+ na: Error;
4605
+ name: Error;
4606
+ nil: Error;
4607
+ num: Error;
4608
+ ref: Error;
4609
+ value: Error;
4610
+ }>;
4611
+ declare var symbols: Readonly<{
4612
+ __proto__: any;
4613
+ ADD: typeof ADD;
4614
+ DIVIDE: typeof DIVIDE;
4615
+ EQ: typeof EQ;
4616
+ GT: typeof GT;
4617
+ GTE: typeof GTE;
4618
+ LT: typeof LT;
4619
+ LTE: typeof LTE;
4620
+ MINUS: typeof MINUS;
4621
+ MULTIPLY: typeof MULTIPLY;
4622
+ NE: typeof NE;
4623
+ POW: typeof POW;
4624
+ }>;
4625
+ declare var date: Readonly<{
4626
+ __proto__: any;
4627
+ dateToSerial: typeof dateToSerial;
4628
+ formatDate: typeof formatDate;
4629
+ readonly returnSerial: boolean;
4630
+ serialToDate: typeof serialToDate;
4631
+ useDate: typeof useDate;
4632
+ useSerial: typeof useSerial;
4633
+ }>;
4634
+ /**
4635
+ * Following functions are part of Formula.js only and not found in Excel.
4636
+ * Purpose of these functions is to implement an Excel like behaviour for fundamental math symbols such as +, -, /, *, etc.
4637
+ */
4638
+ /**
4639
+ * Formula.js only.
4640
+ *
4641
+ * @param {*} num1
4642
+ * @param {*} num2
4643
+ * @returns
4644
+ */
4645
+ declare function ADD(num1: any, num2: any, ...args: any[]): any;
4646
+ /**
4647
+ * Formula.js only
4648
+ *
4649
+ * @param {*} dividend
4650
+ * @param {*} divisor
4651
+ * @returns
4652
+ */
4653
+ declare function DIVIDE(dividend: any, divisor: any, ...args: any[]): any;
4654
+ /**
4655
+ * Formula.js only
4656
+ *
4657
+ * @param {*} value1
4658
+ * @param {*} value2
4659
+ * @returns
4660
+ */
4661
+ declare function EQ(value1: any, value2: any, ...args: any[]): boolean | Error;
4662
+ /**
4663
+ * Formula.js only
4664
+ *
4665
+ * @param {*} num1
4666
+ * @param {*} num2
4667
+ * @returns
4668
+ */
4669
+ declare function GT(num1: any, num2: any, ...args: any[]): any;
4670
+ /**
4671
+ * Formula.js only
4672
+ *
4673
+ * @param {*} num1
4674
+ * @param {*} num2
4675
+ * @returns
4676
+ */
4677
+ declare function GTE(num1: any, num2: any, ...args: any[]): any;
4678
+ /**
4679
+ * Formula.js only
4680
+ *
4681
+ * @param {*} num1
4682
+ * @param {*} num2
4683
+ * @returns
4684
+ */
4685
+ declare function LT(num1: any, num2: any, ...args: any[]): any;
4686
+ /**
4687
+ * Formula.js only
4688
+ *
4689
+ * @param {*} num1
4690
+ * @param {*} num2
4691
+ * @returns
4692
+ */
4693
+ declare function LTE(num1: any, num2: any, ...args: any[]): any;
4694
+ /**
4695
+ * Formula.js only
4696
+ *
4697
+ * @param {*} num1
4698
+ * @param {*} num2
4699
+ * @returns
4700
+ */
4701
+ declare function MINUS(num1: any, num2: any, ...args: any[]): any;
4702
+ /**
4703
+ * Formula.js only
4704
+ *
4705
+ * @param {*} factor1
4706
+ * @param {*} factor2
4707
+ * @returns
4708
+ */
4709
+ declare function MULTIPLY(factor1: any, factor2: any, ...args: any[]): any;
4710
+ /**
4711
+ * Formula.js only
4712
+ *
4713
+ * @param {*} value1
4714
+ * @param {*} value2
4715
+ * @returns
4716
+ */
4717
+ declare function NE(value1: any, value2: any, ...args: any[]): boolean | Error;
4718
+ /**
4719
+ * Formula.js only
4720
+ *
4721
+ * @param {*} base
4722
+ * @param {*} exponent
4723
+ * @returns
4724
+ */
4725
+ declare function POW(base: any, exponent: any, ...args: any[]): any;
4726
+ declare function dateToSerial(date: any): number;
4727
+ declare function formatDate(date: any): string;
4728
+ declare function serialToDate(serial: any): Date;
4729
+ declare function useDate(): void;
4730
+ declare function useSerial(): void;
4731
+ export { MINUS$1 as MINUS };