Skip to content

Build your own AI office with Univer Office SDK. Bring editing, calculation, collaboration, and file processing into your product for people and AI agents. Built on an extensible open-source core.

feat(formula): add address (#900)

Dushusir717805b47344
diff --git a/packages/engine-formula/src/basics/function.ts b/packages/engine-formula/src/basics/function.ts
index 7fc117d9f3..a8087818ca 100644
--- a/packages/engine-formula/src/basics/function.ts
+++ b/packages/engine-formula/src/basics/function.ts
@@ -111,6 +111,11 @@ export enum FunctionType {
* Univer-specific functions
*/
Univer,
+
+ /**
+ * User-defined functions
+ */
+ User,
}
export interface IFunctionParam {
diff --git a/packages/engine-formula/src/controller/formula.controller.ts b/packages/engine-formula/src/controller/formula.controller.ts
index eaa01b14da..1e54765d9c 100644
--- a/packages/engine-formula/src/controller/formula.controller.ts
+++ b/packages/engine-formula/src/controller/formula.controller.ts
@@ -18,6 +18,7 @@ import { Disposable, ICommandService, LifecycleStages, OnLifecycle } from '@univ
import type { Ctor } from '@wendellhu/redi';
import { Inject, Injector } from '@wendellhu/redi';
+import type { IFunctionNames } from '../basics/function';
import { SetArrayFormulaDataMutation } from '../commands/mutations/set-array-formula-data.mutation';
import { RemoveDefinedNameMutation, SetDefinedNameMutation } from '../commands/mutations/set-defined-name.mutation';
import {
@@ -115,7 +116,7 @@ export class FormulaController extends Disposable {
...functionWeb,
].map((registerObject) => {
const Func = registerObject[0] as Ctor<BaseFunction>;
- const name = registerObject[1] as string;
+ const name = registerObject[1] as IFunctionNames;
return new Func(name);
});
diff --git a/packages/engine-formula/src/engine/ast-node/operator-node.ts b/packages/engine-formula/src/engine/ast-node/operator-node.ts
index a6cbd434e7..109e20a5fd 100644
--- a/packages/engine-formula/src/engine/ast-node/operator-node.ts
+++ b/packages/engine-formula/src/engine/ast-node/operator-node.ts
@@ -19,10 +19,10 @@ import { ErrorType } from '../../basics/error-type';
import type { compareToken } from '../../basics/token';
import { OPERATOR_TOKEN_COMPARE_SET, OPERATOR_TOKEN_SET, operatorToken } from '../../basics/token';
import type { BaseFunction } from '../../functions/base-function';
-import { FUNCTION_NAMES_COMPATIBILITY } from '../../functions/compatibility/function-names';
import { FUNCTION_NAMES_MATH } from '../../functions/math/function-names';
import type { Compare } from '../../functions/meta/compare';
import { FUNCTION_NAMES_META } from '../../functions/meta/function-names';
+import { FUNCTION_NAMES_TEXT } from '../../functions/text/function-names';
import { IFunctionService } from '../../services/function.service';
import { LexerNode } from '../analysis/lexer-node';
import type { BaseReferenceObject, FunctionVariantType } from '../reference-object/base-reference-object';
@@ -91,7 +91,7 @@ export class OperatorNodeFactory extends BaseAstNodeFactory {
} else if (tokenTrim === operatorToken.DIVIDED) {
functionName = FUNCTION_NAMES_META.DIVIDED;
} else if (tokenTrim === operatorToken.CONCATENATE) {
- functionName = FUNCTION_NAMES_COMPATIBILITY.CONCATENATE;
+ functionName = FUNCTION_NAMES_TEXT.CONCATENATE;
} else if (tokenTrim === operatorToken.POWER) {
functionName = FUNCTION_NAMES_MATH.POWER;
} else if (OPERATOR_TOKEN_COMPARE_SET.has(tokenTrim)) {
diff --git a/packages/engine-formula/src/functions/compatibility/function-map.ts b/packages/engine-formula/src/functions/compatibility/function-map.ts
index eefe640217..98e1a1308d 100644
--- a/packages/engine-formula/src/functions/compatibility/function-map.ts
+++ b/packages/engine-formula/src/functions/compatibility/function-map.ts
@@ -14,7 +14,4 @@
* limitations under the License.
*/
-import { Concatenate } from './concatenate';
-import { FUNCTION_NAMES_COMPATIBILITY } from './function-names';
-
-export const functionCompatibility = [[Concatenate, FUNCTION_NAMES_COMPATIBILITY.CONCATENATE]];
+export const functionCompatibility = [];
diff --git a/packages/engine-formula/src/functions/compatibility/function-names.ts b/packages/engine-formula/src/functions/compatibility/function-names.ts
index a86a5c7a3b..d0680f9b53 100644
--- a/packages/engine-formula/src/functions/compatibility/function-names.ts
+++ b/packages/engine-formula/src/functions/compatibility/function-names.ts
@@ -15,5 +15,42 @@
*/
export enum FUNCTION_NAMES_COMPATIBILITY {
- CONCATENATE = 'CONCATENATE',
+ BETADIST = 'BETADIST',
+ BETAINV = 'BETAINV',
+ BINOMDIST = 'BINOMDIST',
+ CHIDIST = 'CHIDIST',
+ CHIINV = 'CHIINV',
+ CHITEST = 'CHITEST',
+ CONFIDENCE = 'CONFIDENCE',
+ COVAR = 'COVAR',
+ CRITBINOM = 'CRITBINOM',
+ EXPONDIST = 'EXPONDIST',
+ FDIST = 'FDIST',
+ FINV = 'FINV',
+ FTEST = 'FTEST',
+ GAMMADIST = 'GAMMADIST',
+ GAMMAINV = 'GAMMAINV',
+ HYPGEOMDIST = 'HYPGEOMDIST',
+ LOGINV = 'LOGINV',
+ LOGNORMDIST = 'LOGNORMDIST',
+ MODE = 'MODE',
+ NEGBINOMDIST = 'NEGBINOMDIST',
+ NORMDIST = 'NORMDIST',
+ NORMINV = 'NORMINV',
+ NORMSDIST = 'NORMSDIST',
+ NORMSINV = 'NORMSINV',
+ PERCENTILE = 'PERCENTILE',
+ PERCENTRANK = 'PERCENTRANK',
+ POISSON = 'POISSON',
+ QUARTILE = 'QUARTILE',
+ RANK = 'RANK',
+ STDEV = 'STDEV',
+ STDEVP = 'STDEVP',
+ TDIST = 'TDIST',
+ TINV = 'TINV',
+ TTEST = 'TTEST',
+ VAR = 'VAR',
+ VARP = 'VARP',
+ WEIBULL = 'WEIBULL',
+ ZTEST = 'ZTEST',
}
diff --git a/packages/engine-formula/src/functions/cube/function-names.ts b/packages/engine-formula/src/functions/cube/function-names.ts
index 2844c1488a..2712fd46de 100644
--- a/packages/engine-formula/src/functions/cube/function-names.ts
+++ b/packages/engine-formula/src/functions/cube/function-names.ts
@@ -14,4 +14,12 @@
* limitations under the License.
*/
-export enum FUNCTION_NAMES_CUBE {}
+export enum FUNCTION_NAMES_CUBE {
+ CUBEKPIMEMBER = 'CUBEKPIMEMBER',
+ CUBEMEMBER = 'CUBEMEMBER',
+ CUBEMEMBERPROPERTY = 'CUBEMEMBERPROPERTY',
+ CUBERANKEDMEMBER = 'CUBERANKEDMEMBER',
+ CUBESET = 'CUBESET',
+ CUBESETCOUNT = 'CUBESETCOUNT',
+ CUBEVALUE = 'CUBEVALUE',
+}
diff --git a/packages/engine-formula/src/functions/database/function-names.ts b/packages/engine-formula/src/functions/database/function-names.ts
index 50b9447ae7..aac6190b60 100644
--- a/packages/engine-formula/src/functions/database/function-names.ts
+++ b/packages/engine-formula/src/functions/database/function-names.ts
@@ -14,4 +14,17 @@
* limitations under the License.
*/
-export enum FUNCTION_NAMES_DATABASE {}
+export enum FUNCTION_NAMES_DATABASE {
+ DAVERAGE = 'DAVERAGE',
+ DCOUNT = 'DCOUNT',
+ DCOUNTA = 'DCOUNTA',
+ DGET = 'DGET',
+ DMAX = 'DMAX',
+ DMIN = 'DMIN',
+ DPRODUCT = 'DPRODUCT',
+ DSTDEV = 'DSTDEV',
+ DSTDEVP = 'DSTDEVP',
+ DSUM = 'DSUM',
+ DVAR = 'DVAR',
+ DVARP = 'DVARP',
+}
diff --git a/packages/engine-formula/src/functions/date/function-names.ts b/packages/engine-formula/src/functions/date/function-names.ts
index 22225635d2..383fe1b1fa 100644
--- a/packages/engine-formula/src/functions/date/function-names.ts
+++ b/packages/engine-formula/src/functions/date/function-names.ts
@@ -14,4 +14,30 @@
* limitations under the License.
*/
-export enum FUNCTION_NAMES_DATE {}
+export enum FUNCTION_NAMES_DATE {
+ DATE = 'DATE',
+ DATEDIF = 'DATEDIF',
+ DATEVALUE = 'DATEVALUE',
+ DAY = 'DAY',
+ DAYS = 'DAYS',
+ DAYS360 = 'DAYS360',
+ EDATE = 'EDATE',
+ EOMONTH = 'EOMONTH',
+ HOUR = 'HOUR',
+ ISOWEEKNUM = 'ISOWEEKNUM',
+ MINUTE = 'MINUTE',
+ MONTH = 'MONTH',
+ NETWORKDAYS = 'NETWORKDAYS',
+ NETWORKDAYS_INTL = 'NETWORKDAYS.INTL',
+ NOW = 'NOW',
+ SECOND = 'SECOND',
+ TIME = 'TIME',
+ TIMEVALUE = 'TIMEVALUE',
+ TODAY = 'TODAY',
+ WEEKDAY = 'WEEKDAY',
+ WEEKNUM = 'WEEKNUM',
+ WORKDAY = 'WORKDAY',
+ WORKDAY_INTL = 'WORKDAY.INTL',
+ YEAR = 'YEAR',
+ YEARFRAC = 'YEARFRAC',
+}
diff --git a/packages/engine-formula/src/functions/engineering/function-names.ts b/packages/engine-formula/src/functions/engineering/function-names.ts
index 733bb7de37..a9ace6ad9e 100644
--- a/packages/engine-formula/src/functions/engineering/function-names.ts
+++ b/packages/engine-formula/src/functions/engineering/function-names.ts
@@ -14,4 +14,59 @@
* limitations under the License.
*/
-export enum FUNCTION_NAMES_ENGINEERING {}
+export enum FUNCTION_NAMES_ENGINEERING {
+ BESSELI = 'BESSELI',
+ BESSELJ = 'BESSELJ',
+ BESSELK = 'BESSELK',
+ BESSELY = 'BESSELY',
+ BIN2DEC = 'BIN2DEC',
+ BIN2HEX = 'BIN2HEX',
+ BIN2OCT = 'BIN2OCT',
+ BITAND = 'BITAND',
+ BITLSHIFT = 'BITLSHIFT',
+ BITOR = 'BITOR',
+ BITRSHIFT = 'BITRSHIFT',
+ BITXOR = 'BITXOR',
+ COMPLEX = 'COMPLEX',
+ CONVERT = 'CONVERT',
+ DEC2BIN = 'DEC2BIN',
+ DEC2HEX = 'DEC2HEX',
+ DEC2OCT = 'DEC2OCT',
+ DELTA = 'DELTA',
+ ERF = 'ERF',
+ ERF_PRECISE = 'ERF.PRECISE',
+ ERFC = 'ERFC',
+ ERFC_PRECISE = 'ERFC.PRECISE',
+ GESTEP = 'GESTEP',
+ HEX2BIN = 'HEX2BIN',
+ HEX2DEC = 'HEX2DEC',
+ HEX2OCT = 'HEX2OCT',
+ IMABS = 'IMABS',
+ IMAGINARY = 'IMAGINARY',
+ IMARGUMENT = 'IMARGUMENT',
+ IMCONJUGATE = 'IMCONJUGATE',
+ IMCOS = 'IMCOS',
+ IMCOSH = 'IMCOSH',
+ IMCOT = 'IMCOT',
+ IMCSC = 'IMCSC',
+ IMCSCH = 'IMCSCH',
+ IMDIV = 'IMDIV',
+ IMEXP = 'IMEXP',
+ IMLN = 'IMLN',
+ IMLOG10 = 'IMLOG10',
+ IMLOG2 = 'IMLOG2',
+ IMPOWER = 'IMPOWER',
+ IMPRODUCT = 'IMPRODUCT',
+ IMREAL = 'IMREAL',
+ IMSEC = 'IMSEC',
+ IMSECH = 'IMSECH',
+ IMSIN = 'IMSIN',
+ IMSINH = 'IMSINH',
+ IMSQRT = 'IMSQRT',
+ IMSUB = 'IMSUB',
+ IMSUM = 'IMSUM',
+ IMTAN = 'IMTAN',
+ OCT2BIN = 'OCT2BIN',
+ OCT2DEC = 'OCT2DEC',
+ OCT2HEX = 'OCT2HEX',
+}
diff --git a/packages/engine-formula/src/functions/financial/function-names.ts b/packages/engine-formula/src/functions/financial/function-names.ts
index 0032f75e1e..6c7ffededf 100644
--- a/packages/engine-formula/src/functions/financial/function-names.ts
+++ b/packages/engine-formula/src/functions/financial/function-names.ts
@@ -14,4 +14,60 @@
* limitations under the License.
*/
-export enum FUNCTION_NAMES_FINANCIAL {}
+export enum FUNCTION_NAMES_FINANCIAL {
+ ACCRINT = 'ACCRINT',
+ ACCRINTM = 'ACCRINTM',
+ AMORDEGRC = 'AMORDEGRC',
+ AMORLINC = 'AMORLINC',
+ COUPDAYBS = 'COUPDAYBS',
+ COUPDAYS = 'COUPDAYS',
+ COUPDAYSNC = 'COUPDAYSNC',
+ COUPNCD = 'COUPNCD',
+ COUPNUM = 'COUPNUM',
+ COUPPCD = 'COUPPCD',
+ CUMIPMT = 'CUMIPMT',
+ CUMPRINC = 'CUMPRINC',
+ DB = 'DB',
+ DDB = 'DDB',
+ DISC = 'DISC',
+ DOLLARDE = 'DOLLARDE',
+ DOLLARFR = 'DOLLARFR',
+ DURATION = 'DURATION',
+ EFFECT = 'EFFECT',
+ FV = 'FV',
+ FVSCHEDULE = 'FVSCHEDULE',
+ INTRATE = 'INTRATE',
+ IPMT = 'IPMT',
+ IRR = 'IRR',
+ ISPMT = 'ISPMT',
+ MDURATION = 'MDURATION',
+ MIRR = 'MIRR',
+ NOMINAL = 'NOMINAL',
+ NPER = 'NPER',
+ NPV = 'NPV',
+ ODDFPRICE = 'ODDFPRICE',
+ ODDFYIELD = 'ODDFYIELD',
+ ODDLPRICE = 'ODDLPRICE',
+ ODDLYIELD = 'ODDLYIELD',
+ PDURATION = 'PDURATION',
+ PMT = 'PMT',
+ PPMT = 'PPMT',
+ PRICE = 'PRICE',
+ PRICEDISC = 'PRICEDISC',
+ PRICEMAT = 'PRICEMAT',
+ PV = 'PV',
+ RATE = 'RATE',
+ RECEIVED = 'RECEIVED',
+ RRI = 'RRI',
+ SLN = 'SLN',
+ SYD = 'SYD',
+ TBILLEQ = 'TBILLEQ',
+ TBILLPRICE = 'TBILLPRICE',
+ TBILLYIELD = 'TBILLYIELD',
+ VDB = 'VDB',
+ XIRR = 'XIRR',
+ XNPV = 'XNPV',
+ YIELD = 'YIELD',
+ YIELDDISC = 'YIELDDISC',
+ YIELDMAT = 'YIELDMAT',
+}
diff --git a/packages/engine-formula/src/functions/information/function-names.ts b/packages/engine-formula/src/functions/information/function-names.ts
index d149e048dc..6d68d081c7 100644
--- a/packages/engine-formula/src/functions/information/function-names.ts
+++ b/packages/engine-formula/src/functions/information/function-names.ts
@@ -14,4 +14,26 @@
* limitations under the License.
*/
-export enum FUNCTION_NAMES_INFORMATION {}
+export enum FUNCTION_NAMES_INFORMATION {
+ CELL = 'CELL',
+ ERROR_TYPE = 'ERROR.TYPE',
+ INFO = 'INFO',
+ ISBLANK = 'ISBLANK',
+ ISERR = 'ISERR',
+ ISERROR = 'ISERROR',
+ ISEVEN = 'ISEVEN',
+ ISFORMULA = 'ISFORMULA',
+ ISLOGICAL = 'ISLOGICAL',
+ ISNA = 'ISNA',
+ ISNONTEXT = 'ISNONTEXT',
+ ISNUMBER = 'ISNUMBER',
+ ISODD = 'ISODD',
+ ISOMITTED = 'ISOMITTED',
+ ISREF = 'ISREF',
+ ISTEXT = 'ISTEXT',
+ N = 'N',
+ NA = 'NA',
+ SHEET = 'SHEET',
+ SHEETS = 'SHEETS',
+ TYPE = 'TYPE',
+}
diff --git a/packages/engine-formula/src/functions/logical/function-names.ts b/packages/engine-formula/src/functions/logical/function-names.ts
index 1dd59ff4e9..9e2454ec35 100644
--- a/packages/engine-formula/src/functions/logical/function-names.ts
+++ b/packages/engine-formula/src/functions/logical/function-names.ts
@@ -14,4 +14,24 @@
* limitations under the License.
*/
-export enum FUNCTION_NAMES_LOGICAL {}
+export enum FUNCTION_NAMES_LOGICAL {
+ AND = 'AND',
+ BYCOL = 'BYCOL',
+ BYROW = 'BYROW',
+ FALSE = 'FALSE',
+ IF = 'IF',
+ IFERROR = 'IFERROR',
+ IFNA = 'IFNA',
+ IFS = 'IFS',
+ LAMBDA = 'LAMBDA',
+ LET = 'LET',
+ MAKEARRAY = 'MAKEARRAY',
+ MAP = 'MAP',
+ NOT = 'NOT',
+ OR = 'OR',
+ REDUCE = 'REDUCE',
+ SCAN = 'SCAN',
+ SWITCH = 'SWITCH',
+ TRUE = 'TRUE',
+ XOR = 'XOR',
+}
diff --git a/packages/engine-formula/src/functions/lookup/address/__tests__/index.spec.ts b/packages/engine-formula/src/functions/lookup/address/__tests__/index.spec.ts
new file mode 100644
index 0000000000..eec866f0a8
--- /dev/null
+++ b/packages/engine-formula/src/functions/lookup/address/__tests__/index.spec.ts
@@ -0,0 +1,103 @@
+/**
+ * Copyright 2023-present DreamNum Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+import { ObjectMatrix } from '@univerjs/core';
+import { beforeEach, describe, expect, it } from 'vitest';
+
+import { NumberValueObject } from '../../../..';
+import type { ISheetData } from '../../../../basics/common';
+import { ErrorType } from '../../../../basics/error-type';
+import { ErrorValueObject } from '../../../../engine/value-object/base-value-object';
+import { FUNCTION_NAMES_LOOKUP } from '../../function-names';
+import { Address } from '..';
+
+const cellData = {
+ 0: {
+ 0: {
+ v: 1,
+ },
+ 1: {
+ v: ' ',
+ },
+ 2: {
+ v: 1.23,
+ },
+ 3: {
+ v: true,
+ },
+ 4: {
+ v: false,
+ },
+ },
+ 1: {
+ 0: {
+ v: 0,
+ },
+ 1: {
+ v: '100',
+ },
+ 2: {
+ v: '2.34',
+ },
+ 3: {
+ v: 'test',
+ },
+ 4: {
+ v: -3,
+ },
+ },
+};
+
+describe('test address', () => {
+ let unitId: string;
+ let sheetId: string;
+ let sheetData: ISheetData = {};
+ let address: Address;
+
+ beforeEach(() => {
+ unitId = 'test';
+ sheetId = 'sheet1';
+ sheetData = {
+ [sheetId]: {
+ cellData: new ObjectMatrix(cellData),
+ rowCount: 4,
+ columnCount: 3,
+ },
+ };
+
+ // register address
+ address = new Address(FUNCTION_NAMES_LOOKUP.ADDRESS);
+ });
+
+ describe('address', () => {
+ describe('correct situations', () => {
+ it('single cell', async () => {
+ const rowNumber = new NumberValueObject(2);
+ const columnNumber = new NumberValueObject(3);
+ const result = address.calculate(rowNumber, columnNumber);
+ expect(result.getValue()).toBe('$C$2');
+ });
+ });
+
+ describe('fault situations', () => {
+ it('value error', async () => {
+ const error = ErrorValueObject.create(ErrorType.VALUE);
+ const errorValue = address.calculate(error, error);
+ expect(errorValue.isError()).toBeTruthy();
+ });
+ });
+ });
+});
diff --git a/packages/engine-formula/src/functions/lookup/address/index.ts b/packages/engine-formula/src/functions/lookup/address/index.ts
new file mode 100644
index 0000000000..e393fd76b7
--- /dev/null
+++ b/packages/engine-formula/src/functions/lookup/address/index.ts
@@ -0,0 +1,55 @@
+/**
+ * Copyright 2023-present DreamNum Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+import { AbsoluteRefType, type IRange, serializeRange } from '@univerjs/core';
+
+import { ErrorType } from '../../../basics/error-type';
+import type { FunctionVariantType } from '../../../engine/reference-object/base-reference-object';
+import { type BaseValueObject, ErrorValueObject } from '../../../engine/value-object/base-value-object';
+import { StringValueObject } from '../../../engine/value-object/primitive-object';
+import { BaseFunction } from '../../base-function';
+
+export class Address extends BaseFunction {
+ override calculate(
+ rowNumber: FunctionVariantType,
+ columnNumber: FunctionVariantType,
+ absNumber?: FunctionVariantType,
+ a1?: FunctionVariantType,
+ sheetText?: FunctionVariantType
+ ) {
+ if (rowNumber.isError() || columnNumber.isError()) {
+ return ErrorValueObject.create(ErrorType.VALUE);
+ }
+
+ const row = Number((rowNumber as BaseValueObject).getValue()) - 1;
+ const column = Number((columnNumber as BaseValueObject).getValue()) - 1;
+
+ if (Number.isNaN(row) || Number.isNaN(column)) {
+ return ErrorValueObject.create(ErrorType.VALUE);
+ }
+
+ const range: IRange = {
+ startRow: row,
+ startColumn: column,
+ endRow: row,
+ endColumn: column,
+ startAbsoluteRefType: AbsoluteRefType.ALL,
+ endAbsoluteRefType: AbsoluteRefType.ALL,
+ };
+ const rangeString = serializeRange(range);
+ return new StringValueObject(rangeString);
+ }
+}
diff --git a/packages/engine-formula/src/functions/lookup/function-map.ts b/packages/engine-formula/src/functions/lookup/function-map.ts
index aa5c7037b3..33207f511a 100644
--- a/packages/engine-formula/src/functions/lookup/function-map.ts
+++ b/packages/engine-formula/src/functions/lookup/function-map.ts
@@ -14,11 +14,13 @@
* limitations under the License.
*/
+import { Address } from './address';
import { FUNCTION_NAMES_LOOKUP } from './function-names';
import { Indirect } from './indirect';
import { Offset } from './offset';
export const functionLookup = [
+ [Address, FUNCTION_NAMES_LOOKUP.ADDRESS],
[Indirect, FUNCTION_NAMES_LOOKUP.INDIRECT],
[Offset, FUNCTION_NAMES_LOOKUP.OFFSET],
];
diff --git a/packages/engine-formula/src/functions/lookup/function-names.ts b/packages/engine-formula/src/functions/lookup/function-names.ts
index 5ba4bb5512..330accbd8d 100644
--- a/packages/engine-formula/src/functions/lookup/function-names.ts
+++ b/packages/engine-formula/src/functions/lookup/function-names.ts
@@ -15,6 +15,41 @@
*/
export enum FUNCTION_NAMES_LOOKUP {
+ ADDRESS = 'ADDRESS',
+ AREAS = 'AREAS',
+ CHOOSE = 'CHOOSE',
+ CHOOSECOLS = 'CHOOSECOLS',
+ CHOOSEROWS = 'CHOOSEROWS',
+ COLUMN = 'COLUMN',
+ COLUMNS = 'COLUMNS',
+ DROP = 'DROP',
+ EXPAND = 'EXPAND',
+ FILTER = 'FILTER',
+ FORMULATEXT = 'FORMULATEXT',
+ GETPIVOTDATA = 'GETPIVOTDATA',
+ HLOOKUP = 'HLOOKUP',
+ HSTACK = 'HSTACK',
+ HYPERLINK = 'HYPERLINK',
+ IMAGE = 'IMAGE',
+ INDEX = 'INDEX',
INDIRECT = 'INDIRECT',
+ LOOKUP = 'LOOKUP',
+ MATCH = 'MATCH',
OFFSET = 'OFFSET',
+ ROW = 'ROW',
+ ROWS = 'ROWS',
+ RTD = 'RTD',
+ SORT = 'SORT',
+ SORTBY = 'SORTBY',
+ TAKE = 'TAKE',
+ TOCOL = 'TOCOL',
+ TOROW = 'TOROW',
+ TRANSPOSE = 'TRANSPOSE',
+ UNIQUE = 'UNIQUE',
+ VLOOKUP = 'VLOOKUP',
+ VSTACK = 'VSTACK',
+ WRAPCOLS = 'WRAPCOLS',
+ WRAPROWS = 'WRAPROWS',
+ XLOOKUP = 'XLOOKUP',
+ XMATCH = 'XMATCH',
}
diff --git a/packages/engine-formula/src/functions/math/function-names.ts b/packages/engine-formula/src/functions/math/function-names.ts
index 40b7bfe434..f1f8a308e4 100644
--- a/packages/engine-formula/src/functions/math/function-names.ts
+++ b/packages/engine-formula/src/functions/math/function-names.ts
@@ -19,8 +19,82 @@ export enum FUNCTION_NAMES_MATH {
ACOS = 'ACOS',
ACOSH = 'ACOSH',
ACOT = 'ACOT',
+ ACOTH = 'ACOTH',
+ AGGREGATE = 'AGGREGATE',
+ ARABIC = 'ARABIC',
+ ASIN = 'ASIN',
+ ASINH = 'ASINH',
+ ATAN = 'ATAN',
+ ATAN2 = 'ATAN2',
+ ATANH = 'ATANH',
+ BASE = 'BASE',
+ CEILING = 'CEILING',
+ CEILING_MATH = 'CEILING.MATH',
+ CEILING_PRECISE = 'CEILING.PRECISE',
+ COMBIN = 'COMBIN',
+ COMBINA = 'COMBINA',
+ COS = 'COS',
+ COSH = 'COSH',
+ COT = 'COT',
+ COTH = 'COTH',
+ CSC = 'CSC',
+ CSCH = 'CSCH',
+ DECIMAL = 'DECIMAL',
+ DEGREES = 'DEGREES',
+ EVEN = 'EVEN',
+ EXP = 'EXP',
+ FACT = 'FACT',
+ FACTDOUBLE = 'FACTDOUBLE',
+ FLOOR = 'FLOOR',
+ FLOOR_MATH = 'FLOOR.MATH',
+ FLOOR_PRECISE = 'FLOOR.PRECISE',
+ GCD = 'GCD',
+ INT = 'INT',
+ ISO_CEILING = 'ISO.CEILING',
+ LCM = 'LCM',
+ LET = 'LET',
+ LN = 'LN',
+ LOG = 'LOG',
+ LOG10 = 'LOG10',
+ MDETERM = 'MDETERM',
+ MINVERSE = 'MINVERSE',
+ MMULT = 'MMULT',
+ MOD = 'MOD',
+ MROUND = 'MROUND',
+ MULTINOMIAL = 'MULTINOMIAL',
+ MUNIT = 'MUNIT',
+ ODD = 'ODD',
+ PI = 'PI',
+ POWER = 'POWER',
+ PRODUCT = 'PRODUCT',
+ QUOTIENT = 'QUOTIENT',
+ RADIANS = 'RADIANS',
+ RAND = 'RAND',
+ RANDARRAY = 'RANDARRAY',
+ RANDBETWEEN = 'RANDBETWEEN',
+ ROMAN = 'ROMAN',
+ ROUND = 'ROUND',
+ ROUNDDOWN = 'ROUNDDOWN',
+ ROUNDUP = 'ROUNDUP',
+ SEC = 'SEC',
+ SECH = 'SECH',
+ SERIESSUM = 'SERIESSUM',
+ SEQUENCE = 'SEQUENCE',
+ SIGN = 'SIGN',
+ SIN = 'SIN',
+ SINH = 'SINH',
+ SQRT = 'SQRT',
+ SQRTPI = 'SQRTPI',
+ SUBTOTAL = 'SUBTOTAL',
SUM = 'SUM',
SUMIF = 'SUMIF',
SUMIFS = 'SUMIFS',
- POWER = 'POWER',
+ SUMPRODUCT = 'SUMPRODUCT',
+ SUMSQ = 'SUMSQ',
+ SUMX2MY2 = 'SUMX2MY2',
+ SUMX2PY2 = 'SUMX2PY2',
+ SUMXMY2 = 'SUMXMY2',
+ TAN = 'TAN',
+ TANH = 'TANH',
+ TRUNC = 'TRUNC',
}
diff --git a/packages/engine-formula/src/functions/statistical/function-names.ts b/packages/engine-formula/src/functions/statistical/function-names.ts
index d54b2d26c0..5b08f88bf9 100644
--- a/packages/engine-formula/src/functions/statistical/function-names.ts
+++ b/packages/engine-formula/src/functions/statistical/function-names.ts
@@ -15,9 +15,115 @@
*/
export enum FUNCTION_NAMES_STATISTICAL {
+ AVEDEV = 'AVEDEV',
AVERAGE = 'AVERAGE',
+ AVERAGEA = 'AVERAGEA',
+ AVERAGEIF = 'AVERAGEIF',
+ AVERAGEIFS = 'AVERAGEIFS',
+ BETA_DIST = 'BETA.DIST',
+ BETA_INV = 'BETA.INV',
+ BINOM_DIST = 'BINOM.DIST',
+ BINOM_DIST_RANGE = 'BINOM.DIST.RANGE',
+ BINOM_INV = 'BINOM.INV',
+ CHISQ_DIST = 'CHISQ.DIST',
+ CHISQ_DIST_RT = 'CHISQ.DIST.RT',
+ CHISQ_INV = 'CHISQ.INV',
+ CHISQ_INV_RT = 'CHISQ.INV.RT',
+ CHISQ_TEST = 'CHISQ.TEST',
+ CONFIDENCE_NORM = 'CONFIDENCE.NORM',
+ CONFIDENCE_T = 'CONFIDENCE.T',
+ CORREL = 'CORREL',
COUNT = 'COUNT',
+ COUNTA = 'COUNTA',
+ COUNTBLANK = 'COUNTBLANK',
+ COUNTIF = 'COUNTIF',
+ COUNTIFS = 'COUNTIFS',
+ COVARIANCE_P = 'COVARIANCE.P',
+ COVARIANCE_S = 'COVARIANCE.S',
+ DEVSQ = 'DEVSQ',
+ EXPON_DIST = 'EXPON.DIST',
+ F_DIST = 'F.DIST',
+ F_DIST_RT = 'F.DIST.RT',
+ F_INV = 'F.INV',
+ F_INV_RT = 'F.INV.RT',
+ F_TEST = 'F.TEST',
+ FISHER = 'FISHER',
+ FISHERINV = 'FISHERINV',
+ FORECAST = 'FORECAST',
+ FORECAST_ETS = 'FORECAST.ETS',
+ FORECAST_ETS_CONFINT = 'FORECAST.ETS.CONFINT',
+ FORECAST_ETS_SEASONALITY = 'FORECAST.ETS.SEASONALITY',
+ FORECAST_ETS_STAT = 'FORECAST.ETS.STAT',
+ FORECAST_LINEAR = 'FORECAST.LINEAR',
+ FREQUENCY = 'FREQUENCY',
+ GAMMA = 'GAMMA',
+ GAMMA_DIST = 'GAMMA.DIST',
+ GAMMA_INV = 'GAMMA.INV',
+ GAMMALN = 'GAMMALN',
+ GAMMALN_PRECISE = 'GAMMALN.PRECISE',
+ GAUSS = 'GAUSS',
+ GEOMEAN = 'GEOMEAN',
+ GROWTH = 'GROWTH',
+ HARMEAN = 'HARMEAN',
+ HYPGEOM_DIST = 'HYPGEOM.DIST',
+ INTERCEPT = 'INTERCEPT',
+ KURT = 'KURT',
+ LARGE = 'LARGE',
+ LINEST = 'LINEST',
+ LOGEST = 'LOGEST',
+ LOGNORM_DIST = 'LOGNORM.DIST',
+ LOGNORM_INV = 'LOGNORM.INV',
MAX = 'MAX',
+ MAXA = 'MAXA',
+ MAXIFS = 'MAXIFS',
+ MEDIAN = 'MEDIAN',
MIN = 'MIN',
- COUNTA = 'COUNTA',
+ MINA = 'MINA',
+ MINIFS = 'MINIFS',
+ MODE_MULT = 'MODE.MULT',
+ MODE_SNGL = 'MODE.SNGL',
+ NEGBINOM_DIST = 'NEGBINOM.DIST',
+ NORM_DIST = 'NORM.DIST',
+ NORM_INV = 'NORM.INV',
+ NORM_S_DIST = 'NORM.S.DIST',
+ NORM_S_INV = 'NORM.S.INV',
+ PEARSON = 'PEARSON',
+ PERCENTILE_EXC = 'PERCENTILE.EXC',
+ PERCENTILE_INC = 'PERCENTILE.INC',
+ PERCENTRANK_EXC = 'PERCENTRANK.EXC',
+ PERCENTRANK_INC = 'PERCENTRANK.INC',
+ PERMUT = 'PERMUT',
+ PERMUTATIONA = 'PERMUTATIONA',
+ PHI = 'PHI',
+ POISSON_DIST = 'POISSON.DIST',
+ PROB = 'PROB',
+ QUARTILE_EXC = 'QUARTILE.EXC',
+ QUARTILE_INC = 'QUARTILE.INC',
+ RANK_AVG = 'RANK.AVG',
+ RANK_EQ = 'RANK.EQ',
+ RSQ = 'RSQ',
+ SKEW = 'SKEW',
+ SKEW_P = 'SKEW.P',
+ SLOPE = 'SLOPE',
+ SMALL = 'SMALL',
+ STANDARDIZE = 'STANDARDIZE',
+ STDEV_P = 'STDEV.P',
+ STDEV_S = 'STDEV.S',
+ STDEVA = 'STDEVA',
+ STDEVPA = 'STDEVPA',
+ STEYX = 'STEYX',
+ T_DIST = 'T.DIST',
+ T_DIST_2T = 'T.DIST.2T',
+ T_DIST_RT = 'T.DIST.RT',
+ T_INV = 'T.INV',
+ T_INV_2T = 'T.INV.2T',
+ T_TEST = 'T.TEST',
+ TREND = 'TREND',
+ TRIMMEAN = 'TRIMMEAN',
+ VAR_P = 'VAR.P',
+ VAR_S = 'VAR.S',
+ VARA = 'VARA',
+ VARPA = 'VARPA',
+ WEIBULL_DIST = 'WEIBULL.DIST',
+ Z_TEST = 'Z.TEST',
}
diff --git a/packages/engine-formula/src/functions/compatibility/concatenate/index.ts b/packages/engine-formula/src/functions/text/concatenate/index.ts
similarity index 100%
rename from packages/engine-formula/src/functions/compatibility/concatenate/index.ts
rename to packages/engine-formula/src/functions/text/concatenate/index.ts
diff --git a/packages/engine-formula/src/functions/text/function-map.ts b/packages/engine-formula/src/functions/text/function-map.ts
index 292468b0aa..5273ac82af 100644
--- a/packages/engine-formula/src/functions/text/function-map.ts
+++ b/packages/engine-formula/src/functions/text/function-map.ts
@@ -14,4 +14,7 @@
* limitations under the License.
*/
-export const functionText = [];
+import { Concatenate } from './concatenate';
+import { FUNCTION_NAMES_TEXT } from './function-names';
+
+export const functionText = [[Concatenate, FUNCTION_NAMES_TEXT.CONCATENATE]];
diff --git a/packages/engine-formula/src/functions/text/function-names.ts b/packages/engine-formula/src/functions/text/function-names.ts
index bf4884b48f..d5d878278e 100644
--- a/packages/engine-formula/src/functions/text/function-names.ts
+++ b/packages/engine-formula/src/functions/text/function-names.ts
@@ -14,4 +14,52 @@
* limitations under the License.
*/
-export enum FUNCTION_NAMES_TEXT {}
+export enum FUNCTION_NAMES_TEXT {
+ ASC = 'ASC',
+ ARRAYTOTEXT = 'ARRAYTOTEXT',
+ BAHTTEXT = 'BAHTTEXT',
+ CHAR = 'CHAR',
+ CLEAN = 'CLEAN',
+ CODE = 'CODE',
+ CONCAT = 'CONCAT',
+ CONCATENATE = 'CONCATENATE',
+ DBCS = 'DBCS',
+ DOLLAR = 'DOLLAR',
+ EXACT = 'EXACT',
+ FIND = 'FIND',
+ FINDB = 'FINDB',
+ FIXED = 'FIXED',
+ LEFT = 'LEFT',
+ LEFTB = 'LEFTB',
+ LEN = 'LEN',
+ LENB = 'LENB',
+ LOWER = 'LOWER',
+ MID = 'MID',
+ MIDB = 'MIDB',
+ NUMBERVALUE = 'NUMBERVALUE',
+ PHONETIC = 'PHONETIC',
+ PROPER = 'PROPER',
+ REPLACE = 'REPLACE',
+ REPLACEB = 'REPLACEB',
+ REPT = 'REPT',
+ RIGHT = 'RIGHT',
+ RIGHTB = 'RIGHTB',
+ SEARCH = 'SEARCH',
+ SEARCHB = 'SEARCHB',
+ SUBSTITUTE = 'SUBSTITUTE',
+ T = 'T',
+ TEXT = 'TEXT',
+ TEXTAFTER = 'TEXTAFTER',
+ TEXTBEFORE = 'TEXTBEFORE',
+ TEXTJOIN = 'TEXTJOIN',
+ TEXTSPLIT = 'TEXTSPLIT',
+ TRIM = 'TRIM',
+ UNICHAR = 'UNICHAR',
+ UNICODE = 'UNICODE',
+ UPPER = 'UPPER',
+ VALUE = 'VALUE',
+ VALUETOTEXT = 'VALUETOTEXT',
+ CALL = 'CALL',
+ EUROCONVERT = 'EUROCONVERT',
+ REGISTER_ID = 'REGISTER.ID',
+}
diff --git a/packages/engine-formula/src/functions/web/function-names.ts b/packages/engine-formula/src/functions/web/function-names.ts
index 775efb16bc..abba045c95 100644
--- a/packages/engine-formula/src/functions/web/function-names.ts
+++ b/packages/engine-formula/src/functions/web/function-names.ts
@@ -14,4 +14,8 @@
* limitations under the License.
*/
-export enum FUNCTION_NAMES_WEB {}
+export enum FUNCTION_NAMES_WEB {
+ ENCODEURL = 'ENCODEURL',
+ FILTERXML = 'FILTERXML',
+ WEBSERVICE = 'WEBSERVICE',
+}
diff --git a/packages/engine-formula/src/index.ts b/packages/engine-formula/src/index.ts
index ec8732e4e9..c04e637d52 100644
--- a/packages/engine-formula/src/index.ts
+++ b/packages/engine-formula/src/index.ts
@@ -76,19 +76,34 @@ export { BooleanValueObject } from './engine/value-object/primitive-object';
export { StringValueObject } from './engine/value-object/primitive-object';
export { FUNCTION_NAMES_ARRAY } from './functions/array/function-names';
export { BaseFunction } from './functions/base-function';
+export { functionCompatibility } from './functions/compatibility/function-map';
export { FUNCTION_NAMES_COMPATIBILITY } from './functions/compatibility/function-names';
+export { functionCube } from './functions/cube/function-map';
export { FUNCTION_NAMES_CUBE } from './functions/cube/function-names';
+export { functionDatabase } from './functions/database/function-map';
export { FUNCTION_NAMES_DATABASE } from './functions/database/function-names';
+export { functionDate } from './functions/date/function-map';
export { FUNCTION_NAMES_DATE } from './functions/date/function-names';
+export { functionEngineering } from './functions/engineering/function-map';
export { FUNCTION_NAMES_ENGINEERING } from './functions/engineering/function-names';
+export { functionFinancial } from './functions/financial/function-map';
export { FUNCTION_NAMES_FINANCIAL } from './functions/financial/function-names';
+export { functionInformation } from './functions/information/function-map';
export { FUNCTION_NAMES_INFORMATION } from './functions/information/function-names';
+export { functionLogical } from './functions/logical/function-map';
export { FUNCTION_NAMES_LOGICAL } from './functions/logical/function-names';
+export { functionLookup } from './functions/lookup/function-map';
export { FUNCTION_NAMES_LOOKUP } from './functions/lookup/function-names';
+export { functionMath } from './functions/math/function-map';
export { FUNCTION_NAMES_MATH } from './functions/math/function-names';
+export { functionMeta } from './functions/meta/function-map';
+export { functionStatistical } from './functions/statistical/function-map';
export { FUNCTION_NAMES_STATISTICAL } from './functions/statistical/function-names';
+export { functionText } from './functions/text/function-map';
export { FUNCTION_NAMES_TEXT } from './functions/text/function-names';
+export { functionUniver } from './functions/univer/function-map';
export { FUNCTION_NAMES_UNIVER } from './functions/univer/function-names';
+export { functionWeb } from './functions/web/function-map';
export { FUNCTION_NAMES_WEB } from './functions/web/function-names';
export { FormulaDataModel } from './models/formula-data.model';
export { initSheetFormulaData } from './models/formula-data.model';
diff --git a/packages/sheets-formula/src/locale/en-US.ts b/packages/sheets-formula/src/locale/en-US.ts
index 23e4fd42ab..48b4b6e9c0 100644
--- a/packages/sheets-formula/src/locale/en-US.ts
+++ b/packages/sheets-formula/src/locale/en-US.ts
@@ -80,6 +80,7 @@ export default {
web: 'Web',
array: 'Array',
univer: 'Univer',
+ user: 'User Defined',
},
moreFunctions: {
confirm: 'Confirm',
diff --git a/packages/sheets-formula/src/locale/function-list/compatibility/en-US.ts b/packages/sheets-formula/src/locale/function-list/compatibility/en-US.ts
index 11248f17ac..390a7eebb0 100644
--- a/packages/sheets-formula/src/locale/function-list/compatibility/en-US.ts
+++ b/packages/sheets-formula/src/locale/function-list/compatibility/en-US.ts
@@ -99,20 +99,6 @@ export default {
number2: { name: 'number2', detail: 'second' },
},
},
- CONCATENATE: {
- description: `Joins two or more text strings into one string`,
- abstract: `Joins two or more text strings into one string`,
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/en-us/office/concatenate-function-8f8ae884-2ca8-4f7a-b093-75d702bea31d',
- },
- ],
- functionParameter: {
- number1: { name: 'number1', detail: 'first' },
- number2: { name: 'number2', detail: 'second' },
- },
- },
CONFIDENCE: {
description: `Returns the confidence interval for a population mean`,
abstract: `Returns the confidence interval for a population mean`,
@@ -197,34 +183,6 @@ export default {
number2: { name: 'number2', detail: 'second' },
},
},
- FLOOR: {
- description: `Rounds a number down, toward zero`,
- abstract: `Rounds a number down, toward zero`,
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/en-us/office/floor-function-14bb497c-24f2-4e04-b327-b0b4de5a8886',
- },
- ],
- functionParameter: {
- number1: { name: 'number1', detail: 'first' },
- number2: { name: 'number2', detail: 'second' },
- },
- },
- FORECAST: {
- description: `Calculates, or predicts, a future value by using existing values.`,
- abstract: `Calculates, or predicts, a future value by using existing values.`,
- links: [
- {
- title: 'Instruction',
- url: 'https://support.microsoft.com/en-us/office/forecast-and-forecast-linear-functions-50ca49c9-7b40-4892-94e4-7ad38bbeda99',
- },
- ],
- functionParameter: {
- number1: { name: 'number1', detail: 'first' },
- number2: { name: 'number2', detail: 'second' },
- },
- },
FTEST: {
description: `Returns the result of an F-test`,
abstract: `Returns the result of an F-test`,
diff --git a/packages/sheets-formula/src/locale/function-list/compatibility/ja-JP.ts b/packages/sheets-formula/src/locale/function-list/compatibility/ja-JP.ts
index 612fdffb44..cdb8f8d4fb 100644
--- a/packages/sheets-formula/src/locale/function-list/compatibility/ja-JP.ts
+++ b/packages/sheets-formula/src/locale/function-list/compatibility/ja-JP.ts
@@ -99,20 +99,6 @@ export default {
number2: { name: 'number2', detail: 'second' },
},
},
- CONCATENATE: {
- description: `2 つ以上のテキスト文字列を 1 つの文字列に結合する`,
- abstract: `2 つ以上のテキスト文字列を 1 つの文字列に結合する`,
- links: [
- {
- title: '指導',
- url: 'https://support.microsoft.com/ja-jp/office/concatenate-%E9%96%A2%E6%95%B0-8f8ae884-2ca8-4f7a-b093-75d702bea31d',
- },
- ],
- functionParameter: {
- number1: { name: 'number1', detail: 'first' },
- number2: { name: 'number2', detail: 'second' },
- },
- },
CONFIDENCE: {
description: `母集団に対する信頼区間を返します。`,
abstract: `母集団に対する信頼区間を返します。`,
@@ -197,34 +183,6 @@ export default {
number2: { name: 'number2', detail: 'second' },
},
},
- FLOOR: {
- description: `数値を指定された桁数で切り捨てます。`,
- abstract: `数値を指定された桁数で切り捨てます。`,
- links: [
- {
- title: '指導',
- url: 'https://support.microsoft.com/ja-jp/office/floor-%E9%96%A2%E6%95%B0-14bb497c-24f2-4e04-b327-b0b4de5a8886',
- },
- ],
- functionParameter: {
- number1: { name: 'number1', detail: 'first' },
- number2: { name: 'number2', detail: 'second' },
- },
- },
- FORECAST: {
- description: `既存の値を使用して、将来の値を計算または予測します。`,
- abstract: `既存の値を使用して、将来の値を計算または予測します。`,
- links: [
- {
- title: '指導',
- url: 'https://support.microsoft.com/ja-jp/office/%E4%BA%88%E6%B8%AC%E3%81%A8%E4%BA%88%E6%B8%AC-linear-%E9%96%A2%E6%95%B0-50ca49c9-7b40-4892-94e4-7ad38bbeda99',
- },
- ],
- functionParameter: {
- number1: { name: 'number1', detail: 'first' },
- number2: { name: 'number2', detail: 'second' },
- },
- },
FTEST: {
description: `F 検定の結果を返します。`,
abstract: `F 検定の結果を返します。`,
diff --git a/packages/sheets-formula/src/locale/function-list/compatibility/zh-CN.ts b/packages/sheets-formula/src/locale/function-list/compatibility/zh-CN.ts
index 7ae5296f82..7f08b03845 100644
--- a/packages/sheets-formula/src/locale/function-list/compatibility/zh-CN.ts
+++ b/packages/sheets-formula/src/locale/function-list/compatibility/zh-CN.ts
@@ -99,20 +99,6 @@ export default {
number2: { name: 'number2', detail: 'second' },
},
},
- CONCATENATE: {
- description: '将 2 个或多个文本字符串联接成 1 个字符串',
- abstract: '将 2 个或多个文本字符串联接成 1 个字符串',
- links: [
- {
- title: '教学',
- url: 'https://support.microsoft.com/zh-cn/office/concatenate-%E5%87%BD%E6%95%B0-8f8ae884-2ca8-4f7a-b093-75d702bea31d',
- },
- ],
- functionParameter: {
- number1: { name: 'number1', detail: 'first' },
- number2: { name: 'number2', detail: 'second' },
- },
- },
CONFIDENCE: {
description: '返回总体平均值的置信区间',
abstract: '返回总体平均值的置信区间',
@@ -197,34 +183,6 @@ export default {
number2: { name: 'number2', detail: 'second' },
},
},
- FLOOR: {
- description: '向绝对值减小的方向舍入数字',
- abstract: '向绝对值减小的方向舍入数字',
- links: [
- {
- title: '教学',
- url: 'https://support.microsoft.com/zh-cn/office/floor-%E5%87%BD%E6%95%B0-14bb497c-24f2-4e04-b327-b0b4de5a8886',
- },
- ],
- functionParameter: {
- number1: { name: 'number1', detail: 'first' },
- number2: { name: 'number2', detail: 'second' },
- },
- },
- FORECAST: {
- description: '使用现有值来计算或预测未来值。',
- abstract: '使用现有值来计算或预测未来值。',
- links: [
- {
- title: '教学',
- url: 'https://support.microsoft.com/zh-cn/office/forecast-%E5%92%8C-forecast-linear-%E5%87%BD%E6%95%B0-50ca49c9-7b40-4892-94e4-7ad38bbeda99',
- },
- ],
- functionParameter: {
- number1: { name: 'number1', detail: 'first' },
- number2: { name: 'number2', detail: 'second' },
- },
- },
FTEST: {
description: '返回 F 检验的结果',
abstract: '返回 F 检验的结果',
diff --git a/packages/sheets-formula/src/locale/function-list/lookup/en-US.ts b/packages/sheets-formula/src/locale/function-list/lookup/en-US.ts
index 85682fb601..08dcfd6e87 100644
--- a/packages/sheets-formula/src/locale/function-list/lookup/en-US.ts
+++ b/packages/sheets-formula/src/locale/function-list/lookup/en-US.ts
@@ -16,7 +16,9 @@
export default {
ADDRESS: {
- description: `Returns a reference as text to a single cell in a worksheet`,
+ description: `Obtain the address of a cell in a worksheet, given specified row and column numbers. For example, ADDRESS(2,3) returns $C$2. As another example, ADDRESS(77,300) returns $KN$77. You can use other functions, such as the ROW and COLUMN functions, to provide the row and column number arguments for the ADDRESS function.
+
+ `,
abstract: `Returns a reference as text to a single cell in a worksheet`,
links: [
{
@@ -25,8 +27,26 @@ export default {
},
],
functionParameter: {
- number1: { name: 'number1', detail: 'first' },
- number2: { name: 'number2', detail: 'second' },
+ row_num: {
+ name: 'row number',
+ detail: 'A numeric value that specifies the row number to use in the cell reference.',
+ },
+ column_num: {
+ name: 'column number',
+ detail: 'A numeric value that specifies the column number to use in the cell reference.',
+ },
+ abs_num: {
+ name: 'type of reference',
+ detail: 'A numeric value that specifies the type of reference to return.',
+ },
+ a1: {
+ name: 'style of reference',
+ detail: 'A logical value that specifies the A1 or R1C1 reference style. In A1 style, columns are labeled alphabetically, and rows are labeled numerically. In R1C1 reference style, both columns and rows are labeled numerically. If the A1 argument is TRUE or omitted, the ADDRESS function returns an A1-style reference; if FALSE, the ADDRESS function returns an R1C1-style reference.',
+ },
+ sheet_text: {
+ name: 'worksheet name',
+ detail: 'A text value that specifies the name of the worksheet to be used as the external reference. For example, the formula =ADDRESS(1,1,,,"Sheet2") returns Sheet2!$A$1. If the sheet_text argument is omitted, no sheet name is used, and the address returned by the function refers to a cell on the current sheet.',
+ },
},
},
AREAS: {
diff --git a/packages/sheets-formula/src/locale/function-list/lookup/ja-JP.ts b/packages/sheets-formula/src/locale/function-list/lookup/ja-JP.ts
index 96ea14470d..e14f70c18c 100644
--- a/packages/sheets-formula/src/locale/function-list/lookup/ja-JP.ts
+++ b/packages/sheets-formula/src/locale/function-list/lookup/ja-JP.ts
@@ -16,7 +16,7 @@
export default {
ADDRESS: {
- description: `ワークシート上のセル参照を文字列として返します。`,
+ description: `ADDRESS 関数を使うと、行番号と列番号を指定して、ワークシート内のセルのアドレスを取得できます。 たとえば、ADDRESS(2,3) は $C$2 を返します。 また、ADDRESS(77,300) は $KN$77 を返します。 ROW 関数や COLUMN 関数などの他の関数を使って、ADDRESS 関数の行番号と列番号の引数を指定できます。`,
abstract: `ワークシート上のセル参照を文字列として返します。`,
links: [
{
@@ -25,8 +25,17 @@ export default {
},
],
functionParameter: {
- number1: { name: 'number1', detail: 'first' },
- number2: { name: 'number2', detail: 'second' },
+ row_num: { name: '行番号', detail: 'セル参照に使用する行番号を指定する数値。' },
+ column_num: { name: '列番号', detail: 'セル参照に使用する列番号を指定する数値。' },
+ abs_num: { name: '参照の型', detail: '返される参照の種類を指定する数値。' },
+ a1: {
+ name: '参照形式',
+ detail: 'A1 または R1C1 参照スタイルを指定する論理値。 A1 スタイルでは、列はアルファベット順にラベル付けされ、行は数値でラベル付けされます。 R1C1 参照スタイルでは、列と行の両方に数値ラベルが付けされます。 A1 引数が TRUE または省略された場合 、ADDRESS 関数は A1 スタイルの参照を返します。FALSE の場合 、ADDRESS 関数 は R1C1 スタイルの参照を返します。',
+ },
+ sheet_text: {
+ name: 'ワークシート名',
+ detail: '外部参照として使用するワークシートの名前を指定するテキスト値。 たとえば、数式 =ADDRESS(1,1,,,"Sheet2") は Sheet2!$A $1 を返します。 sheet_text 引数 を 省略した場合、シート名は使用されません。関数によって返されるアドレスは、現在のシート上のセルを参照します。',
+ },
},
},
AREAS: {
diff --git a/packages/sheets-formula/src/locale/function-list/lookup/zh-CN.ts b/packages/sheets-formula/src/locale/function-list/lookup/zh-CN.ts
index a1a25da107..f526e2696a 100644
--- a/packages/sheets-formula/src/locale/function-list/lookup/zh-CN.ts
+++ b/packages/sheets-formula/src/locale/function-list/lookup/zh-CN.ts
@@ -16,7 +16,8 @@
export default {
ADDRESS: {
- description: '以文本形式将引用值返回到工作表的单个单元格',
+ description:
+ '根据指定行号和列号获得工作表中的某个单元格的地址。 例如,ADDRESS(2,3) 返回 $C$2。 再例如,ADDRESS(77,300) 返回 $KN$77。 可以使用其他函数(如 ROW 和 COLUMN 函数)为 ADDRESS 函数提供行号和列号参数。',
abstract: '以文本形式将引用值返回到工作表的单个单元格',
links: [
{
@@ -25,8 +26,17 @@ export default {
},
],
functionParameter: {
- number1: { name: 'number1', detail: 'first' },
- number2: { name: 'number2', detail: 'second' },
+ row_num: { name: '行号', detail: '一个数值,指定要在单元格引用中使用的行号。' },
+ column_num: { name: '列号', detail: '一个数值,指定要在单元格引用中使用的列号。' },
+ abs_num: { name: '引用类型', detail: '一个数值,指定要返回的引用类型。' },
+ a1: {
+ name: '引用样式',
+ detail: '一个逻辑值,指定 A1 或 R1C1 引用样式。 在 A1 样式中,列和行将分别按字母和数字顺序添加标签。 在 R1C1 引用样式中,列和行均按数字顺序添加标签。 如果参数 A1 为 TRUE 或被省略,则 ADDRESS 函数返回 A1 样式引用;如果为 FALSE,则 ADDRESS 函数返回 R1C1 样式引用。',
+ },
+ sheet_text: {
+ name: '工作表名称',
+ detail: '一个文本值,指定要用作外部引用的工作表的名称。 例如,公式=ADDRESS (1,1,,,"Sheet2") 返回 Sheet2!$A$1。 如果 sheet_text 参数,则不使用工作表名称,函数返回的地址引用当前工作表上的单元格。',
+ },
},
},
AREAS: {
diff --git a/packages/sheets-formula/src/locale/zh-CN.ts b/packages/sheets-formula/src/locale/zh-CN.ts
index ca3bce8d3d..8ef466ed79 100644
--- a/packages/sheets-formula/src/locale/zh-CN.ts
+++ b/packages/sheets-formula/src/locale/zh-CN.ts
@@ -82,6 +82,7 @@ export default {
web: 'Web',
array: '数组',
univer: 'Univer',
+ user: '用户自定义',
},
moreFunctions: {
diff --git a/packages/sheets-formula/src/services/description.service.ts b/packages/sheets-formula/src/services/description.service.ts
index a1052cf07f..f80cf54c9f 100644
--- a/packages/sheets-formula/src/services/description.service.ts
+++ b/packages/sheets-formula/src/services/description.service.ts
@@ -16,7 +16,25 @@
import { LocaleService } from '@univerjs/core';
import type { IFunctionInfo, IFunctionNames } from '@univerjs/engine-formula';
-import { IFunctionService } from '@univerjs/engine-formula';
+import {
+ functionCompatibility,
+ functionCube,
+ functionDatabase,
+ functionDate,
+ functionEngineering,
+ functionFinancial,
+ functionInformation,
+ functionLogical,
+ functionLookup,
+ functionMath,
+ functionMeta,
+ functionStatistical,
+ functionText,
+ functionUniver,
+ functionWeb,
+ IFunctionService,
+} from '@univerjs/engine-formula';
+import { functionArray } from '@univerjs/engine-formula/functions/array/function-map.js';
import type { IDisposable } from '@wendellhu/redi';
import { createIdentifier, Inject } from '@wendellhu/redi';
@@ -143,7 +161,32 @@ export class DescriptionService implements IDescriptionService, IDisposable {
private _registerDescription() {
const localeService = this._localeService;
- const functionList = FUNCTION_LIST.concat(this._description || []);
+
+ // TODO@Dushusir: Remove filtering after all formulas have been implemented
+ const functions = [
+ ...functionArray,
+ ...functionCompatibility,
+ ...functionCube,
+ ...functionDatabase,
+ ...functionDate,
+ ...functionEngineering,
+ ...functionFinancial,
+ ...functionInformation,
+ ...functionLogical,
+ ...functionLookup,
+ ...functionMath,
+ ...functionMeta,
+ ...functionStatistical,
+ ...functionText,
+ ...functionUniver,
+ ...functionWeb,
+ ].map((item) => item[1]) as IFunctionNames[];
+
+ const filterFunctionList = FUNCTION_LIST.filter((item) => {
+ return functions.includes(item.functionName as IFunctionNames);
+ });
+
+ const functionList = filterFunctionList.concat(this._description || []);
const functionListLocale = functionList.map((functionInfo) => ({
functionName: getFunctionName(functionInfo, localeService),
functionType: functionInfo.functionType,
diff --git a/packages/sheets-formula/src/services/function-list/compatibility.ts b/packages/sheets-formula/src/services/function-list/compatibility.ts
index e23e37fbca..6ac87df179 100644
--- a/packages/sheets-formula/src/services/function-list/compatibility.ts
+++ b/packages/sheets-formula/src/services/function-list/compatibility.ts
@@ -14,6 +14,843 @@
* limitations under the License.
*/
-import type { IFunctionInfo } from '@univerjs/engine-formula';
+import { FUNCTION_NAMES_COMPATIBILITY, FunctionType, type IFunctionInfo } from '@univerjs/engine-formula';
-export const FUNCTION_LIST_COMPATIBILITY: IFunctionInfo[] = [];
+export const FUNCTION_LIST_COMPATIBILITY: IFunctionInfo[] = [
+ {
+ functionName: FUNCTION_NAMES_COMPATIBILITY.BETADIST,
+ functionType: FunctionType.Compatibility,
+ description: 'formula.functionList.BETADIST.description',
+ abstract: 'formula.functionList.BETADIST.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.BETADIST.functionParameter.number1.name',
+ detail: 'formula.functionList.BETADIST.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.BETADIST.functionParameter.number2.name',
+ detail: 'formula.functionList.BETADIST.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_COMPATIBILITY.BETAINV,
+ functionType: FunctionType.Compatibility,
+ description: 'formula.functionList.BETAINV.description',
+ abstract: 'formula.functionList.BETAINV.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.BETAINV.functionParameter.number1.name',
+ detail: 'formula.functionList.BETAINV.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.BETAINV.functionParameter.number2.name',
+ detail: 'formula.functionList.BETAINV.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_COMPATIBILITY.BINOMDIST,
+ functionType: FunctionType.Compatibility,
+ description: 'formula.functionList.BINOMDIST.description',
+ abstract: 'formula.functionList.BINOMDIST.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.BINOMDIST.functionParameter.number1.name',
+ detail: 'formula.functionList.BINOMDIST.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.BINOMDIST.functionParameter.number2.name',
+ detail: 'formula.functionList.BINOMDIST.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_COMPATIBILITY.CHIDIST,
+ functionType: FunctionType.Compatibility,
+ description: 'formula.functionList.CHIDIST.description',
+ abstract: 'formula.functionList.CHIDIST.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.CHIDIST.functionParameter.number1.name',
+ detail: 'formula.functionList.CHIDIST.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.CHIDIST.functionParameter.number2.name',
+ detail: 'formula.functionList.CHIDIST.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_COMPATIBILITY.CHIINV,
+ functionType: FunctionType.Compatibility,
+ description: 'formula.functionList.CHIINV.description',
+ abstract: 'formula.functionList.CHIINV.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.CHIINV.functionParameter.number1.name',
+ detail: 'formula.functionList.CHIINV.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.CHIINV.functionParameter.number2.name',
+ detail: 'formula.functionList.CHIINV.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_COMPATIBILITY.CHITEST,
+ functionType: FunctionType.Compatibility,
+ description: 'formula.functionList.CHITEST.description',
+ abstract: 'formula.functionList.CHITEST.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.CHITEST.functionParameter.number1.name',
+ detail: 'formula.functionList.CHITEST.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.CHITEST.functionParameter.number2.name',
+ detail: 'formula.functionList.CHITEST.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_COMPATIBILITY.CONFIDENCE,
+ functionType: FunctionType.Compatibility,
+ description: 'formula.functionList.CONFIDENCE.description',
+ abstract: 'formula.functionList.CONFIDENCE.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.CONFIDENCE.functionParameter.number1.name',
+ detail: 'formula.functionList.CONFIDENCE.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.CONFIDENCE.functionParameter.number2.name',
+ detail: 'formula.functionList.CONFIDENCE.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_COMPATIBILITY.COVAR,
+ functionType: FunctionType.Compatibility,
+ description: 'formula.functionList.COVAR.description',
+ abstract: 'formula.functionList.COVAR.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.COVAR.functionParameter.number1.name',
+ detail: 'formula.functionList.COVAR.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.COVAR.functionParameter.number2.name',
+ detail: 'formula.functionList.COVAR.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_COMPATIBILITY.CRITBINOM,
+ functionType: FunctionType.Compatibility,
+ description: 'formula.functionList.CRITBINOM.description',
+ abstract: 'formula.functionList.CRITBINOM.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.CRITBINOM.functionParameter.number1.name',
+ detail: 'formula.functionList.CRITBINOM.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.CRITBINOM.functionParameter.number2.name',
+ detail: 'formula.functionList.CRITBINOM.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_COMPATIBILITY.EXPONDIST,
+ functionType: FunctionType.Compatibility,
+ description: 'formula.functionList.EXPONDIST.description',
+ abstract: 'formula.functionList.EXPONDIST.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.EXPONDIST.functionParameter.number1.name',
+ detail: 'formula.functionList.EXPONDIST.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.EXPONDIST.functionParameter.number2.name',
+ detail: 'formula.functionList.EXPONDIST.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_COMPATIBILITY.FDIST,
+ functionType: FunctionType.Compatibility,
+ description: 'formula.functionList.FDIST.description',
+ abstract: 'formula.functionList.FDIST.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.FDIST.functionParameter.number1.name',
+ detail: 'formula.functionList.FDIST.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.FDIST.functionParameter.number2.name',
+ detail: 'formula.functionList.FDIST.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_COMPATIBILITY.FINV,
+ functionType: FunctionType.Compatibility,
+ description: 'formula.functionList.FINV.description',
+ abstract: 'formula.functionList.FINV.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.FINV.functionParameter.number1.name',
+ detail: 'formula.functionList.FINV.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.FINV.functionParameter.number2.name',
+ detail: 'formula.functionList.FINV.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_COMPATIBILITY.FTEST,
+ functionType: FunctionType.Compatibility,
+ description: 'formula.functionList.FTEST.description',
+ abstract: 'formula.functionList.FTEST.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.FTEST.functionParameter.number1.name',
+ detail: 'formula.functionList.FTEST.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.FTEST.functionParameter.number2.name',
+ detail: 'formula.functionList.FTEST.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_COMPATIBILITY.GAMMADIST,
+ functionType: FunctionType.Compatibility,
+ description: 'formula.functionList.GAMMADIST.description',
+ abstract: 'formula.functionList.GAMMADIST.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.GAMMADIST.functionParameter.number1.name',
+ detail: 'formula.functionList.GAMMADIST.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.GAMMADIST.functionParameter.number2.name',
+ detail: 'formula.functionList.GAMMADIST.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_COMPATIBILITY.GAMMAINV,
+ functionType: FunctionType.Compatibility,
+ description: 'formula.functionList.GAMMAINV.description',
+ abstract: 'formula.functionList.GAMMAINV.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.GAMMAINV.functionParameter.number1.name',
+ detail: 'formula.functionList.GAMMAINV.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.GAMMAINV.functionParameter.number2.name',
+ detail: 'formula.functionList.GAMMAINV.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_COMPATIBILITY.HYPGEOMDIST,
+ functionType: FunctionType.Compatibility,
+ description: 'formula.functionList.HYPGEOMDIST.description',
+ abstract: 'formula.functionList.HYPGEOMDIST.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.HYPGEOMDIST.functionParameter.number1.name',
+ detail: 'formula.functionList.HYPGEOMDIST.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.HYPGEOMDIST.functionParameter.number2.name',
+ detail: 'formula.functionList.HYPGEOMDIST.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_COMPATIBILITY.LOGINV,
+ functionType: FunctionType.Compatibility,
+ description: 'formula.functionList.LOGINV.description',
+ abstract: 'formula.functionList.LOGINV.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.LOGINV.functionParameter.number1.name',
+ detail: 'formula.functionList.LOGINV.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.LOGINV.functionParameter.number2.name',
+ detail: 'formula.functionList.LOGINV.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_COMPATIBILITY.LOGNORMDIST,
+ functionType: FunctionType.Compatibility,
+ description: 'formula.functionList.LOGNORMDIST.description',
+ abstract: 'formula.functionList.LOGNORMDIST.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.LOGNORMDIST.functionParameter.number1.name',
+ detail: 'formula.functionList.LOGNORMDIST.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.LOGNORMDIST.functionParameter.number2.name',
+ detail: 'formula.functionList.LOGNORMDIST.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_COMPATIBILITY.MODE,
+ functionType: FunctionType.Compatibility,
+ description: 'formula.functionList.MODE.description',
+ abstract: 'formula.functionList.MODE.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.MODE.functionParameter.number1.name',
+ detail: 'formula.functionList.MODE.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.MODE.functionParameter.number2.name',
+ detail: 'formula.functionList.MODE.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_COMPATIBILITY.NEGBINOMDIST,
+ functionType: FunctionType.Compatibility,
+ description: 'formula.functionList.NEGBINOMDIST.description',
+ abstract: 'formula.functionList.NEGBINOMDIST.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.NEGBINOMDIST.functionParameter.number1.name',
+ detail: 'formula.functionList.NEGBINOMDIST.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.NEGBINOMDIST.functionParameter.number2.name',
+ detail: 'formula.functionList.NEGBINOMDIST.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_COMPATIBILITY.NORMDIST,
+ functionType: FunctionType.Compatibility,
+ description: 'formula.functionList.NORMDIST.description',
+ abstract: 'formula.functionList.NORMDIST.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.NORMDIST.functionParameter.number1.name',
+ detail: 'formula.functionList.NORMDIST.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.NORMDIST.functionParameter.number2.name',
+ detail: 'formula.functionList.NORMDIST.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_COMPATIBILITY.NORMINV,
+ functionType: FunctionType.Compatibility,
+ description: 'formula.functionList.NORMINV.description',
+ abstract: 'formula.functionList.NORMINV.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.NORMINV.functionParameter.number1.name',
+ detail: 'formula.functionList.NORMINV.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.NORMINV.functionParameter.number2.name',
+ detail: 'formula.functionList.NORMINV.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_COMPATIBILITY.NORMSDIST,
+ functionType: FunctionType.Compatibility,
+ description: 'formula.functionList.NORMSDIST.description',
+ abstract: 'formula.functionList.NORMSDIST.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.NORMSDIST.functionParameter.number1.name',
+ detail: 'formula.functionList.NORMSDIST.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.NORMSDIST.functionParameter.number2.name',
+ detail: 'formula.functionList.NORMSDIST.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_COMPATIBILITY.NORMSINV,
+ functionType: FunctionType.Compatibility,
+ description: 'formula.functionList.NORMSINV.description',
+ abstract: 'formula.functionList.NORMSINV.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.NORMSINV.functionParameter.number1.name',
+ detail: 'formula.functionList.NORMSINV.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.NORMSINV.functionParameter.number2.name',
+ detail: 'formula.functionList.NORMSINV.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_COMPATIBILITY.PERCENTILE,
+ functionType: FunctionType.Compatibility,
+ description: 'formula.functionList.PERCENTILE.description',
+ abstract: 'formula.functionList.PERCENTILE.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.PERCENTILE.functionParameter.number1.name',
+ detail: 'formula.functionList.PERCENTILE.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.PERCENTILE.functionParameter.number2.name',
+ detail: 'formula.functionList.PERCENTILE.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_COMPATIBILITY.PERCENTRANK,
+ functionType: FunctionType.Compatibility,
+ description: 'formula.functionList.PERCENTRANK.description',
+ abstract: 'formula.functionList.PERCENTRANK.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.PERCENTRANK.functionParameter.number1.name',
+ detail: 'formula.functionList.PERCENTRANK.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.PERCENTRANK.functionParameter.number2.name',
+ detail: 'formula.functionList.PERCENTRANK.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_COMPATIBILITY.POISSON,
+ functionType: FunctionType.Compatibility,
+ description: 'formula.functionList.POISSON.description',
+ abstract: 'formula.functionList.POISSON.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.POISSON.functionParameter.number1.name',
+ detail: 'formula.functionList.POISSON.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.POISSON.functionParameter.number2.name',
+ detail: 'formula.functionList.POISSON.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_COMPATIBILITY.QUARTILE,
+ functionType: FunctionType.Compatibility,
+ description: 'formula.functionList.QUARTILE.description',
+ abstract: 'formula.functionList.QUARTILE.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.QUARTILE.functionParameter.number1.name',
+ detail: 'formula.functionList.QUARTILE.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.QUARTILE.functionParameter.number2.name',
+ detail: 'formula.functionList.QUARTILE.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_COMPATIBILITY.RANK,
+ functionType: FunctionType.Compatibility,
+ description: 'formula.functionList.RANK.description',
+ abstract: 'formula.functionList.RANK.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.RANK.functionParameter.number1.name',
+ detail: 'formula.functionList.RANK.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.RANK.functionParameter.number2.name',
+ detail: 'formula.functionList.RANK.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_COMPATIBILITY.STDEV,
+ functionType: FunctionType.Compatibility,
+ description: 'formula.functionList.STDEV.description',
+ abstract: 'formula.functionList.STDEV.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.STDEV.functionParameter.number1.name',
+ detail: 'formula.functionList.STDEV.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.STDEV.functionParameter.number2.name',
+ detail: 'formula.functionList.STDEV.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_COMPATIBILITY.STDEVP,
+ functionType: FunctionType.Compatibility,
+ description: 'formula.functionList.STDEVP.description',
+ abstract: 'formula.functionList.STDEVP.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.STDEVP.functionParameter.number1.name',
+ detail: 'formula.functionList.STDEVP.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.STDEVP.functionParameter.number2.name',
+ detail: 'formula.functionList.STDEVP.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_COMPATIBILITY.TDIST,
+ functionType: FunctionType.Compatibility,
+ description: 'formula.functionList.TDIST.description',
+ abstract: 'formula.functionList.TDIST.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.TDIST.functionParameter.number1.name',
+ detail: 'formula.functionList.TDIST.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.TDIST.functionParameter.number2.name',
+ detail: 'formula.functionList.TDIST.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_COMPATIBILITY.TINV,
+ functionType: FunctionType.Compatibility,
+ description: 'formula.functionList.TINV.description',
+ abstract: 'formula.functionList.TINV.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.TINV.functionParameter.number1.name',
+ detail: 'formula.functionList.TINV.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.TINV.functionParameter.number2.name',
+ detail: 'formula.functionList.TINV.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_COMPATIBILITY.TTEST,
+ functionType: FunctionType.Compatibility,
+ description: 'formula.functionList.TTEST.description',
+ abstract: 'formula.functionList.TTEST.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.TTEST.functionParameter.number1.name',
+ detail: 'formula.functionList.TTEST.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.TTEST.functionParameter.number2.name',
+ detail: 'formula.functionList.TTEST.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_COMPATIBILITY.VAR,
+ functionType: FunctionType.Compatibility,
+ description: 'formula.functionList.VAR.description',
+ abstract: 'formula.functionList.VAR.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.VAR.functionParameter.number1.name',
+ detail: 'formula.functionList.VAR.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.VAR.functionParameter.number2.name',
+ detail: 'formula.functionList.VAR.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_COMPATIBILITY.VARP,
+ functionType: FunctionType.Compatibility,
+ description: 'formula.functionList.VARP.description',
+ abstract: 'formula.functionList.VARP.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.VARP.functionParameter.number1.name',
+ detail: 'formula.functionList.VARP.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.VARP.functionParameter.number2.name',
+ detail: 'formula.functionList.VARP.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_COMPATIBILITY.WEIBULL,
+ functionType: FunctionType.Compatibility,
+ description: 'formula.functionList.WEIBULL.description',
+ abstract: 'formula.functionList.WEIBULL.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.WEIBULL.functionParameter.number1.name',
+ detail: 'formula.functionList.WEIBULL.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.WEIBULL.functionParameter.number2.name',
+ detail: 'formula.functionList.WEIBULL.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_COMPATIBILITY.ZTEST,
+ functionType: FunctionType.Compatibility,
+ description: 'formula.functionList.ZTEST.description',
+ abstract: 'formula.functionList.ZTEST.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.ZTEST.functionParameter.number1.name',
+ detail: 'formula.functionList.ZTEST.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.ZTEST.functionParameter.number2.name',
+ detail: 'formula.functionList.ZTEST.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+];
diff --git a/packages/sheets-formula/src/services/function-list/cube.ts b/packages/sheets-formula/src/services/function-list/cube.ts
index bb90a232a8..ab8ef40b56 100644
--- a/packages/sheets-formula/src/services/function-list/cube.ts
+++ b/packages/sheets-formula/src/services/function-list/cube.ts
@@ -14,6 +14,161 @@
* limitations under the License.
*/
-import type { IFunctionInfo } from '@univerjs/engine-formula';
+import { FUNCTION_NAMES_CUBE, FunctionType, type IFunctionInfo } from '@univerjs/engine-formula';
-export const FUNCTION_LIST_CUBE: IFunctionInfo[] = [];
+export const FUNCTION_LIST_CUBE: IFunctionInfo[] = [
+ {
+ functionName: FUNCTION_NAMES_CUBE.CUBEKPIMEMBER,
+ functionType: FunctionType.Cube,
+ description: 'formula.functionList.CUBEKPIMEMBER.description',
+ abstract: 'formula.functionList.CUBEKPIMEMBER.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.CUBEKPIMEMBER.functionParameter.number1.name',
+ detail: 'formula.functionList.CUBEKPIMEMBER.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.CUBEKPIMEMBER.functionParameter.number2.name',
+ detail: 'formula.functionList.CUBEKPIMEMBER.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_CUBE.CUBEMEMBER,
+ functionType: FunctionType.Cube,
+ description: 'formula.functionList.CUBEMEMBER.description',
+ abstract: 'formula.functionList.CUBEMEMBER.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.CUBEMEMBER.functionParameter.number1.name',
+ detail: 'formula.functionList.CUBEMEMBER.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.CUBEMEMBER.functionParameter.number2.name',
+ detail: 'formula.functionList.CUBEMEMBER.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_CUBE.CUBEMEMBERPROPERTY,
+ functionType: FunctionType.Cube,
+ description: 'formula.functionList.CUBEMEMBERPROPERTY.description',
+ abstract: 'formula.functionList.CUBEMEMBERPROPERTY.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.CUBEMEMBERPROPERTY.functionParameter.number1.name',
+ detail: 'formula.functionList.CUBEMEMBERPROPERTY.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.CUBEMEMBERPROPERTY.functionParameter.number2.name',
+ detail: 'formula.functionList.CUBEMEMBERPROPERTY.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_CUBE.CUBERANKEDMEMBER,
+ functionType: FunctionType.Cube,
+ description: 'formula.functionList.CUBERANKEDMEMBER.description',
+ abstract: 'formula.functionList.CUBERANKEDMEMBER.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.CUBERANKEDMEMBER.functionParameter.number1.name',
+ detail: 'formula.functionList.CUBERANKEDMEMBER.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.CUBERANKEDMEMBER.functionParameter.number2.name',
+ detail: 'formula.functionList.CUBERANKEDMEMBER.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_CUBE.CUBESET,
+ functionType: FunctionType.Cube,
+ description: 'formula.functionList.CUBESET.description',
+ abstract: 'formula.functionList.CUBESET.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.CUBESET.functionParameter.number1.name',
+ detail: 'formula.functionList.CUBESET.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.CUBESET.functionParameter.number2.name',
+ detail: 'formula.functionList.CUBESET.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_CUBE.CUBESETCOUNT,
+ functionType: FunctionType.Cube,
+ description: 'formula.functionList.CUBESETCOUNT.description',
+ abstract: 'formula.functionList.CUBESETCOUNT.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.CUBESETCOUNT.functionParameter.number1.name',
+ detail: 'formula.functionList.CUBESETCOUNT.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.CUBESETCOUNT.functionParameter.number2.name',
+ detail: 'formula.functionList.CUBESETCOUNT.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_CUBE.CUBEVALUE,
+ functionType: FunctionType.Cube,
+ description: 'formula.functionList.CUBEVALUE.description',
+ abstract: 'formula.functionList.CUBEVALUE.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.CUBEVALUE.functionParameter.number1.name',
+ detail: 'formula.functionList.CUBEVALUE.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.CUBEVALUE.functionParameter.number2.name',
+ detail: 'formula.functionList.CUBEVALUE.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+];
diff --git a/packages/sheets-formula/src/services/function-list/database.ts b/packages/sheets-formula/src/services/function-list/database.ts
index d990fc0353..7369084d4c 100644
--- a/packages/sheets-formula/src/services/function-list/database.ts
+++ b/packages/sheets-formula/src/services/function-list/database.ts
@@ -14,6 +14,271 @@
* limitations under the License.
*/
-import type { IFunctionInfo } from '@univerjs/engine-formula';
+import { FUNCTION_NAMES_DATABASE, FunctionType, type IFunctionInfo } from '@univerjs/engine-formula';
-export const FUNCTION_LIST_DATABASE: IFunctionInfo[] = [];
+export const FUNCTION_LIST_DATABASE: IFunctionInfo[] = [
+ {
+ functionName: FUNCTION_NAMES_DATABASE.DAVERAGE,
+ functionType: FunctionType.Database,
+ description: 'formula.functionList.DAVERAGE.description',
+ abstract: 'formula.functionList.DAVERAGE.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.DAVERAGE.functionParameter.number1.name',
+ detail: 'formula.functionList.DAVERAGE.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.DAVERAGE.functionParameter.number2.name',
+ detail: 'formula.functionList.DAVERAGE.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_DATABASE.DCOUNT,
+ functionType: FunctionType.Database,
+ description: 'formula.functionList.DCOUNT.description',
+ abstract: 'formula.functionList.DCOUNT.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.DCOUNT.functionParameter.number1.name',
+ detail: 'formula.functionList.DCOUNT.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.DCOUNT.functionParameter.number2.name',
+ detail: 'formula.functionList.DCOUNT.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_DATABASE.DCOUNTA,
+ functionType: FunctionType.Database,
+ description: 'formula.functionList.DCOUNTA.description',
+ abstract: 'formula.functionList.DCOUNTA.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.DCOUNTA.functionParameter.number1.name',
+ detail: 'formula.functionList.DCOUNTA.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.DCOUNTA.functionParameter.number2.name',
+ detail: 'formula.functionList.DCOUNTA.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_DATABASE.DGET,
+ functionType: FunctionType.Database,
+ description: 'formula.functionList.DGET.description',
+ abstract: 'formula.functionList.DGET.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.DGET.functionParameter.number1.name',
+ detail: 'formula.functionList.DGET.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.DGET.functionParameter.number2.name',
+ detail: 'formula.functionList.DGET.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_DATABASE.DMAX,
+ functionType: FunctionType.Database,
+ description: 'formula.functionList.DMAX.description',
+ abstract: 'formula.functionList.DMAX.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.DMAX.functionParameter.number1.name',
+ detail: 'formula.functionList.DMAX.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.DMAX.functionParameter.number2.name',
+ detail: 'formula.functionList.DMAX.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_DATABASE.DMIN,
+ functionType: FunctionType.Database,
+ description: 'formula.functionList.DMIN.description',
+ abstract: 'formula.functionList.DMIN.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.DMIN.functionParameter.number1.name',
+ detail: 'formula.functionList.DMIN.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.DMIN.functionParameter.number2.name',
+ detail: 'formula.functionList.DMIN.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_DATABASE.DPRODUCT,
+ functionType: FunctionType.Database,
+ description: 'formula.functionList.DPRODUCT.description',
+ abstract: 'formula.functionList.DPRODUCT.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.DPRODUCT.functionParameter.number1.name',
+ detail: 'formula.functionList.DPRODUCT.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.DPRODUCT.functionParameter.number2.name',
+ detail: 'formula.functionList.DPRODUCT.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_DATABASE.DSTDEV,
+ functionType: FunctionType.Database,
+ description: 'formula.functionList.DSTDEV.description',
+ abstract: 'formula.functionList.DSTDEV.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.DSTDEV.functionParameter.number1.name',
+ detail: 'formula.functionList.DSTDEV.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.DSTDEV.functionParameter.number2.name',
+ detail: 'formula.functionList.DSTDEV.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_DATABASE.DSTDEVP,
+ functionType: FunctionType.Database,
+ description: 'formula.functionList.DSTDEVP.description',
+ abstract: 'formula.functionList.DSTDEVP.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.DSTDEVP.functionParameter.number1.name',
+ detail: 'formula.functionList.DSTDEVP.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.DSTDEVP.functionParameter.number2.name',
+ detail: 'formula.functionList.DSTDEVP.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_DATABASE.DSUM,
+ functionType: FunctionType.Database,
+ description: 'formula.functionList.DSUM.description',
+ abstract: 'formula.functionList.DSUM.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.DSUM.functionParameter.number1.name',
+ detail: 'formula.functionList.DSUM.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.DSUM.functionParameter.number2.name',
+ detail: 'formula.functionList.DSUM.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_DATABASE.DVAR,
+ functionType: FunctionType.Database,
+ description: 'formula.functionList.DVAR.description',
+ abstract: 'formula.functionList.DVAR.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.DVAR.functionParameter.number1.name',
+ detail: 'formula.functionList.DVAR.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.DVAR.functionParameter.number2.name',
+ detail: 'formula.functionList.DVAR.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_DATABASE.DVARP,
+ functionType: FunctionType.Database,
+ description: 'formula.functionList.DVARP.description',
+ abstract: 'formula.functionList.DVARP.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.DVARP.functionParameter.number1.name',
+ detail: 'formula.functionList.DVARP.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.DVARP.functionParameter.number2.name',
+ detail: 'formula.functionList.DVARP.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+];
diff --git a/packages/sheets-formula/src/services/function-list/date.ts b/packages/sheets-formula/src/services/function-list/date.ts
index 5dafd22055..c672f15d36 100644
--- a/packages/sheets-formula/src/services/function-list/date.ts
+++ b/packages/sheets-formula/src/services/function-list/date.ts
@@ -14,6 +14,557 @@
* limitations under the License.
*/
-import type { IFunctionInfo } from '@univerjs/engine-formula';
+import { FUNCTION_NAMES_DATE, FunctionType, type IFunctionInfo } from '@univerjs/engine-formula';
-export const FUNCTION_LIST_DATE: IFunctionInfo[] = [];
+export const FUNCTION_LIST_DATE: IFunctionInfo[] = [
+ {
+ functionName: FUNCTION_NAMES_DATE.DATE,
+ functionType: FunctionType.Date,
+ description: 'formula.functionList.DATE.description',
+ abstract: 'formula.functionList.DATE.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.DATE.functionParameter.number1.name',
+ detail: 'formula.functionList.DATE.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.DATE.functionParameter.number2.name',
+ detail: 'formula.functionList.DATE.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_DATE.DATEDIF,
+ functionType: FunctionType.Date,
+ description: 'formula.functionList.DATEDIF.description',
+ abstract: 'formula.functionList.DATEDIF.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.DATEDIF.functionParameter.number1.name',
+ detail: 'formula.functionList.DATEDIF.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.DATEDIF.functionParameter.number2.name',
+ detail: 'formula.functionList.DATEDIF.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_DATE.DATEVALUE,
+ functionType: FunctionType.Date,
+ description: 'formula.functionList.DATEVALUE.description',
+ abstract: 'formula.functionList.DATEVALUE.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.DATEVALUE.functionParameter.number1.name',
+ detail: 'formula.functionList.DATEVALUE.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.DATEVALUE.functionParameter.number2.name',
+ detail: 'formula.functionList.DATEVALUE.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_DATE.DAY,
+ functionType: FunctionType.Date,
+ description: 'formula.functionList.DAY.description',
+ abstract: 'formula.functionList.DAY.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.DAY.functionParameter.number1.name',
+ detail: 'formula.functionList.DAY.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.DAY.functionParameter.number2.name',
+ detail: 'formula.functionList.DAY.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_DATE.DAYS,
+ functionType: FunctionType.Date,
+ description: 'formula.functionList.DAYS.description',
+ abstract: 'formula.functionList.DAYS.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.DAYS.functionParameter.number1.name',
+ detail: 'formula.functionList.DAYS.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.DAYS.functionParameter.number2.name',
+ detail: 'formula.functionList.DAYS.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_DATE.DAYS360,
+ functionType: FunctionType.Date,
+ description: 'formula.functionList.DAYS360.description',
+ abstract: 'formula.functionList.DAYS360.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.DAYS360.functionParameter.number1.name',
+ detail: 'formula.functionList.DAYS360.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.DAYS360.functionParameter.number2.name',
+ detail: 'formula.functionList.DAYS360.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_DATE.EDATE,
+ functionType: FunctionType.Date,
+ description: 'formula.functionList.EDATE.description',
+ abstract: 'formula.functionList.EDATE.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.EDATE.functionParameter.number1.name',
+ detail: 'formula.functionList.EDATE.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.EDATE.functionParameter.number2.name',
+ detail: 'formula.functionList.EDATE.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_DATE.EOMONTH,
+ functionType: FunctionType.Date,
+ description: 'formula.functionList.EOMONTH.description',
+ abstract: 'formula.functionList.EOMONTH.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.EOMONTH.functionParameter.number1.name',
+ detail: 'formula.functionList.EOMONTH.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.EOMONTH.functionParameter.number2.name',
+ detail: 'formula.functionList.EOMONTH.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_DATE.HOUR,
+ functionType: FunctionType.Date,
+ description: 'formula.functionList.HOUR.description',
+ abstract: 'formula.functionList.HOUR.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.HOUR.functionParameter.number1.name',
+ detail: 'formula.functionList.HOUR.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.HOUR.functionParameter.number2.name',
+ detail: 'formula.functionList.HOUR.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_DATE.ISOWEEKNUM,
+ functionType: FunctionType.Date,
+ description: 'formula.functionList.ISOWEEKNUM.description',
+ abstract: 'formula.functionList.ISOWEEKNUM.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.ISOWEEKNUM.functionParameter.number1.name',
+ detail: 'formula.functionList.ISOWEEKNUM.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.ISOWEEKNUM.functionParameter.number2.name',
+ detail: 'formula.functionList.ISOWEEKNUM.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_DATE.MINUTE,
+ functionType: FunctionType.Date,
+ description: 'formula.functionList.MINUTE.description',
+ abstract: 'formula.functionList.MINUTE.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.MINUTE.functionParameter.number1.name',
+ detail: 'formula.functionList.MINUTE.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.MINUTE.functionParameter.number2.name',
+ detail: 'formula.functionList.MINUTE.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_DATE.MONTH,
+ functionType: FunctionType.Date,
+ description: 'formula.functionList.MONTH.description',
+ abstract: 'formula.functionList.MONTH.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.MONTH.functionParameter.number1.name',
+ detail: 'formula.functionList.MONTH.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.MONTH.functionParameter.number2.name',
+ detail: 'formula.functionList.MONTH.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_DATE.NETWORKDAYS,
+ functionType: FunctionType.Date,
+ description: 'formula.functionList.NETWORKDAYS.description',
+ abstract: 'formula.functionList.NETWORKDAYS.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.NETWORKDAYS.functionParameter.number1.name',
+ detail: 'formula.functionList.NETWORKDAYS.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.NETWORKDAYS.functionParameter.number2.name',
+ detail: 'formula.functionList.NETWORKDAYS.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_DATE.NETWORKDAYS_INTL,
+ functionType: FunctionType.Date,
+ description: 'formula.functionList.NETWORKDAYS_INTL.description',
+ abstract: 'formula.functionList.NETWORKDAYS_INTL.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.NETWORKDAYS_INTL.functionParameter.number1.name',
+ detail: 'formula.functionList.NETWORKDAYS_INTL.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.NETWORKDAYS_INTL.functionParameter.number2.name',
+ detail: 'formula.functionList.NETWORKDAYS_INTL.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_DATE.NOW,
+ functionType: FunctionType.Date,
+ description: 'formula.functionList.NOW.description',
+ abstract: 'formula.functionList.NOW.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.NOW.functionParameter.number1.name',
+ detail: 'formula.functionList.NOW.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.NOW.functionParameter.number2.name',
+ detail: 'formula.functionList.NOW.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_DATE.SECOND,
+ functionType: FunctionType.Date,
+ description: 'formula.functionList.SECOND.description',
+ abstract: 'formula.functionList.SECOND.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.SECOND.functionParameter.number1.name',
+ detail: 'formula.functionList.SECOND.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.SECOND.functionParameter.number2.name',
+ detail: 'formula.functionList.SECOND.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_DATE.TIME,
+ functionType: FunctionType.Date,
+ description: 'formula.functionList.TIME.description',
+ abstract: 'formula.functionList.TIME.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.TIME.functionParameter.number1.name',
+ detail: 'formula.functionList.TIME.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.TIME.functionParameter.number2.name',
+ detail: 'formula.functionList.TIME.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_DATE.TIMEVALUE,
+ functionType: FunctionType.Date,
+ description: 'formula.functionList.TIMEVALUE.description',
+ abstract: 'formula.functionList.TIMEVALUE.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.TIMEVALUE.functionParameter.number1.name',
+ detail: 'formula.functionList.TIMEVALUE.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.TIMEVALUE.functionParameter.number2.name',
+ detail: 'formula.functionList.TIMEVALUE.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_DATE.TODAY,
+ functionType: FunctionType.Date,
+ description: 'formula.functionList.TODAY.description',
+ abstract: 'formula.functionList.TODAY.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.TODAY.functionParameter.number1.name',
+ detail: 'formula.functionList.TODAY.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.TODAY.functionParameter.number2.name',
+ detail: 'formula.functionList.TODAY.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_DATE.WEEKDAY,
+ functionType: FunctionType.Date,
+ description: 'formula.functionList.WEEKDAY.description',
+ abstract: 'formula.functionList.WEEKDAY.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.WEEKDAY.functionParameter.number1.name',
+ detail: 'formula.functionList.WEEKDAY.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.WEEKDAY.functionParameter.number2.name',
+ detail: 'formula.functionList.WEEKDAY.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_DATE.WEEKNUM,
+ functionType: FunctionType.Date,
+ description: 'formula.functionList.WEEKNUM.description',
+ abstract: 'formula.functionList.WEEKNUM.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.WEEKNUM.functionParameter.number1.name',
+ detail: 'formula.functionList.WEEKNUM.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.WEEKNUM.functionParameter.number2.name',
+ detail: 'formula.functionList.WEEKNUM.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_DATE.WORKDAY,
+ functionType: FunctionType.Date,
+ description: 'formula.functionList.WORKDAY.description',
+ abstract: 'formula.functionList.WORKDAY.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.WORKDAY.functionParameter.number1.name',
+ detail: 'formula.functionList.WORKDAY.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.WORKDAY.functionParameter.number2.name',
+ detail: 'formula.functionList.WORKDAY.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_DATE.WORKDAY_INTL,
+ functionType: FunctionType.Date,
+ description: 'formula.functionList.WORKDAY_INTL.description',
+ abstract: 'formula.functionList.WORKDAY_INTL.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.WORKDAY_INTL.functionParameter.number1.name',
+ detail: 'formula.functionList.WORKDAY_INTL.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.WORKDAY_INTL.functionParameter.number2.name',
+ detail: 'formula.functionList.WORKDAY_INTL.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_DATE.YEAR,
+ functionType: FunctionType.Date,
+ description: 'formula.functionList.YEAR.description',
+ abstract: 'formula.functionList.YEAR.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.YEAR.functionParameter.number1.name',
+ detail: 'formula.functionList.YEAR.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.YEAR.functionParameter.number2.name',
+ detail: 'formula.functionList.YEAR.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_DATE.YEARFRAC,
+ functionType: FunctionType.Date,
+ description: 'formula.functionList.YEARFRAC.description',
+ abstract: 'formula.functionList.YEARFRAC.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.YEARFRAC.functionParameter.number1.name',
+ detail: 'formula.functionList.YEARFRAC.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.YEARFRAC.functionParameter.number2.name',
+ detail: 'formula.functionList.YEARFRAC.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+];
diff --git a/packages/sheets-formula/src/services/function-list/engineering.ts b/packages/sheets-formula/src/services/function-list/engineering.ts
index 9f5a126e90..acdc09a5c7 100644
--- a/packages/sheets-formula/src/services/function-list/engineering.ts
+++ b/packages/sheets-formula/src/services/function-list/engineering.ts
@@ -14,6 +14,1195 @@
* limitations under the License.
*/
-import type { IFunctionInfo } from '@univerjs/engine-formula';
+import { FUNCTION_NAMES_ENGINEERING, FunctionType, type IFunctionInfo } from '@univerjs/engine-formula';
-export const FUNCTION_LIST_ENGINEERING: IFunctionInfo[] = [];
+export const FUNCTION_LIST_ENGINEERING: IFunctionInfo[] = [
+ {
+ functionName: FUNCTION_NAMES_ENGINEERING.BESSELI,
+ functionType: FunctionType.Engineering,
+ description: 'formula.functionList.BESSELI.description',
+ abstract: 'formula.functionList.BESSELI.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.BESSELI.functionParameter.number1.name',
+ detail: 'formula.functionList.BESSELI.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.BESSELI.functionParameter.number2.name',
+ detail: 'formula.functionList.BESSELI.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_ENGINEERING.BESSELJ,
+ functionType: FunctionType.Engineering,
+ description: 'formula.functionList.BESSELJ.description',
+ abstract: 'formula.functionList.BESSELJ.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.BESSELJ.functionParameter.number1.name',
+ detail: 'formula.functionList.BESSELJ.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.BESSELJ.functionParameter.number2.name',
+ detail: 'formula.functionList.BESSELJ.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_ENGINEERING.BESSELK,
+ functionType: FunctionType.Engineering,
+ description: 'formula.functionList.BESSELK.description',
+ abstract: 'formula.functionList.BESSELK.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.BESSELK.functionParameter.number1.name',
+ detail: 'formula.functionList.BESSELK.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.BESSELK.functionParameter.number2.name',
+ detail: 'formula.functionList.BESSELK.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_ENGINEERING.BESSELY,
+ functionType: FunctionType.Engineering,
+ description: 'formula.functionList.BESSELY.description',
+ abstract: 'formula.functionList.BESSELY.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.BESSELY.functionParameter.number1.name',
+ detail: 'formula.functionList.BESSELY.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.BESSELY.functionParameter.number2.name',
+ detail: 'formula.functionList.BESSELY.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_ENGINEERING.BIN2DEC,
+ functionType: FunctionType.Engineering,
+ description: 'formula.functionList.BIN2DEC.description',
+ abstract: 'formula.functionList.BIN2DEC.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.BIN2DEC.functionParameter.number1.name',
+ detail: 'formula.functionList.BIN2DEC.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.BIN2DEC.functionParameter.number2.name',
+ detail: 'formula.functionList.BIN2DEC.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_ENGINEERING.BIN2HEX,
+ functionType: FunctionType.Engineering,
+ description: 'formula.functionList.BIN2HEX.description',
+ abstract: 'formula.functionList.BIN2HEX.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.BIN2HEX.functionParameter.number1.name',
+ detail: 'formula.functionList.BIN2HEX.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.BIN2HEX.functionParameter.number2.name',
+ detail: 'formula.functionList.BIN2HEX.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_ENGINEERING.BIN2OCT,
+ functionType: FunctionType.Engineering,
+ description: 'formula.functionList.BIN2OCT.description',
+ abstract: 'formula.functionList.BIN2OCT.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.BIN2OCT.functionParameter.number1.name',
+ detail: 'formula.functionList.BIN2OCT.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.BIN2OCT.functionParameter.number2.name',
+ detail: 'formula.functionList.BIN2OCT.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_ENGINEERING.BITAND,
+ functionType: FunctionType.Engineering,
+ description: 'formula.functionList.BITAND.description',
+ abstract: 'formula.functionList.BITAND.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.BITAND.functionParameter.number1.name',
+ detail: 'formula.functionList.BITAND.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.BITAND.functionParameter.number2.name',
+ detail: 'formula.functionList.BITAND.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_ENGINEERING.BITLSHIFT,
+ functionType: FunctionType.Engineering,
+ description: 'formula.functionList.BITLSHIFT.description',
+ abstract: 'formula.functionList.BITLSHIFT.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.BITLSHIFT.functionParameter.number1.name',
+ detail: 'formula.functionList.BITLSHIFT.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.BITLSHIFT.functionParameter.number2.name',
+ detail: 'formula.functionList.BITLSHIFT.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_ENGINEERING.BITOR,
+ functionType: FunctionType.Engineering,
+ description: 'formula.functionList.BITOR.description',
+ abstract: 'formula.functionList.BITOR.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.BITOR.functionParameter.number1.name',
+ detail: 'formula.functionList.BITOR.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.BITOR.functionParameter.number2.name',
+ detail: 'formula.functionList.BITOR.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_ENGINEERING.BITRSHIFT,
+ functionType: FunctionType.Engineering,
+ description: 'formula.functionList.BITRSHIFT.description',
+ abstract: 'formula.functionList.BITRSHIFT.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.BITRSHIFT.functionParameter.number1.name',
+ detail: 'formula.functionList.BITRSHIFT.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.BITRSHIFT.functionParameter.number2.name',
+ detail: 'formula.functionList.BITRSHIFT.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_ENGINEERING.BITXOR,
+ functionType: FunctionType.Engineering,
+ description: 'formula.functionList.BITXOR.description',
+ abstract: 'formula.functionList.BITXOR.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.BITXOR.functionParameter.number1.name',
+ detail: 'formula.functionList.BITXOR.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.BITXOR.functionParameter.number2.name',
+ detail: 'formula.functionList.BITXOR.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_ENGINEERING.COMPLEX,
+ functionType: FunctionType.Engineering,
+ description: 'formula.functionList.COMPLEX.description',
+ abstract: 'formula.functionList.COMPLEX.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.COMPLEX.functionParameter.number1.name',
+ detail: 'formula.functionList.COMPLEX.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.COMPLEX.functionParameter.number2.name',
+ detail: 'formula.functionList.COMPLEX.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_ENGINEERING.CONVERT,
+ functionType: FunctionType.Engineering,
+ description: 'formula.functionList.CONVERT.description',
+ abstract: 'formula.functionList.CONVERT.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.CONVERT.functionParameter.number1.name',
+ detail: 'formula.functionList.CONVERT.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.CONVERT.functionParameter.number2.name',
+ detail: 'formula.functionList.CONVERT.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_ENGINEERING.DEC2BIN,
+ functionType: FunctionType.Engineering,
+ description: 'formula.functionList.DEC2BIN.description',
+ abstract: 'formula.functionList.DEC2BIN.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.DEC2BIN.functionParameter.number1.name',
+ detail: 'formula.functionList.DEC2BIN.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.DEC2BIN.functionParameter.number2.name',
+ detail: 'formula.functionList.DEC2BIN.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_ENGINEERING.DEC2HEX,
+ functionType: FunctionType.Engineering,
+ description: 'formula.functionList.DEC2HEX.description',
+ abstract: 'formula.functionList.DEC2HEX.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.DEC2HEX.functionParameter.number1.name',
+ detail: 'formula.functionList.DEC2HEX.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.DEC2HEX.functionParameter.number2.name',
+ detail: 'formula.functionList.DEC2HEX.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_ENGINEERING.DEC2OCT,
+ functionType: FunctionType.Engineering,
+ description: 'formula.functionList.DEC2OCT.description',
+ abstract: 'formula.functionList.DEC2OCT.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.DEC2OCT.functionParameter.number1.name',
+ detail: 'formula.functionList.DEC2OCT.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.DEC2OCT.functionParameter.number2.name',
+ detail: 'formula.functionList.DEC2OCT.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_ENGINEERING.DELTA,
+ functionType: FunctionType.Engineering,
+ description: 'formula.functionList.DELTA.description',
+ abstract: 'formula.functionList.DELTA.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.DELTA.functionParameter.number1.name',
+ detail: 'formula.functionList.DELTA.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.DELTA.functionParameter.number2.name',
+ detail: 'formula.functionList.DELTA.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_ENGINEERING.ERF,
+ functionType: FunctionType.Engineering,
+ description: 'formula.functionList.ERF.description',
+ abstract: 'formula.functionList.ERF.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.ERF.functionParameter.number1.name',
+ detail: 'formula.functionList.ERF.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.ERF.functionParameter.number2.name',
+ detail: 'formula.functionList.ERF.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_ENGINEERING.ERF_PRECISE,
+ functionType: FunctionType.Engineering,
+ description: 'formula.functionList.ERF_PRECISE.description',
+ abstract: 'formula.functionList.ERF_PRECISE.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.ERF_PRECISE.functionParameter.number1.name',
+ detail: 'formula.functionList.ERF_PRECISE.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.ERF_PRECISE.functionParameter.number2.name',
+ detail: 'formula.functionList.ERF_PRECISE.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_ENGINEERING.ERFC,
+ functionType: FunctionType.Engineering,
+ description: 'formula.functionList.ERFC.description',
+ abstract: 'formula.functionList.ERFC.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.ERFC.functionParameter.number1.name',
+ detail: 'formula.functionList.ERFC.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.ERFC.functionParameter.number2.name',
+ detail: 'formula.functionList.ERFC.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_ENGINEERING.ERFC_PRECISE,
+ functionType: FunctionType.Engineering,
+ description: 'formula.functionList.ERFC_PRECISE.description',
+ abstract: 'formula.functionList.ERFC_PRECISE.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.ERFC_PRECISE.functionParameter.number1.name',
+ detail: 'formula.functionList.ERFC_PRECISE.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.ERFC_PRECISE.functionParameter.number2.name',
+ detail: 'formula.functionList.ERFC_PRECISE.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_ENGINEERING.GESTEP,
+ functionType: FunctionType.Engineering,
+ description: 'formula.functionList.GESTEP.description',
+ abstract: 'formula.functionList.GESTEP.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.GESTEP.functionParameter.number1.name',
+ detail: 'formula.functionList.GESTEP.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.GESTEP.functionParameter.number2.name',
+ detail: 'formula.functionList.GESTEP.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_ENGINEERING.HEX2BIN,
+ functionType: FunctionType.Engineering,
+ description: 'formula.functionList.HEX2BIN.description',
+ abstract: 'formula.functionList.HEX2BIN.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.HEX2BIN.functionParameter.number1.name',
+ detail: 'formula.functionList.HEX2BIN.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.HEX2BIN.functionParameter.number2.name',
+ detail: 'formula.functionList.HEX2BIN.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_ENGINEERING.HEX2DEC,
+ functionType: FunctionType.Engineering,
+ description: 'formula.functionList.HEX2DEC.description',
+ abstract: 'formula.functionList.HEX2DEC.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.HEX2DEC.functionParameter.number1.name',
+ detail: 'formula.functionList.HEX2DEC.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.HEX2DEC.functionParameter.number2.name',
+ detail: 'formula.functionList.HEX2DEC.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_ENGINEERING.HEX2OCT,
+ functionType: FunctionType.Engineering,
+ description: 'formula.functionList.HEX2OCT.description',
+ abstract: 'formula.functionList.HEX2OCT.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.HEX2OCT.functionParameter.number1.name',
+ detail: 'formula.functionList.HEX2OCT.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.HEX2OCT.functionParameter.number2.name',
+ detail: 'formula.functionList.HEX2OCT.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_ENGINEERING.IMABS,
+ functionType: FunctionType.Engineering,
+ description: 'formula.functionList.IMABS.description',
+ abstract: 'formula.functionList.IMABS.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.IMABS.functionParameter.number1.name',
+ detail: 'formula.functionList.IMABS.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.IMABS.functionParameter.number2.name',
+ detail: 'formula.functionList.IMABS.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_ENGINEERING.IMAGINARY,
+ functionType: FunctionType.Engineering,
+ description: 'formula.functionList.IMAGINARY.description',
+ abstract: 'formula.functionList.IMAGINARY.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.IMAGINARY.functionParameter.number1.name',
+ detail: 'formula.functionList.IMAGINARY.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.IMAGINARY.functionParameter.number2.name',
+ detail: 'formula.functionList.IMAGINARY.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_ENGINEERING.IMARGUMENT,
+ functionType: FunctionType.Engineering,
+ description: 'formula.functionList.IMARGUMENT.description',
+ abstract: 'formula.functionList.IMARGUMENT.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.IMARGUMENT.functionParameter.number1.name',
+ detail: 'formula.functionList.IMARGUMENT.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.IMARGUMENT.functionParameter.number2.name',
+ detail: 'formula.functionList.IMARGUMENT.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_ENGINEERING.IMCONJUGATE,
+ functionType: FunctionType.Engineering,
+ description: 'formula.functionList.IMCONJUGATE.description',
+ abstract: 'formula.functionList.IMCONJUGATE.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.IMCONJUGATE.functionParameter.number1.name',
+ detail: 'formula.functionList.IMCONJUGATE.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.IMCONJUGATE.functionParameter.number2.name',
+ detail: 'formula.functionList.IMCONJUGATE.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_ENGINEERING.IMCOS,
+ functionType: FunctionType.Engineering,
+ description: 'formula.functionList.IMCOS.description',
+ abstract: 'formula.functionList.IMCOS.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.IMCOS.functionParameter.number1.name',
+ detail: 'formula.functionList.IMCOS.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.IMCOS.functionParameter.number2.name',
+ detail: 'formula.functionList.IMCOS.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_ENGINEERING.IMCOSH,
+ functionType: FunctionType.Engineering,
+ description: 'formula.functionList.IMCOSH.description',
+ abstract: 'formula.functionList.IMCOSH.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.IMCOSH.functionParameter.number1.name',
+ detail: 'formula.functionList.IMCOSH.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.IMCOSH.functionParameter.number2.name',
+ detail: 'formula.functionList.IMCOSH.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_ENGINEERING.IMCOT,
+ functionType: FunctionType.Engineering,
+ description: 'formula.functionList.IMCOT.description',
+ abstract: 'formula.functionList.IMCOT.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.IMCOT.functionParameter.number1.name',
+ detail: 'formula.functionList.IMCOT.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.IMCOT.functionParameter.number2.name',
+ detail: 'formula.functionList.IMCOT.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_ENGINEERING.IMCSC,
+ functionType: FunctionType.Engineering,
+ description: 'formula.functionList.IMCSC.description',
+ abstract: 'formula.functionList.IMCSC.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.IMCSC.functionParameter.number1.name',
+ detail: 'formula.functionList.IMCSC.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.IMCSC.functionParameter.number2.name',
+ detail: 'formula.functionList.IMCSC.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_ENGINEERING.IMCSCH,
+ functionType: FunctionType.Engineering,
+ description: 'formula.functionList.IMCSCH.description',
+ abstract: 'formula.functionList.IMCSCH.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.IMCSCH.functionParameter.number1.name',
+ detail: 'formula.functionList.IMCSCH.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.IMCSCH.functionParameter.number2.name',
+ detail: 'formula.functionList.IMCSCH.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_ENGINEERING.IMDIV,
+ functionType: FunctionType.Engineering,
+ description: 'formula.functionList.IMDIV.description',
+ abstract: 'formula.functionList.IMDIV.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.IMDIV.functionParameter.number1.name',
+ detail: 'formula.functionList.IMDIV.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.IMDIV.functionParameter.number2.name',
+ detail: 'formula.functionList.IMDIV.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_ENGINEERING.IMEXP,
+ functionType: FunctionType.Engineering,
+ description: 'formula.functionList.IMEXP.description',
+ abstract: 'formula.functionList.IMEXP.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.IMEXP.functionParameter.number1.name',
+ detail: 'formula.functionList.IMEXP.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.IMEXP.functionParameter.number2.name',
+ detail: 'formula.functionList.IMEXP.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_ENGINEERING.IMLN,
+ functionType: FunctionType.Engineering,
+ description: 'formula.functionList.IMLN.description',
+ abstract: 'formula.functionList.IMLN.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.IMLN.functionParameter.number1.name',
+ detail: 'formula.functionList.IMLN.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.IMLN.functionParameter.number2.name',
+ detail: 'formula.functionList.IMLN.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_ENGINEERING.IMLOG10,
+ functionType: FunctionType.Engineering,
+ description: 'formula.functionList.IMLOG10.description',
+ abstract: 'formula.functionList.IMLOG10.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.IMLOG10.functionParameter.number1.name',
+ detail: 'formula.functionList.IMLOG10.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.IMLOG10.functionParameter.number2.name',
+ detail: 'formula.functionList.IMLOG10.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_ENGINEERING.IMLOG2,
+ functionType: FunctionType.Engineering,
+ description: 'formula.functionList.IMLOG2.description',
+ abstract: 'formula.functionList.IMLOG2.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.IMLOG2.functionParameter.number1.name',
+ detail: 'formula.functionList.IMLOG2.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.IMLOG2.functionParameter.number2.name',
+ detail: 'formula.functionList.IMLOG2.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_ENGINEERING.IMPOWER,
+ functionType: FunctionType.Engineering,
+ description: 'formula.functionList.IMPOWER.description',
+ abstract: 'formula.functionList.IMPOWER.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.IMPOWER.functionParameter.number1.name',
+ detail: 'formula.functionList.IMPOWER.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.IMPOWER.functionParameter.number2.name',
+ detail: 'formula.functionList.IMPOWER.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_ENGINEERING.IMPRODUCT,
+ functionType: FunctionType.Engineering,
+ description: 'formula.functionList.IMPRODUCT.description',
+ abstract: 'formula.functionList.IMPRODUCT.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.IMPRODUCT.functionParameter.number1.name',
+ detail: 'formula.functionList.IMPRODUCT.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.IMPRODUCT.functionParameter.number2.name',
+ detail: 'formula.functionList.IMPRODUCT.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_ENGINEERING.IMREAL,
+ functionType: FunctionType.Engineering,
+ description: 'formula.functionList.IMREAL.description',
+ abstract: 'formula.functionList.IMREAL.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.IMREAL.functionParameter.number1.name',
+ detail: 'formula.functionList.IMREAL.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.IMREAL.functionParameter.number2.name',
+ detail: 'formula.functionList.IMREAL.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_ENGINEERING.IMSEC,
+ functionType: FunctionType.Engineering,
+ description: 'formula.functionList.IMSEC.description',
+ abstract: 'formula.functionList.IMSEC.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.IMSEC.functionParameter.number1.name',
+ detail: 'formula.functionList.IMSEC.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.IMSEC.functionParameter.number2.name',
+ detail: 'formula.functionList.IMSEC.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_ENGINEERING.IMSECH,
+ functionType: FunctionType.Engineering,
+ description: 'formula.functionList.IMSECH.description',
+ abstract: 'formula.functionList.IMSECH.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.IMSECH.functionParameter.number1.name',
+ detail: 'formula.functionList.IMSECH.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.IMSECH.functionParameter.number2.name',
+ detail: 'formula.functionList.IMSECH.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_ENGINEERING.IMSIN,
+ functionType: FunctionType.Engineering,
+ description: 'formula.functionList.IMSIN.description',
+ abstract: 'formula.functionList.IMSIN.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.IMSIN.functionParameter.number1.name',
+ detail: 'formula.functionList.IMSIN.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.IMSIN.functionParameter.number2.name',
+ detail: 'formula.functionList.IMSIN.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_ENGINEERING.IMSINH,
+ functionType: FunctionType.Engineering,
+ description: 'formula.functionList.IMSINH.description',
+ abstract: 'formula.functionList.IMSINH.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.IMSINH.functionParameter.number1.name',
+ detail: 'formula.functionList.IMSINH.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.IMSINH.functionParameter.number2.name',
+ detail: 'formula.functionList.IMSINH.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_ENGINEERING.IMSQRT,
+ functionType: FunctionType.Engineering,
+ description: 'formula.functionList.IMSQRT.description',
+ abstract: 'formula.functionList.IMSQRT.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.IMSQRT.functionParameter.number1.name',
+ detail: 'formula.functionList.IMSQRT.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.IMSQRT.functionParameter.number2.name',
+ detail: 'formula.functionList.IMSQRT.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_ENGINEERING.IMSUB,
+ functionType: FunctionType.Engineering,
+ description: 'formula.functionList.IMSUB.description',
+ abstract: 'formula.functionList.IMSUB.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.IMSUB.functionParameter.number1.name',
+ detail: 'formula.functionList.IMSUB.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.IMSUB.functionParameter.number2.name',
+ detail: 'formula.functionList.IMSUB.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_ENGINEERING.IMSUM,
+ functionType: FunctionType.Engineering,
+ description: 'formula.functionList.IMSUM.description',
+ abstract: 'formula.functionList.IMSUM.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.IMSUM.functionParameter.number1.name',
+ detail: 'formula.functionList.IMSUM.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.IMSUM.functionParameter.number2.name',
+ detail: 'formula.functionList.IMSUM.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_ENGINEERING.IMTAN,
+ functionType: FunctionType.Engineering,
+ description: 'formula.functionList.IMTAN.description',
+ abstract: 'formula.functionList.IMTAN.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.IMTAN.functionParameter.number1.name',
+ detail: 'formula.functionList.IMTAN.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.IMTAN.functionParameter.number2.name',
+ detail: 'formula.functionList.IMTAN.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_ENGINEERING.OCT2BIN,
+ functionType: FunctionType.Engineering,
+ description: 'formula.functionList.OCT2BIN.description',
+ abstract: 'formula.functionList.OCT2BIN.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.OCT2BIN.functionParameter.number1.name',
+ detail: 'formula.functionList.OCT2BIN.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.OCT2BIN.functionParameter.number2.name',
+ detail: 'formula.functionList.OCT2BIN.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_ENGINEERING.OCT2DEC,
+ functionType: FunctionType.Engineering,
+ description: 'formula.functionList.OCT2DEC.description',
+ abstract: 'formula.functionList.OCT2DEC.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.OCT2DEC.functionParameter.number1.name',
+ detail: 'formula.functionList.OCT2DEC.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.OCT2DEC.functionParameter.number2.name',
+ detail: 'formula.functionList.OCT2DEC.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_ENGINEERING.OCT2HEX,
+ functionType: FunctionType.Engineering,
+ description: 'formula.functionList.OCT2HEX.description',
+ abstract: 'formula.functionList.OCT2HEX.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.OCT2HEX.functionParameter.number1.name',
+ detail: 'formula.functionList.OCT2HEX.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.OCT2HEX.functionParameter.number2.name',
+ detail: 'formula.functionList.OCT2HEX.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+];
diff --git a/packages/sheets-formula/src/services/function-list/financial.ts b/packages/sheets-formula/src/services/function-list/financial.ts
index d378efbb83..1e487435ad 100644
--- a/packages/sheets-formula/src/services/function-list/financial.ts
+++ b/packages/sheets-formula/src/services/function-list/financial.ts
@@ -14,6 +14,1217 @@
* limitations under the License.
*/
-import type { IFunctionInfo } from '@univerjs/engine-formula';
+import { FUNCTION_NAMES_FINANCIAL, FunctionType, type IFunctionInfo } from '@univerjs/engine-formula';
-export const FUNCTION_LIST_FINANCIAL: IFunctionInfo[] = [];
+export const FUNCTION_LIST_FINANCIAL: IFunctionInfo[] = [
+ {
+ functionName: FUNCTION_NAMES_FINANCIAL.ACCRINT,
+ functionType: FunctionType.Financial,
+ description: 'formula.functionList.ACCRINT.description',
+ abstract: 'formula.functionList.ACCRINT.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.ACCRINT.functionParameter.number1.name',
+ detail: 'formula.functionList.ACCRINT.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.ACCRINT.functionParameter.number2.name',
+ detail: 'formula.functionList.ACCRINT.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_FINANCIAL.ACCRINTM,
+ functionType: FunctionType.Financial,
+ description: 'formula.functionList.ACCRINTM.description',
+ abstract: 'formula.functionList.ACCRINTM.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.ACCRINTM.functionParameter.number1.name',
+ detail: 'formula.functionList.ACCRINTM.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.ACCRINTM.functionParameter.number2.name',
+ detail: 'formula.functionList.ACCRINTM.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_FINANCIAL.AMORDEGRC,
+ functionType: FunctionType.Financial,
+ description: 'formula.functionList.AMORDEGRC.description',
+ abstract: 'formula.functionList.AMORDEGRC.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.AMORDEGRC.functionParameter.number1.name',
+ detail: 'formula.functionList.AMORDEGRC.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.AMORDEGRC.functionParameter.number2.name',
+ detail: 'formula.functionList.AMORDEGRC.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_FINANCIAL.AMORLINC,
+ functionType: FunctionType.Financial,
+ description: 'formula.functionList.AMORLINC.description',
+ abstract: 'formula.functionList.AMORLINC.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.AMORLINC.functionParameter.number1.name',
+ detail: 'formula.functionList.AMORLINC.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.AMORLINC.functionParameter.number2.name',
+ detail: 'formula.functionList.AMORLINC.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_FINANCIAL.COUPDAYBS,
+ functionType: FunctionType.Financial,
+ description: 'formula.functionList.COUPDAYBS.description',
+ abstract: 'formula.functionList.COUPDAYBS.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.COUPDAYBS.functionParameter.number1.name',
+ detail: 'formula.functionList.COUPDAYBS.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.COUPDAYBS.functionParameter.number2.name',
+ detail: 'formula.functionList.COUPDAYBS.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_FINANCIAL.COUPDAYS,
+ functionType: FunctionType.Financial,
+ description: 'formula.functionList.COUPDAYS.description',
+ abstract: 'formula.functionList.COUPDAYS.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.COUPDAYS.functionParameter.number1.name',
+ detail: 'formula.functionList.COUPDAYS.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.COUPDAYS.functionParameter.number2.name',
+ detail: 'formula.functionList.COUPDAYS.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_FINANCIAL.COUPDAYSNC,
+ functionType: FunctionType.Financial,
+ description: 'formula.functionList.COUPDAYSNC.description',
+ abstract: 'formula.functionList.COUPDAYSNC.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.COUPDAYSNC.functionParameter.number1.name',
+ detail: 'formula.functionList.COUPDAYSNC.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.COUPDAYSNC.functionParameter.number2.name',
+ detail: 'formula.functionList.COUPDAYSNC.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_FINANCIAL.COUPNCD,
+ functionType: FunctionType.Financial,
+ description: 'formula.functionList.COUPNCD.description',
+ abstract: 'formula.functionList.COUPNCD.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.COUPNCD.functionParameter.number1.name',
+ detail: 'formula.functionList.COUPNCD.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.COUPNCD.functionParameter.number2.name',
+ detail: 'formula.functionList.COUPNCD.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_FINANCIAL.COUPNUM,
+ functionType: FunctionType.Financial,
+ description: 'formula.functionList.COUPNUM.description',
+ abstract: 'formula.functionList.COUPNUM.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.COUPNUM.functionParameter.number1.name',
+ detail: 'formula.functionList.COUPNUM.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.COUPNUM.functionParameter.number2.name',
+ detail: 'formula.functionList.COUPNUM.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_FINANCIAL.COUPPCD,
+ functionType: FunctionType.Financial,
+ description: 'formula.functionList.COUPPCD.description',
+ abstract: 'formula.functionList.COUPPCD.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.COUPPCD.functionParameter.number1.name',
+ detail: 'formula.functionList.COUPPCD.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.COUPPCD.functionParameter.number2.name',
+ detail: 'formula.functionList.COUPPCD.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_FINANCIAL.CUMIPMT,
+ functionType: FunctionType.Financial,
+ description: 'formula.functionList.CUMIPMT.description',
+ abstract: 'formula.functionList.CUMIPMT.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.CUMIPMT.functionParameter.number1.name',
+ detail: 'formula.functionList.CUMIPMT.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.CUMIPMT.functionParameter.number2.name',
+ detail: 'formula.functionList.CUMIPMT.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_FINANCIAL.CUMPRINC,
+ functionType: FunctionType.Financial,
+ description: 'formula.functionList.CUMPRINC.description',
+ abstract: 'formula.functionList.CUMPRINC.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.CUMPRINC.functionParameter.number1.name',
+ detail: 'formula.functionList.CUMPRINC.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.CUMPRINC.functionParameter.number2.name',
+ detail: 'formula.functionList.CUMPRINC.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_FINANCIAL.DB,
+ functionType: FunctionType.Financial,
+ description: 'formula.functionList.DB.description',
+ abstract: 'formula.functionList.DB.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.DB.functionParameter.number1.name',
+ detail: 'formula.functionList.DB.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.DB.functionParameter.number2.name',
+ detail: 'formula.functionList.DB.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_FINANCIAL.DDB,
+ functionType: FunctionType.Financial,
+ description: 'formula.functionList.DDB.description',
+ abstract: 'formula.functionList.DDB.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.DDB.functionParameter.number1.name',
+ detail: 'formula.functionList.DDB.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.DDB.functionParameter.number2.name',
+ detail: 'formula.functionList.DDB.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_FINANCIAL.DISC,
+ functionType: FunctionType.Financial,
+ description: 'formula.functionList.DISC.description',
+ abstract: 'formula.functionList.DISC.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.DISC.functionParameter.number1.name',
+ detail: 'formula.functionList.DISC.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.DISC.functionParameter.number2.name',
+ detail: 'formula.functionList.DISC.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_FINANCIAL.DOLLARDE,
+ functionType: FunctionType.Financial,
+ description: 'formula.functionList.DOLLARDE.description',
+ abstract: 'formula.functionList.DOLLARDE.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.DOLLARDE.functionParameter.number1.name',
+ detail: 'formula.functionList.DOLLARDE.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.DOLLARDE.functionParameter.number2.name',
+ detail: 'formula.functionList.DOLLARDE.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_FINANCIAL.DOLLARFR,
+ functionType: FunctionType.Financial,
+ description: 'formula.functionList.DOLLARFR.description',
+ abstract: 'formula.functionList.DOLLARFR.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.DOLLARFR.functionParameter.number1.name',
+ detail: 'formula.functionList.DOLLARFR.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.DOLLARFR.functionParameter.number2.name',
+ detail: 'formula.functionList.DOLLARFR.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_FINANCIAL.DURATION,
+ functionType: FunctionType.Financial,
+ description: 'formula.functionList.DURATION.description',
+ abstract: 'formula.functionList.DURATION.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.DURATION.functionParameter.number1.name',
+ detail: 'formula.functionList.DURATION.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.DURATION.functionParameter.number2.name',
+ detail: 'formula.functionList.DURATION.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_FINANCIAL.EFFECT,
+ functionType: FunctionType.Financial,
+ description: 'formula.functionList.EFFECT.description',
+ abstract: 'formula.functionList.EFFECT.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.EFFECT.functionParameter.number1.name',
+ detail: 'formula.functionList.EFFECT.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.EFFECT.functionParameter.number2.name',
+ detail: 'formula.functionList.EFFECT.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_FINANCIAL.FV,
+ functionType: FunctionType.Financial,
+ description: 'formula.functionList.FV.description',
+ abstract: 'formula.functionList.FV.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.FV.functionParameter.number1.name',
+ detail: 'formula.functionList.FV.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.FV.functionParameter.number2.name',
+ detail: 'formula.functionList.FV.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_FINANCIAL.FVSCHEDULE,
+ functionType: FunctionType.Financial,
+ description: 'formula.functionList.FVSCHEDULE.description',
+ abstract: 'formula.functionList.FVSCHEDULE.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.FVSCHEDULE.functionParameter.number1.name',
+ detail: 'formula.functionList.FVSCHEDULE.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.FVSCHEDULE.functionParameter.number2.name',
+ detail: 'formula.functionList.FVSCHEDULE.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_FINANCIAL.INTRATE,
+ functionType: FunctionType.Financial,
+ description: 'formula.functionList.INTRATE.description',
+ abstract: 'formula.functionList.INTRATE.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.INTRATE.functionParameter.number1.name',
+ detail: 'formula.functionList.INTRATE.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.INTRATE.functionParameter.number2.name',
+ detail: 'formula.functionList.INTRATE.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_FINANCIAL.IPMT,
+ functionType: FunctionType.Financial,
+ description: 'formula.functionList.IPMT.description',
+ abstract: 'formula.functionList.IPMT.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.IPMT.functionParameter.number1.name',
+ detail: 'formula.functionList.IPMT.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.IPMT.functionParameter.number2.name',
+ detail: 'formula.functionList.IPMT.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_FINANCIAL.IRR,
+ functionType: FunctionType.Financial,
+ description: 'formula.functionList.IRR.description',
+ abstract: 'formula.functionList.IRR.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.IRR.functionParameter.number1.name',
+ detail: 'formula.functionList.IRR.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.IRR.functionParameter.number2.name',
+ detail: 'formula.functionList.IRR.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_FINANCIAL.ISPMT,
+ functionType: FunctionType.Financial,
+ description: 'formula.functionList.ISPMT.description',
+ abstract: 'formula.functionList.ISPMT.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.ISPMT.functionParameter.number1.name',
+ detail: 'formula.functionList.ISPMT.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.ISPMT.functionParameter.number2.name',
+ detail: 'formula.functionList.ISPMT.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_FINANCIAL.MDURATION,
+ functionType: FunctionType.Financial,
+ description: 'formula.functionList.MDURATION.description',
+ abstract: 'formula.functionList.MDURATION.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.MDURATION.functionParameter.number1.name',
+ detail: 'formula.functionList.MDURATION.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.MDURATION.functionParameter.number2.name',
+ detail: 'formula.functionList.MDURATION.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_FINANCIAL.MIRR,
+ functionType: FunctionType.Financial,
+ description: 'formula.functionList.MIRR.description',
+ abstract: 'formula.functionList.MIRR.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.MIRR.functionParameter.number1.name',
+ detail: 'formula.functionList.MIRR.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.MIRR.functionParameter.number2.name',
+ detail: 'formula.functionList.MIRR.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_FINANCIAL.NOMINAL,
+ functionType: FunctionType.Financial,
+ description: 'formula.functionList.NOMINAL.description',
+ abstract: 'formula.functionList.NOMINAL.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.NOMINAL.functionParameter.number1.name',
+ detail: 'formula.functionList.NOMINAL.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.NOMINAL.functionParameter.number2.name',
+ detail: 'formula.functionList.NOMINAL.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_FINANCIAL.NPER,
+ functionType: FunctionType.Financial,
+ description: 'formula.functionList.NPER.description',
+ abstract: 'formula.functionList.NPER.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.NPER.functionParameter.number1.name',
+ detail: 'formula.functionList.NPER.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.NPER.functionParameter.number2.name',
+ detail: 'formula.functionList.NPER.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_FINANCIAL.NPV,
+ functionType: FunctionType.Financial,
+ description: 'formula.functionList.NPV.description',
+ abstract: 'formula.functionList.NPV.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.NPV.functionParameter.number1.name',
+ detail: 'formula.functionList.NPV.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.NPV.functionParameter.number2.name',
+ detail: 'formula.functionList.NPV.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_FINANCIAL.ODDFPRICE,
+ functionType: FunctionType.Financial,
+ description: 'formula.functionList.ODDFPRICE.description',
+ abstract: 'formula.functionList.ODDFPRICE.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.ODDFPRICE.functionParameter.number1.name',
+ detail: 'formula.functionList.ODDFPRICE.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.ODDFPRICE.functionParameter.number2.name',
+ detail: 'formula.functionList.ODDFPRICE.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_FINANCIAL.ODDFYIELD,
+ functionType: FunctionType.Financial,
+ description: 'formula.functionList.ODDFYIELD.description',
+ abstract: 'formula.functionList.ODDFYIELD.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.ODDFYIELD.functionParameter.number1.name',
+ detail: 'formula.functionList.ODDFYIELD.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.ODDFYIELD.functionParameter.number2.name',
+ detail: 'formula.functionList.ODDFYIELD.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_FINANCIAL.ODDLPRICE,
+ functionType: FunctionType.Financial,
+ description: 'formula.functionList.ODDLPRICE.description',
+ abstract: 'formula.functionList.ODDLPRICE.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.ODDLPRICE.functionParameter.number1.name',
+ detail: 'formula.functionList.ODDLPRICE.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.ODDLPRICE.functionParameter.number2.name',
+ detail: 'formula.functionList.ODDLPRICE.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_FINANCIAL.ODDLYIELD,
+ functionType: FunctionType.Financial,
+ description: 'formula.functionList.ODDLYIELD.description',
+ abstract: 'formula.functionList.ODDLYIELD.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.ODDLYIELD.functionParameter.number1.name',
+ detail: 'formula.functionList.ODDLYIELD.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.ODDLYIELD.functionParameter.number2.name',
+ detail: 'formula.functionList.ODDLYIELD.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_FINANCIAL.PDURATION,
+ functionType: FunctionType.Financial,
+ description: 'formula.functionList.PDURATION.description',
+ abstract: 'formula.functionList.PDURATION.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.PDURATION.functionParameter.number1.name',
+ detail: 'formula.functionList.PDURATION.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.PDURATION.functionParameter.number2.name',
+ detail: 'formula.functionList.PDURATION.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_FINANCIAL.PMT,
+ functionType: FunctionType.Financial,
+ description: 'formula.functionList.PMT.description',
+ abstract: 'formula.functionList.PMT.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.PMT.functionParameter.number1.name',
+ detail: 'formula.functionList.PMT.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.PMT.functionParameter.number2.name',
+ detail: 'formula.functionList.PMT.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_FINANCIAL.PPMT,
+ functionType: FunctionType.Financial,
+ description: 'formula.functionList.PPMT.description',
+ abstract: 'formula.functionList.PPMT.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.PPMT.functionParameter.number1.name',
+ detail: 'formula.functionList.PPMT.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.PPMT.functionParameter.number2.name',
+ detail: 'formula.functionList.PPMT.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_FINANCIAL.PRICE,
+ functionType: FunctionType.Financial,
+ description: 'formula.functionList.PRICE.description',
+ abstract: 'formula.functionList.PRICE.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.PRICE.functionParameter.number1.name',
+ detail: 'formula.functionList.PRICE.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.PRICE.functionParameter.number2.name',
+ detail: 'formula.functionList.PRICE.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_FINANCIAL.PRICEDISC,
+ functionType: FunctionType.Financial,
+ description: 'formula.functionList.PRICEDISC.description',
+ abstract: 'formula.functionList.PRICEDISC.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.PRICEDISC.functionParameter.number1.name',
+ detail: 'formula.functionList.PRICEDISC.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.PRICEDISC.functionParameter.number2.name',
+ detail: 'formula.functionList.PRICEDISC.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_FINANCIAL.PRICEMAT,
+ functionType: FunctionType.Financial,
+ description: 'formula.functionList.PRICEMAT.description',
+ abstract: 'formula.functionList.PRICEMAT.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.PRICEMAT.functionParameter.number1.name',
+ detail: 'formula.functionList.PRICEMAT.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.PRICEMAT.functionParameter.number2.name',
+ detail: 'formula.functionList.PRICEMAT.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_FINANCIAL.PV,
+ functionType: FunctionType.Financial,
+ description: 'formula.functionList.PV.description',
+ abstract: 'formula.functionList.PV.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.PV.functionParameter.number1.name',
+ detail: 'formula.functionList.PV.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.PV.functionParameter.number2.name',
+ detail: 'formula.functionList.PV.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_FINANCIAL.RATE,
+ functionType: FunctionType.Financial,
+ description: 'formula.functionList.RATE.description',
+ abstract: 'formula.functionList.RATE.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.RATE.functionParameter.number1.name',
+ detail: 'formula.functionList.RATE.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.RATE.functionParameter.number2.name',
+ detail: 'formula.functionList.RATE.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_FINANCIAL.RECEIVED,
+ functionType: FunctionType.Financial,
+ description: 'formula.functionList.RECEIVED.description',
+ abstract: 'formula.functionList.RECEIVED.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.RECEIVED.functionParameter.number1.name',
+ detail: 'formula.functionList.RECEIVED.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.RECEIVED.functionParameter.number2.name',
+ detail: 'formula.functionList.RECEIVED.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_FINANCIAL.RRI,
+ functionType: FunctionType.Financial,
+ description: 'formula.functionList.RRI.description',
+ abstract: 'formula.functionList.RRI.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.RRI.functionParameter.number1.name',
+ detail: 'formula.functionList.RRI.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.RRI.functionParameter.number2.name',
+ detail: 'formula.functionList.RRI.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_FINANCIAL.SLN,
+ functionType: FunctionType.Financial,
+ description: 'formula.functionList.SLN.description',
+ abstract: 'formula.functionList.SLN.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.SLN.functionParameter.number1.name',
+ detail: 'formula.functionList.SLN.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.SLN.functionParameter.number2.name',
+ detail: 'formula.functionList.SLN.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_FINANCIAL.SYD,
+ functionType: FunctionType.Financial,
+ description: 'formula.functionList.SYD.description',
+ abstract: 'formula.functionList.SYD.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.SYD.functionParameter.number1.name',
+ detail: 'formula.functionList.SYD.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.SYD.functionParameter.number2.name',
+ detail: 'formula.functionList.SYD.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_FINANCIAL.TBILLEQ,
+ functionType: FunctionType.Financial,
+ description: 'formula.functionList.TBILLEQ.description',
+ abstract: 'formula.functionList.TBILLEQ.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.TBILLEQ.functionParameter.number1.name',
+ detail: 'formula.functionList.TBILLEQ.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.TBILLEQ.functionParameter.number2.name',
+ detail: 'formula.functionList.TBILLEQ.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_FINANCIAL.TBILLPRICE,
+ functionType: FunctionType.Financial,
+ description: 'formula.functionList.TBILLPRICE.description',
+ abstract: 'formula.functionList.TBILLPRICE.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.TBILLPRICE.functionParameter.number1.name',
+ detail: 'formula.functionList.TBILLPRICE.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.TBILLPRICE.functionParameter.number2.name',
+ detail: 'formula.functionList.TBILLPRICE.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_FINANCIAL.TBILLYIELD,
+ functionType: FunctionType.Financial,
+ description: 'formula.functionList.TBILLYIELD.description',
+ abstract: 'formula.functionList.TBILLYIELD.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.TBILLYIELD.functionParameter.number1.name',
+ detail: 'formula.functionList.TBILLYIELD.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.TBILLYIELD.functionParameter.number2.name',
+ detail: 'formula.functionList.TBILLYIELD.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_FINANCIAL.VDB,
+ functionType: FunctionType.Financial,
+ description: 'formula.functionList.VDB.description',
+ abstract: 'formula.functionList.VDB.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.VDB.functionParameter.number1.name',
+ detail: 'formula.functionList.VDB.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.VDB.functionParameter.number2.name',
+ detail: 'formula.functionList.VDB.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_FINANCIAL.XIRR,
+ functionType: FunctionType.Financial,
+ description: 'formula.functionList.XIRR.description',
+ abstract: 'formula.functionList.XIRR.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.XIRR.functionParameter.number1.name',
+ detail: 'formula.functionList.XIRR.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.XIRR.functionParameter.number2.name',
+ detail: 'formula.functionList.XIRR.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_FINANCIAL.XNPV,
+ functionType: FunctionType.Financial,
+ description: 'formula.functionList.XNPV.description',
+ abstract: 'formula.functionList.XNPV.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.XNPV.functionParameter.number1.name',
+ detail: 'formula.functionList.XNPV.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.XNPV.functionParameter.number2.name',
+ detail: 'formula.functionList.XNPV.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_FINANCIAL.YIELD,
+ functionType: FunctionType.Financial,
+ description: 'formula.functionList.YIELD.description',
+ abstract: 'formula.functionList.YIELD.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.YIELD.functionParameter.number1.name',
+ detail: 'formula.functionList.YIELD.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.YIELD.functionParameter.number2.name',
+ detail: 'formula.functionList.YIELD.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_FINANCIAL.YIELDDISC,
+ functionType: FunctionType.Financial,
+ description: 'formula.functionList.YIELDDISC.description',
+ abstract: 'formula.functionList.YIELDDISC.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.YIELDDISC.functionParameter.number1.name',
+ detail: 'formula.functionList.YIELDDISC.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.YIELDDISC.functionParameter.number2.name',
+ detail: 'formula.functionList.YIELDDISC.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_FINANCIAL.YIELDMAT,
+ functionType: FunctionType.Financial,
+ description: 'formula.functionList.YIELDMAT.description',
+ abstract: 'formula.functionList.YIELDMAT.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.YIELDMAT.functionParameter.number1.name',
+ detail: 'formula.functionList.YIELDMAT.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.YIELDMAT.functionParameter.number2.name',
+ detail: 'formula.functionList.YIELDMAT.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+];
diff --git a/packages/sheets-formula/src/services/function-list/information.ts b/packages/sheets-formula/src/services/function-list/information.ts
index 80cbd3d421..bc8609fe7a 100644
--- a/packages/sheets-formula/src/services/function-list/information.ts
+++ b/packages/sheets-formula/src/services/function-list/information.ts
@@ -14,6 +14,469 @@
* limitations under the License.
*/
-import type { IFunctionInfo } from '@univerjs/engine-formula';
+import { FUNCTION_NAMES_INFORMATION, FunctionType, type IFunctionInfo } from '@univerjs/engine-formula';
-export const FUNCTION_LIST_INFORMATION: IFunctionInfo[] = [];
+export const FUNCTION_LIST_INFORMATION: IFunctionInfo[] = [
+ {
+ functionName: FUNCTION_NAMES_INFORMATION.CELL,
+ functionType: FunctionType.Information,
+ description: 'formula.functionList.CELL.description',
+ abstract: 'formula.functionList.CELL.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.CELL.functionParameter.number1.name',
+ detail: 'formula.functionList.CELL.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.CELL.functionParameter.number2.name',
+ detail: 'formula.functionList.CELL.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_INFORMATION.ERROR_TYPE,
+ functionType: FunctionType.Information,
+ description: 'formula.functionList.ERROR_TYPE.description',
+ abstract: 'formula.functionList.ERROR_TYPE.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.ERROR_TYPE.functionParameter.number1.name',
+ detail: 'formula.functionList.ERROR_TYPE.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.ERROR_TYPE.functionParameter.number2.name',
+ detail: 'formula.functionList.ERROR_TYPE.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_INFORMATION.INFO,
+ functionType: FunctionType.Information,
+ description: 'formula.functionList.INFO.description',
+ abstract: 'formula.functionList.INFO.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.INFO.functionParameter.number1.name',
+ detail: 'formula.functionList.INFO.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.INFO.functionParameter.number2.name',
+ detail: 'formula.functionList.INFO.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_INFORMATION.ISBLANK,
+ functionType: FunctionType.Information,
+ description: 'formula.functionList.ISBLANK.description',
+ abstract: 'formula.functionList.ISBLANK.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.ISBLANK.functionParameter.number1.name',
+ detail: 'formula.functionList.ISBLANK.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.ISBLANK.functionParameter.number2.name',
+ detail: 'formula.functionList.ISBLANK.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_INFORMATION.ISERR,
+ functionType: FunctionType.Information,
+ description: 'formula.functionList.ISERR.description',
+ abstract: 'formula.functionList.ISERR.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.ISERR.functionParameter.number1.name',
+ detail: 'formula.functionList.ISERR.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.ISERR.functionParameter.number2.name',
+ detail: 'formula.functionList.ISERR.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_INFORMATION.ISERROR,
+ functionType: FunctionType.Information,
+ description: 'formula.functionList.ISERROR.description',
+ abstract: 'formula.functionList.ISERROR.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.ISERROR.functionParameter.number1.name',
+ detail: 'formula.functionList.ISERROR.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.ISERROR.functionParameter.number2.name',
+ detail: 'formula.functionList.ISERROR.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_INFORMATION.ISEVEN,
+ functionType: FunctionType.Information,
+ description: 'formula.functionList.ISEVEN.description',
+ abstract: 'formula.functionList.ISEVEN.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.ISEVEN.functionParameter.number1.name',
+ detail: 'formula.functionList.ISEVEN.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.ISEVEN.functionParameter.number2.name',
+ detail: 'formula.functionList.ISEVEN.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_INFORMATION.ISFORMULA,
+ functionType: FunctionType.Information,
+ description: 'formula.functionList.ISFORMULA.description',
+ abstract: 'formula.functionList.ISFORMULA.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.ISFORMULA.functionParameter.number1.name',
+ detail: 'formula.functionList.ISFORMULA.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.ISFORMULA.functionParameter.number2.name',
+ detail: 'formula.functionList.ISFORMULA.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_INFORMATION.ISLOGICAL,
+ functionType: FunctionType.Information,
+ description: 'formula.functionList.ISLOGICAL.description',
+ abstract: 'formula.functionList.ISLOGICAL.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.ISLOGICAL.functionParameter.number1.name',
+ detail: 'formula.functionList.ISLOGICAL.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.ISLOGICAL.functionParameter.number2.name',
+ detail: 'formula.functionList.ISLOGICAL.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_INFORMATION.ISNA,
+ functionType: FunctionType.Information,
+ description: 'formula.functionList.ISNA.description',
+ abstract: 'formula.functionList.ISNA.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.ISNA.functionParameter.number1.name',
+ detail: 'formula.functionList.ISNA.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.ISNA.functionParameter.number2.name',
+ detail: 'formula.functionList.ISNA.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_INFORMATION.ISNONTEXT,
+ functionType: FunctionType.Information,
+ description: 'formula.functionList.ISNONTEXT.description',
+ abstract: 'formula.functionList.ISNONTEXT.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.ISNONTEXT.functionParameter.number1.name',
+ detail: 'formula.functionList.ISNONTEXT.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.ISNONTEXT.functionParameter.number2.name',
+ detail: 'formula.functionList.ISNONTEXT.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_INFORMATION.ISNUMBER,
+ functionType: FunctionType.Information,
+ description: 'formula.functionList.ISNUMBER.description',
+ abstract: 'formula.functionList.ISNUMBER.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.ISNUMBER.functionParameter.number1.name',
+ detail: 'formula.functionList.ISNUMBER.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.ISNUMBER.functionParameter.number2.name',
+ detail: 'formula.functionList.ISNUMBER.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_INFORMATION.ISODD,
+ functionType: FunctionType.Information,
+ description: 'formula.functionList.ISODD.description',
+ abstract: 'formula.functionList.ISODD.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.ISODD.functionParameter.number1.name',
+ detail: 'formula.functionList.ISODD.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.ISODD.functionParameter.number2.name',
+ detail: 'formula.functionList.ISODD.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_INFORMATION.ISOMITTED,
+ functionType: FunctionType.Information,
+ description: 'formula.functionList.ISOMITTED.description',
+ abstract: 'formula.functionList.ISOMITTED.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.ISOMITTED.functionParameter.number1.name',
+ detail: 'formula.functionList.ISOMITTED.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.ISOMITTED.functionParameter.number2.name',
+ detail: 'formula.functionList.ISOMITTED.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_INFORMATION.ISREF,
+ functionType: FunctionType.Information,
+ description: 'formula.functionList.ISREF.description',
+ abstract: 'formula.functionList.ISREF.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.ISREF.functionParameter.number1.name',
+ detail: 'formula.functionList.ISREF.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.ISREF.functionParameter.number2.name',
+ detail: 'formula.functionList.ISREF.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_INFORMATION.ISTEXT,
+ functionType: FunctionType.Information,
+ description: 'formula.functionList.ISTEXT.description',
+ abstract: 'formula.functionList.ISTEXT.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.ISTEXT.functionParameter.number1.name',
+ detail: 'formula.functionList.ISTEXT.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.ISTEXT.functionParameter.number2.name',
+ detail: 'formula.functionList.ISTEXT.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_INFORMATION.N,
+ functionType: FunctionType.Information,
+ description: 'formula.functionList.N.description',
+ abstract: 'formula.functionList.N.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.N.functionParameter.number1.name',
+ detail: 'formula.functionList.N.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.N.functionParameter.number2.name',
+ detail: 'formula.functionList.N.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_INFORMATION.NA,
+ functionType: FunctionType.Information,
+ description: 'formula.functionList.NA.description',
+ abstract: 'formula.functionList.NA.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.NA.functionParameter.number1.name',
+ detail: 'formula.functionList.NA.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.NA.functionParameter.number2.name',
+ detail: 'formula.functionList.NA.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_INFORMATION.SHEET,
+ functionType: FunctionType.Information,
+ description: 'formula.functionList.SHEET.description',
+ abstract: 'formula.functionList.SHEET.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.SHEET.functionParameter.number1.name',
+ detail: 'formula.functionList.SHEET.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.SHEET.functionParameter.number2.name',
+ detail: 'formula.functionList.SHEET.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_INFORMATION.SHEETS,
+ functionType: FunctionType.Information,
+ description: 'formula.functionList.SHEETS.description',
+ abstract: 'formula.functionList.SHEETS.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.SHEETS.functionParameter.number1.name',
+ detail: 'formula.functionList.SHEETS.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.SHEETS.functionParameter.number2.name',
+ detail: 'formula.functionList.SHEETS.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_INFORMATION.TYPE,
+ functionType: FunctionType.Information,
+ description: 'formula.functionList.TYPE.description',
+ abstract: 'formula.functionList.TYPE.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.TYPE.functionParameter.number1.name',
+ detail: 'formula.functionList.TYPE.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.TYPE.functionParameter.number2.name',
+ detail: 'formula.functionList.TYPE.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+];
diff --git a/packages/sheets-formula/src/services/function-list/logical.ts b/packages/sheets-formula/src/services/function-list/logical.ts
index c6a1411876..e66ec61bbf 100644
--- a/packages/sheets-formula/src/services/function-list/logical.ts
+++ b/packages/sheets-formula/src/services/function-list/logical.ts
@@ -14,6 +14,425 @@
* limitations under the License.
*/
-import type { IFunctionInfo } from '@univerjs/engine-formula';
+import { FUNCTION_NAMES_LOGICAL, FunctionType, type IFunctionInfo } from '@univerjs/engine-formula';
-export const FUNCTION_LIST_LOGICAL: IFunctionInfo[] = [];
+export const FUNCTION_LIST_LOGICAL: IFunctionInfo[] = [
+ {
+ functionName: FUNCTION_NAMES_LOGICAL.AND,
+ functionType: FunctionType.Logical,
+ description: 'formula.functionList.AND.description',
+ abstract: 'formula.functionList.AND.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.AND.functionParameter.number1.name',
+ detail: 'formula.functionList.AND.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.AND.functionParameter.number2.name',
+ detail: 'formula.functionList.AND.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_LOGICAL.BYCOL,
+ functionType: FunctionType.Logical,
+ description: 'formula.functionList.BYCOL.description',
+ abstract: 'formula.functionList.BYCOL.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.BYCOL.functionParameter.number1.name',
+ detail: 'formula.functionList.BYCOL.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.BYCOL.functionParameter.number2.name',
+ detail: 'formula.functionList.BYCOL.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_LOGICAL.BYROW,
+ functionType: FunctionType.Logical,
+ description: 'formula.functionList.BYROW.description',
+ abstract: 'formula.functionList.BYROW.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.BYROW.functionParameter.number1.name',
+ detail: 'formula.functionList.BYROW.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.BYROW.functionParameter.number2.name',
+ detail: 'formula.functionList.BYROW.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_LOGICAL.FALSE,
+ functionType: FunctionType.Logical,
+ description: 'formula.functionList.FALSE.description',
+ abstract: 'formula.functionList.FALSE.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.FALSE.functionParameter.number1.name',
+ detail: 'formula.functionList.FALSE.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.FALSE.functionParameter.number2.name',
+ detail: 'formula.functionList.FALSE.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_LOGICAL.IF,
+ functionType: FunctionType.Logical,
+ description: 'formula.functionList.IF.description',
+ abstract: 'formula.functionList.IF.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.IF.functionParameter.number1.name',
+ detail: 'formula.functionList.IF.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.IF.functionParameter.number2.name',
+ detail: 'formula.functionList.IF.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_LOGICAL.IFERROR,
+ functionType: FunctionType.Logical,
+ description: 'formula.functionList.IFERROR.description',
+ abstract: 'formula.functionList.IFERROR.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.IFERROR.functionParameter.number1.name',
+ detail: 'formula.functionList.IFERROR.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.IFERROR.functionParameter.number2.name',
+ detail: 'formula.functionList.IFERROR.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_LOGICAL.IFNA,
+ functionType: FunctionType.Logical,
+ description: 'formula.functionList.IFNA.description',
+ abstract: 'formula.functionList.IFNA.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.IFNA.functionParameter.number1.name',
+ detail: 'formula.functionList.IFNA.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.IFNA.functionParameter.number2.name',
+ detail: 'formula.functionList.IFNA.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_LOGICAL.IFS,
+ functionType: FunctionType.Logical,
+ description: 'formula.functionList.IFS.description',
+ abstract: 'formula.functionList.IFS.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.IFS.functionParameter.number1.name',
+ detail: 'formula.functionList.IFS.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.IFS.functionParameter.number2.name',
+ detail: 'formula.functionList.IFS.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_LOGICAL.LAMBDA,
+ functionType: FunctionType.Logical,
+ description: 'formula.functionList.LAMBDA.description',
+ abstract: 'formula.functionList.LAMBDA.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.LAMBDA.functionParameter.number1.name',
+ detail: 'formula.functionList.LAMBDA.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.LAMBDA.functionParameter.number2.name',
+ detail: 'formula.functionList.LAMBDA.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_LOGICAL.LET,
+ functionType: FunctionType.Logical,
+ description: 'formula.functionList.LET.description',
+ abstract: 'formula.functionList.LET.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.LET.functionParameter.number1.name',
+ detail: 'formula.functionList.LET.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.LET.functionParameter.number2.name',
+ detail: 'formula.functionList.LET.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_LOGICAL.MAKEARRAY,
+ functionType: FunctionType.Logical,
+ description: 'formula.functionList.MAKEARRAY.description',
+ abstract: 'formula.functionList.MAKEARRAY.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.MAKEARRAY.functionParameter.number1.name',
+ detail: 'formula.functionList.MAKEARRAY.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.MAKEARRAY.functionParameter.number2.name',
+ detail: 'formula.functionList.MAKEARRAY.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_LOGICAL.MAP,
+ functionType: FunctionType.Logical,
+ description: 'formula.functionList.MAP.description',
+ abstract: 'formula.functionList.MAP.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.MAP.functionParameter.number1.name',
+ detail: 'formula.functionList.MAP.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.MAP.functionParameter.number2.name',
+ detail: 'formula.functionList.MAP.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_LOGICAL.NOT,
+ functionType: FunctionType.Logical,
+ description: 'formula.functionList.NOT.description',
+ abstract: 'formula.functionList.NOT.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.NOT.functionParameter.number1.name',
+ detail: 'formula.functionList.NOT.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.NOT.functionParameter.number2.name',
+ detail: 'formula.functionList.NOT.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_LOGICAL.OR,
+ functionType: FunctionType.Logical,
+ description: 'formula.functionList.OR.description',
+ abstract: 'formula.functionList.OR.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.OR.functionParameter.number1.name',
+ detail: 'formula.functionList.OR.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.OR.functionParameter.number2.name',
+ detail: 'formula.functionList.OR.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_LOGICAL.REDUCE,
+ functionType: FunctionType.Logical,
+ description: 'formula.functionList.REDUCE.description',
+ abstract: 'formula.functionList.REDUCE.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.REDUCE.functionParameter.number1.name',
+ detail: 'formula.functionList.REDUCE.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.REDUCE.functionParameter.number2.name',
+ detail: 'formula.functionList.REDUCE.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_LOGICAL.SCAN,
+ functionType: FunctionType.Logical,
+ description: 'formula.functionList.SCAN.description',
+ abstract: 'formula.functionList.SCAN.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.SCAN.functionParameter.number1.name',
+ detail: 'formula.functionList.SCAN.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.SCAN.functionParameter.number2.name',
+ detail: 'formula.functionList.SCAN.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_LOGICAL.SWITCH,
+ functionType: FunctionType.Logical,
+ description: 'formula.functionList.SWITCH.description',
+ abstract: 'formula.functionList.SWITCH.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.SWITCH.functionParameter.number1.name',
+ detail: 'formula.functionList.SWITCH.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.SWITCH.functionParameter.number2.name',
+ detail: 'formula.functionList.SWITCH.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_LOGICAL.TRUE,
+ functionType: FunctionType.Logical,
+ description: 'formula.functionList.TRUE.description',
+ abstract: 'formula.functionList.TRUE.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.TRUE.functionParameter.number1.name',
+ detail: 'formula.functionList.TRUE.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.TRUE.functionParameter.number2.name',
+ detail: 'formula.functionList.TRUE.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_LOGICAL.XOR,
+ functionType: FunctionType.Logical,
+ description: 'formula.functionList.XOR.description',
+ abstract: 'formula.functionList.XOR.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.XOR.functionParameter.number1.name',
+ detail: 'formula.functionList.XOR.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.XOR.functionParameter.number2.name',
+ detail: 'formula.functionList.XOR.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+];
diff --git a/packages/sheets-formula/src/services/function-list/lookup.ts b/packages/sheets-formula/src/services/function-list/lookup.ts
index 6fb1cec4bc..f90968ee55 100644
--- a/packages/sheets-formula/src/services/function-list/lookup.ts
+++ b/packages/sheets-formula/src/services/function-list/lookup.ts
@@ -14,6 +14,842 @@
* limitations under the License.
*/
-import type { IFunctionInfo } from '@univerjs/engine-formula';
+import { FUNCTION_NAMES_LOOKUP, FunctionType, type IFunctionInfo } from '@univerjs/engine-formula';
-export const FUNCTION_LIST_LOOKUP: IFunctionInfo[] = [];
+export const FUNCTION_LIST_LOOKUP: IFunctionInfo[] = [
+ {
+ functionName: FUNCTION_NAMES_LOOKUP.ADDRESS,
+ functionType: FunctionType.Lookup,
+ description: 'formula.functionList.ADDRESS.description',
+ abstract: 'formula.functionList.ADDRESS.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.ADDRESS.functionParameter.row_num.name',
+ detail: 'formula.functionList.ADDRESS.functionParameter.row_num.detail',
+ example: '2',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.ADDRESS.functionParameter.column_num.name',
+ detail: 'formula.functionList.ADDRESS.functionParameter.column_num.detail',
+ example: '2',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.ADDRESS.functionParameter.abs_num.name',
+ detail: 'formula.functionList.ADDRESS.functionParameter.abs_num.detail',
+ example: '1',
+ require: 0,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.ADDRESS.functionParameter.a1.name',
+ detail: 'formula.functionList.ADDRESS.functionParameter.a1.detail',
+ example: 'TRUE',
+ require: 0,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.ADDRESS.functionParameter.sheet_text.name',
+ detail: 'formula.functionList.ADDRESS.functionParameter.sheet_text.detail',
+ example: 'Sheet2',
+ require: 0,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_LOOKUP.AREAS,
+ functionType: FunctionType.Lookup,
+ description: 'formula.functionList.AREAS.description',
+ abstract: 'formula.functionList.AREAS.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.AREAS.functionParameter.number1.name',
+ detail: 'formula.functionList.AREAS.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.AREAS.functionParameter.number2.name',
+ detail: 'formula.functionList.AREAS.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_LOOKUP.CHOOSE,
+ functionType: FunctionType.Lookup,
+ description: 'formula.functionList.CHOOSE.description',
+ abstract: 'formula.functionList.CHOOSE.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.CHOOSE.functionParameter.number1.name',
+ detail: 'formula.functionList.CHOOSE.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.CHOOSE.functionParameter.number2.name',
+ detail: 'formula.functionList.CHOOSE.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_LOOKUP.CHOOSECOLS,
+ functionType: FunctionType.Lookup,
+ description: 'formula.functionList.CHOOSECOLS.description',
+ abstract: 'formula.functionList.CHOOSECOLS.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.CHOOSECOLS.functionParameter.number1.name',
+ detail: 'formula.functionList.CHOOSECOLS.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.CHOOSECOLS.functionParameter.number2.name',
+ detail: 'formula.functionList.CHOOSECOLS.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_LOOKUP.CHOOSEROWS,
+ functionType: FunctionType.Lookup,
+ description: 'formula.functionList.CHOOSEROWS.description',
+ abstract: 'formula.functionList.CHOOSEROWS.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.CHOOSEROWS.functionParameter.number1.name',
+ detail: 'formula.functionList.CHOOSEROWS.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.CHOOSEROWS.functionParameter.number2.name',
+ detail: 'formula.functionList.CHOOSEROWS.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_LOOKUP.COLUMN,
+ functionType: FunctionType.Lookup,
+ description: 'formula.functionList.COLUMN.description',
+ abstract: 'formula.functionList.COLUMN.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.COLUMN.functionParameter.number1.name',
+ detail: 'formula.functionList.COLUMN.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.COLUMN.functionParameter.number2.name',
+ detail: 'formula.functionList.COLUMN.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_LOOKUP.COLUMNS,
+ functionType: FunctionType.Lookup,
+ description: 'formula.functionList.COLUMNS.description',
+ abstract: 'formula.functionList.COLUMNS.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.COLUMNS.functionParameter.number1.name',
+ detail: 'formula.functionList.COLUMNS.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.COLUMNS.functionParameter.number2.name',
+ detail: 'formula.functionList.COLUMNS.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_LOOKUP.DROP,
+ functionType: FunctionType.Lookup,
+ description: 'formula.functionList.DROP.description',
+ abstract: 'formula.functionList.DROP.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.DROP.functionParameter.number1.name',
+ detail: 'formula.functionList.DROP.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.DROP.functionParameter.number2.name',
+ detail: 'formula.functionList.DROP.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_LOOKUP.EXPAND,
+ functionType: FunctionType.Lookup,
+ description: 'formula.functionList.EXPAND.description',
+ abstract: 'formula.functionList.EXPAND.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.EXPAND.functionParameter.number1.name',
+ detail: 'formula.functionList.EXPAND.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.EXPAND.functionParameter.number2.name',
+ detail: 'formula.functionList.EXPAND.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_LOOKUP.FILTER,
+ functionType: FunctionType.Lookup,
+ description: 'formula.functionList.FILTER.description',
+ abstract: 'formula.functionList.FILTER.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.FILTER.functionParameter.number1.name',
+ detail: 'formula.functionList.FILTER.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.FILTER.functionParameter.number2.name',
+ detail: 'formula.functionList.FILTER.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_LOOKUP.FORMULATEXT,
+ functionType: FunctionType.Lookup,
+ description: 'formula.functionList.FORMULATEXT.description',
+ abstract: 'formula.functionList.FORMULATEXT.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.FORMULATEXT.functionParameter.number1.name',
+ detail: 'formula.functionList.FORMULATEXT.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.FORMULATEXT.functionParameter.number2.name',
+ detail: 'formula.functionList.FORMULATEXT.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_LOOKUP.GETPIVOTDATA,
+ functionType: FunctionType.Lookup,
+ description: 'formula.functionList.GETPIVOTDATA.description',
+ abstract: 'formula.functionList.GETPIVOTDATA.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.GETPIVOTDATA.functionParameter.number1.name',
+ detail: 'formula.functionList.GETPIVOTDATA.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.GETPIVOTDATA.functionParameter.number2.name',
+ detail: 'formula.functionList.GETPIVOTDATA.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_LOOKUP.HLOOKUP,
+ functionType: FunctionType.Lookup,
+ description: 'formula.functionList.HLOOKUP.description',
+ abstract: 'formula.functionList.HLOOKUP.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.HLOOKUP.functionParameter.number1.name',
+ detail: 'formula.functionList.HLOOKUP.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.HLOOKUP.functionParameter.number2.name',
+ detail: 'formula.functionList.HLOOKUP.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_LOOKUP.HSTACK,
+ functionType: FunctionType.Lookup,
+ description: 'formula.functionList.HSTACK.description',
+ abstract: 'formula.functionList.HSTACK.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.HSTACK.functionParameter.number1.name',
+ detail: 'formula.functionList.HSTACK.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.HSTACK.functionParameter.number2.name',
+ detail: 'formula.functionList.HSTACK.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_LOOKUP.HYPERLINK,
+ functionType: FunctionType.Lookup,
+ description: 'formula.functionList.HYPERLINK.description',
+ abstract: 'formula.functionList.HYPERLINK.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.HYPERLINK.functionParameter.number1.name',
+ detail: 'formula.functionList.HYPERLINK.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.HYPERLINK.functionParameter.number2.name',
+ detail: 'formula.functionList.HYPERLINK.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_LOOKUP.IMAGE,
+ functionType: FunctionType.Lookup,
+ description: 'formula.functionList.IMAGE.description',
+ abstract: 'formula.functionList.IMAGE.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.IMAGE.functionParameter.number1.name',
+ detail: 'formula.functionList.IMAGE.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.IMAGE.functionParameter.number2.name',
+ detail: 'formula.functionList.IMAGE.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_LOOKUP.INDEX,
+ functionType: FunctionType.Lookup,
+ description: 'formula.functionList.INDEX.description',
+ abstract: 'formula.functionList.INDEX.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.INDEX.functionParameter.number1.name',
+ detail: 'formula.functionList.INDEX.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.INDEX.functionParameter.number2.name',
+ detail: 'formula.functionList.INDEX.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_LOOKUP.INDIRECT,
+ functionType: FunctionType.Lookup,
+ description: 'formula.functionList.INDIRECT.description',
+ abstract: 'formula.functionList.INDIRECT.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.INDIRECT.functionParameter.number1.name',
+ detail: 'formula.functionList.INDIRECT.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.INDIRECT.functionParameter.number2.name',
+ detail: 'formula.functionList.INDIRECT.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_LOOKUP.LOOKUP,
+ functionType: FunctionType.Lookup,
+ description: 'formula.functionList.LOOKUP.description',
+ abstract: 'formula.functionList.LOOKUP.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.LOOKUP.functionParameter.number1.name',
+ detail: 'formula.functionList.LOOKUP.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.LOOKUP.functionParameter.number2.name',
+ detail: 'formula.functionList.LOOKUP.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_LOOKUP.MATCH,
+ functionType: FunctionType.Lookup,
+ description: 'formula.functionList.MATCH.description',
+ abstract: 'formula.functionList.MATCH.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.MATCH.functionParameter.number1.name',
+ detail: 'formula.functionList.MATCH.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.MATCH.functionParameter.number2.name',
+ detail: 'formula.functionList.MATCH.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_LOOKUP.OFFSET,
+ functionType: FunctionType.Lookup,
+ description: 'formula.functionList.OFFSET.description',
+ abstract: 'formula.functionList.OFFSET.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.OFFSET.functionParameter.number1.name',
+ detail: 'formula.functionList.OFFSET.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.OFFSET.functionParameter.number2.name',
+ detail: 'formula.functionList.OFFSET.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_LOOKUP.ROW,
+ functionType: FunctionType.Lookup,
+ description: 'formula.functionList.ROW.description',
+ abstract: 'formula.functionList.ROW.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.ROW.functionParameter.number1.name',
+ detail: 'formula.functionList.ROW.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.ROW.functionParameter.number2.name',
+ detail: 'formula.functionList.ROW.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_LOOKUP.ROWS,
+ functionType: FunctionType.Lookup,
+ description: 'formula.functionList.ROWS.description',
+ abstract: 'formula.functionList.ROWS.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.ROWS.functionParameter.number1.name',
+ detail: 'formula.functionList.ROWS.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.ROWS.functionParameter.number2.name',
+ detail: 'formula.functionList.ROWS.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_LOOKUP.RTD,
+ functionType: FunctionType.Lookup,
+ description: 'formula.functionList.RTD.description',
+ abstract: 'formula.functionList.RTD.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.RTD.functionParameter.number1.name',
+ detail: 'formula.functionList.RTD.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.RTD.functionParameter.number2.name',
+ detail: 'formula.functionList.RTD.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_LOOKUP.SORT,
+ functionType: FunctionType.Lookup,
+ description: 'formula.functionList.SORT.description',
+ abstract: 'formula.functionList.SORT.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.SORT.functionParameter.number1.name',
+ detail: 'formula.functionList.SORT.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.SORT.functionParameter.number2.name',
+ detail: 'formula.functionList.SORT.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_LOOKUP.SORTBY,
+ functionType: FunctionType.Lookup,
+ description: 'formula.functionList.SORTBY.description',
+ abstract: 'formula.functionList.SORTBY.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.SORTBY.functionParameter.number1.name',
+ detail: 'formula.functionList.SORTBY.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.SORTBY.functionParameter.number2.name',
+ detail: 'formula.functionList.SORTBY.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_LOOKUP.TAKE,
+ functionType: FunctionType.Lookup,
+ description: 'formula.functionList.TAKE.description',
+ abstract: 'formula.functionList.TAKE.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.TAKE.functionParameter.number1.name',
+ detail: 'formula.functionList.TAKE.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.TAKE.functionParameter.number2.name',
+ detail: 'formula.functionList.TAKE.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_LOOKUP.TOCOL,
+ functionType: FunctionType.Lookup,
+ description: 'formula.functionList.TOCOL.description',
+ abstract: 'formula.functionList.TOCOL.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.TOCOL.functionParameter.number1.name',
+ detail: 'formula.functionList.TOCOL.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.TOCOL.functionParameter.number2.name',
+ detail: 'formula.functionList.TOCOL.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_LOOKUP.TOROW,
+ functionType: FunctionType.Lookup,
+ description: 'formula.functionList.TOROW.description',
+ abstract: 'formula.functionList.TOROW.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.TOROW.functionParameter.number1.name',
+ detail: 'formula.functionList.TOROW.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.TOROW.functionParameter.number2.name',
+ detail: 'formula.functionList.TOROW.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_LOOKUP.TRANSPOSE,
+ functionType: FunctionType.Lookup,
+ description: 'formula.functionList.TRANSPOSE.description',
+ abstract: 'formula.functionList.TRANSPOSE.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.TRANSPOSE.functionParameter.number1.name',
+ detail: 'formula.functionList.TRANSPOSE.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.TRANSPOSE.functionParameter.number2.name',
+ detail: 'formula.functionList.TRANSPOSE.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_LOOKUP.UNIQUE,
+ functionType: FunctionType.Lookup,
+ description: 'formula.functionList.UNIQUE.description',
+ abstract: 'formula.functionList.UNIQUE.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.UNIQUE.functionParameter.number1.name',
+ detail: 'formula.functionList.UNIQUE.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.UNIQUE.functionParameter.number2.name',
+ detail: 'formula.functionList.UNIQUE.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_LOOKUP.VLOOKUP,
+ functionType: FunctionType.Lookup,
+ description: 'formula.functionList.VLOOKUP.description',
+ abstract: 'formula.functionList.VLOOKUP.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.VLOOKUP.functionParameter.number1.name',
+ detail: 'formula.functionList.VLOOKUP.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.VLOOKUP.functionParameter.number2.name',
+ detail: 'formula.functionList.VLOOKUP.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_LOOKUP.VSTACK,
+ functionType: FunctionType.Lookup,
+ description: 'formula.functionList.VSTACK.description',
+ abstract: 'formula.functionList.VSTACK.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.VSTACK.functionParameter.number1.name',
+ detail: 'formula.functionList.VSTACK.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.VSTACK.functionParameter.number2.name',
+ detail: 'formula.functionList.VSTACK.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_LOOKUP.WRAPCOLS,
+ functionType: FunctionType.Lookup,
+ description: 'formula.functionList.WRAPCOLS.description',
+ abstract: 'formula.functionList.WRAPCOLS.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.WRAPCOLS.functionParameter.number1.name',
+ detail: 'formula.functionList.WRAPCOLS.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.WRAPCOLS.functionParameter.number2.name',
+ detail: 'formula.functionList.WRAPCOLS.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_LOOKUP.WRAPROWS,
+ functionType: FunctionType.Lookup,
+ description: 'formula.functionList.WRAPROWS.description',
+ abstract: 'formula.functionList.WRAPROWS.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.WRAPROWS.functionParameter.number1.name',
+ detail: 'formula.functionList.WRAPROWS.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.WRAPROWS.functionParameter.number2.name',
+ detail: 'formula.functionList.WRAPROWS.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_LOOKUP.XLOOKUP,
+ functionType: FunctionType.Lookup,
+ description: 'formula.functionList.XLOOKUP.description',
+ abstract: 'formula.functionList.XLOOKUP.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.XLOOKUP.functionParameter.number1.name',
+ detail: 'formula.functionList.XLOOKUP.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.XLOOKUP.functionParameter.number2.name',
+ detail: 'formula.functionList.XLOOKUP.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_LOOKUP.XMATCH,
+ functionType: FunctionType.Lookup,
+ description: 'formula.functionList.XMATCH.description',
+ abstract: 'formula.functionList.XMATCH.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.XMATCH.functionParameter.number1.name',
+ detail: 'formula.functionList.XMATCH.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.XMATCH.functionParameter.number2.name',
+ detail: 'formula.functionList.XMATCH.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+];
diff --git a/packages/sheets-formula/src/services/function-list/math.ts b/packages/sheets-formula/src/services/function-list/math.ts
index dbb5773ad7..bdd3486a38 100644
--- a/packages/sheets-formula/src/services/function-list/math.ts
+++ b/packages/sheets-formula/src/services/function-list/math.ts
@@ -78,6 +78,1480 @@ export const FUNCTION_LIST_MATH: IFunctionInfo[] = [
},
],
},
+ {
+ functionName: FUNCTION_NAMES_MATH.ACOTH,
+ functionType: FunctionType.Math,
+ description: 'formula.functionList.ACOTH.description',
+ abstract: 'formula.functionList.ACOTH.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.ACOTH.functionParameter.number1.name',
+ detail: 'formula.functionList.ACOTH.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.ACOTH.functionParameter.number2.name',
+ detail: 'formula.functionList.ACOTH.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_MATH.AGGREGATE,
+ functionType: FunctionType.Math,
+ description: 'formula.functionList.AGGREGATE.description',
+ abstract: 'formula.functionList.AGGREGATE.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.AGGREGATE.functionParameter.number1.name',
+ detail: 'formula.functionList.AGGREGATE.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.AGGREGATE.functionParameter.number2.name',
+ detail: 'formula.functionList.AGGREGATE.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_MATH.ARABIC,
+ functionType: FunctionType.Math,
+ description: 'formula.functionList.ARABIC.description',
+ abstract: 'formula.functionList.ARABIC.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.ARABIC.functionParameter.number1.name',
+ detail: 'formula.functionList.ARABIC.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.ARABIC.functionParameter.number2.name',
+ detail: 'formula.functionList.ARABIC.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_MATH.ASIN,
+ functionType: FunctionType.Math,
+ description: 'formula.functionList.ASIN.description',
+ abstract: 'formula.functionList.ASIN.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.ASIN.functionParameter.number1.name',
+ detail: 'formula.functionList.ASIN.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.ASIN.functionParameter.number2.name',
+ detail: 'formula.functionList.ASIN.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_MATH.ASINH,
+ functionType: FunctionType.Math,
+ description: 'formula.functionList.ASINH.description',
+ abstract: 'formula.functionList.ASINH.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.ASINH.functionParameter.number1.name',
+ detail: 'formula.functionList.ASINH.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.ASINH.functionParameter.number2.name',
+ detail: 'formula.functionList.ASINH.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_MATH.ATAN,
+ functionType: FunctionType.Math,
+ description: 'formula.functionList.ATAN.description',
+ abstract: 'formula.functionList.ATAN.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.ATAN.functionParameter.number1.name',
+ detail: 'formula.functionList.ATAN.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.ATAN.functionParameter.number2.name',
+ detail: 'formula.functionList.ATAN.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_MATH.ATAN2,
+ functionType: FunctionType.Math,
+ description: 'formula.functionList.ATAN2.description',
+ abstract: 'formula.functionList.ATAN2.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.ATAN2.functionParameter.number1.name',
+ detail: 'formula.functionList.ATAN2.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.ATAN2.functionParameter.number2.name',
+ detail: 'formula.functionList.ATAN2.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_MATH.ATANH,
+ functionType: FunctionType.Math,
+ description: 'formula.functionList.ATANH.description',
+ abstract: 'formula.functionList.ATANH.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.ATANH.functionParameter.number1.name',
+ detail: 'formula.functionList.ATANH.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.ATANH.functionParameter.number2.name',
+ detail: 'formula.functionList.ATANH.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_MATH.BASE,
+ functionType: FunctionType.Math,
+ description: 'formula.functionList.BASE.description',
+ abstract: 'formula.functionList.BASE.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.BASE.functionParameter.number1.name',
+ detail: 'formula.functionList.BASE.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.BASE.functionParameter.number2.name',
+ detail: 'formula.functionList.BASE.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_MATH.CEILING,
+ functionType: FunctionType.Math,
+ description: 'formula.functionList.CEILING.description',
+ abstract: 'formula.functionList.CEILING.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.CEILING.functionParameter.number1.name',
+ detail: 'formula.functionList.CEILING.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.CEILING.functionParameter.number2.name',
+ detail: 'formula.functionList.CEILING.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_MATH.CEILING_MATH,
+ functionType: FunctionType.Math,
+ description: 'formula.functionList.CEILING_MATH.description',
+ abstract: 'formula.functionList.CEILING_MATH.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.CEILING_MATH.functionParameter.number1.name',
+ detail: 'formula.functionList.CEILING_MATH.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.CEILING_MATH.functionParameter.number2.name',
+ detail: 'formula.functionList.CEILING_MATH.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_MATH.CEILING_PRECISE,
+ functionType: FunctionType.Math,
+ description: 'formula.functionList.CEILING_PRECISE.description',
+ abstract: 'formula.functionList.CEILING_PRECISE.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.CEILING_PRECISE.functionParameter.number1.name',
+ detail: 'formula.functionList.CEILING_PRECISE.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.CEILING_PRECISE.functionParameter.number2.name',
+ detail: 'formula.functionList.CEILING_PRECISE.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_MATH.COMBIN,
+ functionType: FunctionType.Math,
+ description: 'formula.functionList.COMBIN.description',
+ abstract: 'formula.functionList.COMBIN.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.COMBIN.functionParameter.number1.name',
+ detail: 'formula.functionList.COMBIN.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.COMBIN.functionParameter.number2.name',
+ detail: 'formula.functionList.COMBIN.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_MATH.COMBINA,
+ functionType: FunctionType.Math,
+ description: 'formula.functionList.COMBINA.description',
+ abstract: 'formula.functionList.COMBINA.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.COMBINA.functionParameter.number1.name',
+ detail: 'formula.functionList.COMBINA.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.COMBINA.functionParameter.number2.name',
+ detail: 'formula.functionList.COMBINA.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_MATH.COS,
+ functionType: FunctionType.Math,
+ description: 'formula.functionList.COS.description',
+ abstract: 'formula.functionList.COS.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.COS.functionParameter.number1.name',
+ detail: 'formula.functionList.COS.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.COS.functionParameter.number2.name',
+ detail: 'formula.functionList.COS.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_MATH.COSH,
+ functionType: FunctionType.Math,
+ description: 'formula.functionList.COSH.description',
+ abstract: 'formula.functionList.COSH.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.COSH.functionParameter.number1.name',
+ detail: 'formula.functionList.COSH.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.COSH.functionParameter.number2.name',
+ detail: 'formula.functionList.COSH.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_MATH.COT,
+ functionType: FunctionType.Math,
+ description: 'formula.functionList.COT.description',
+ abstract: 'formula.functionList.COT.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.COT.functionParameter.number1.name',
+ detail: 'formula.functionList.COT.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.COT.functionParameter.number2.name',
+ detail: 'formula.functionList.COT.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_MATH.COTH,
+ functionType: FunctionType.Math,
+ description: 'formula.functionList.COTH.description',
+ abstract: 'formula.functionList.COTH.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.COTH.functionParameter.number1.name',
+ detail: 'formula.functionList.COTH.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.COTH.functionParameter.number2.name',
+ detail: 'formula.functionList.COTH.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_MATH.CSC,
+ functionType: FunctionType.Math,
+ description: 'formula.functionList.CSC.description',
+ abstract: 'formula.functionList.CSC.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.CSC.functionParameter.number1.name',
+ detail: 'formula.functionList.CSC.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.CSC.functionParameter.number2.name',
+ detail: 'formula.functionList.CSC.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_MATH.CSCH,
+ functionType: FunctionType.Math,
+ description: 'formula.functionList.CSCH.description',
+ abstract: 'formula.functionList.CSCH.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.CSCH.functionParameter.number1.name',
+ detail: 'formula.functionList.CSCH.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.CSCH.functionParameter.number2.name',
+ detail: 'formula.functionList.CSCH.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_MATH.DECIMAL,
+ functionType: FunctionType.Math,
+ description: 'formula.functionList.DECIMAL.description',
+ abstract: 'formula.functionList.DECIMAL.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.DECIMAL.functionParameter.number1.name',
+ detail: 'formula.functionList.DECIMAL.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.DECIMAL.functionParameter.number2.name',
+ detail: 'formula.functionList.DECIMAL.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_MATH.DEGREES,
+ functionType: FunctionType.Math,
+ description: 'formula.functionList.DEGREES.description',
+ abstract: 'formula.functionList.DEGREES.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.DEGREES.functionParameter.number1.name',
+ detail: 'formula.functionList.DEGREES.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.DEGREES.functionParameter.number2.name',
+ detail: 'formula.functionList.DEGREES.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_MATH.EVEN,
+ functionType: FunctionType.Math,
+ description: 'formula.functionList.EVEN.description',
+ abstract: 'formula.functionList.EVEN.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.EVEN.functionParameter.number1.name',
+ detail: 'formula.functionList.EVEN.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.EVEN.functionParameter.number2.name',
+ detail: 'formula.functionList.EVEN.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_MATH.EXP,
+ functionType: FunctionType.Math,
+ description: 'formula.functionList.EXP.description',
+ abstract: 'formula.functionList.EXP.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.EXP.functionParameter.number1.name',
+ detail: 'formula.functionList.EXP.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.EXP.functionParameter.number2.name',
+ detail: 'formula.functionList.EXP.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_MATH.FACT,
+ functionType: FunctionType.Math,
+ description: 'formula.functionList.FACT.description',
+ abstract: 'formula.functionList.FACT.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.FACT.functionParameter.number1.name',
+ detail: 'formula.functionList.FACT.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.FACT.functionParameter.number2.name',
+ detail: 'formula.functionList.FACT.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_MATH.FACTDOUBLE,
+ functionType: FunctionType.Math,
+ description: 'formula.functionList.FACTDOUBLE.description',
+ abstract: 'formula.functionList.FACTDOUBLE.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.FACTDOUBLE.functionParameter.number1.name',
+ detail: 'formula.functionList.FACTDOUBLE.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.FACTDOUBLE.functionParameter.number2.name',
+ detail: 'formula.functionList.FACTDOUBLE.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_MATH.FLOOR,
+ functionType: FunctionType.Math,
+ description: 'formula.functionList.FLOOR.description',
+ abstract: 'formula.functionList.FLOOR.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.FLOOR.functionParameter.number1.name',
+ detail: 'formula.functionList.FLOOR.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.FLOOR.functionParameter.number2.name',
+ detail: 'formula.functionList.FLOOR.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_MATH.FLOOR_MATH,
+ functionType: FunctionType.Math,
+ description: 'formula.functionList.FLOOR_MATH.description',
+ abstract: 'formula.functionList.FLOOR_MATH.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.FLOOR_MATH.functionParameter.number1.name',
+ detail: 'formula.functionList.FLOOR_MATH.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.FLOOR_MATH.functionParameter.number2.name',
+ detail: 'formula.functionList.FLOOR_MATH.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_MATH.FLOOR_PRECISE,
+ functionType: FunctionType.Math,
+ description: 'formula.functionList.FLOOR_PRECISE.description',
+ abstract: 'formula.functionList.FLOOR_PRECISE.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.FLOOR_PRECISE.functionParameter.number1.name',
+ detail: 'formula.functionList.FLOOR_PRECISE.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.FLOOR_PRECISE.functionParameter.number2.name',
+ detail: 'formula.functionList.FLOOR_PRECISE.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_MATH.GCD,
+ functionType: FunctionType.Math,
+ description: 'formula.functionList.GCD.description',
+ abstract: 'formula.functionList.GCD.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.GCD.functionParameter.number1.name',
+ detail: 'formula.functionList.GCD.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.GCD.functionParameter.number2.name',
+ detail: 'formula.functionList.GCD.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_MATH.INT,
+ functionType: FunctionType.Math,
+ description: 'formula.functionList.INT.description',
+ abstract: 'formula.functionList.INT.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.INT.functionParameter.number1.name',
+ detail: 'formula.functionList.INT.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.INT.functionParameter.number2.name',
+ detail: 'formula.functionList.INT.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_MATH.ISO_CEILING,
+ functionType: FunctionType.Math,
+ description: 'formula.functionList.ISO_CEILING.description',
+ abstract: 'formula.functionList.ISO_CEILING.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.ISO_CEILING.functionParameter.number1.name',
+ detail: 'formula.functionList.ISO_CEILING.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.ISO_CEILING.functionParameter.number2.name',
+ detail: 'formula.functionList.ISO_CEILING.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_MATH.LCM,
+ functionType: FunctionType.Math,
+ description: 'formula.functionList.LCM.description',
+ abstract: 'formula.functionList.LCM.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.LCM.functionParameter.number1.name',
+ detail: 'formula.functionList.LCM.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.LCM.functionParameter.number2.name',
+ detail: 'formula.functionList.LCM.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_MATH.LET,
+ functionType: FunctionType.Math,
+ description: 'formula.functionList.LET.description',
+ abstract: 'formula.functionList.LET.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.LET.functionParameter.number1.name',
+ detail: 'formula.functionList.LET.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.LET.functionParameter.number2.name',
+ detail: 'formula.functionList.LET.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_MATH.LN,
+ functionType: FunctionType.Math,
+ description: 'formula.functionList.LN.description',
+ abstract: 'formula.functionList.LN.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.LN.functionParameter.number1.name',
+ detail: 'formula.functionList.LN.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.LN.functionParameter.number2.name',
+ detail: 'formula.functionList.LN.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_MATH.LOG,
+ functionType: FunctionType.Math,
+ description: 'formula.functionList.LOG.description',
+ abstract: 'formula.functionList.LOG.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.LOG.functionParameter.number1.name',
+ detail: 'formula.functionList.LOG.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.LOG.functionParameter.number2.name',
+ detail: 'formula.functionList.LOG.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_MATH.LOG10,
+ functionType: FunctionType.Math,
+ description: 'formula.functionList.LOG10.description',
+ abstract: 'formula.functionList.LOG10.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.LOG10.functionParameter.number1.name',
+ detail: 'formula.functionList.LOG10.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.LOG10.functionParameter.number2.name',
+ detail: 'formula.functionList.LOG10.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_MATH.MDETERM,
+ functionType: FunctionType.Math,
+ description: 'formula.functionList.MDETERM.description',
+ abstract: 'formula.functionList.MDETERM.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.MDETERM.functionParameter.number1.name',
+ detail: 'formula.functionList.MDETERM.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.MDETERM.functionParameter.number2.name',
+ detail: 'formula.functionList.MDETERM.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_MATH.MINVERSE,
+ functionType: FunctionType.Math,
+ description: 'formula.functionList.MINVERSE.description',
+ abstract: 'formula.functionList.MINVERSE.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.MINVERSE.functionParameter.number1.name',
+ detail: 'formula.functionList.MINVERSE.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.MINVERSE.functionParameter.number2.name',
+ detail: 'formula.functionList.MINVERSE.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_MATH.MMULT,
+ functionType: FunctionType.Math,
+ description: 'formula.functionList.MMULT.description',
+ abstract: 'formula.functionList.MMULT.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.MMULT.functionParameter.number1.name',
+ detail: 'formula.functionList.MMULT.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.MMULT.functionParameter.number2.name',
+ detail: 'formula.functionList.MMULT.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_MATH.MOD,
+ functionType: FunctionType.Math,
+ description: 'formula.functionList.MOD.description',
+ abstract: 'formula.functionList.MOD.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.MOD.functionParameter.number1.name',
+ detail: 'formula.functionList.MOD.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.MOD.functionParameter.number2.name',
+ detail: 'formula.functionList.MOD.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_MATH.MROUND,
+ functionType: FunctionType.Math,
+ description: 'formula.functionList.MROUND.description',
+ abstract: 'formula.functionList.MROUND.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.MROUND.functionParameter.number1.name',
+ detail: 'formula.functionList.MROUND.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.MROUND.functionParameter.number2.name',
+ detail: 'formula.functionList.MROUND.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_MATH.MULTINOMIAL,
+ functionType: FunctionType.Math,
+ description: 'formula.functionList.MULTINOMIAL.description',
+ abstract: 'formula.functionList.MULTINOMIAL.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.MULTINOMIAL.functionParameter.number1.name',
+ detail: 'formula.functionList.MULTINOMIAL.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.MULTINOMIAL.functionParameter.number2.name',
+ detail: 'formula.functionList.MULTINOMIAL.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_MATH.MUNIT,
+ functionType: FunctionType.Math,
+ description: 'formula.functionList.MUNIT.description',
+ abstract: 'formula.functionList.MUNIT.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.MUNIT.functionParameter.number1.name',
+ detail: 'formula.functionList.MUNIT.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.MUNIT.functionParameter.number2.name',
+ detail: 'formula.functionList.MUNIT.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_MATH.ODD,
+ functionType: FunctionType.Math,
+ description: 'formula.functionList.ODD.description',
+ abstract: 'formula.functionList.ODD.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.ODD.functionParameter.number1.name',
+ detail: 'formula.functionList.ODD.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.ODD.functionParameter.number2.name',
+ detail: 'formula.functionList.ODD.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_MATH.PI,
+ functionType: FunctionType.Math,
+ description: 'formula.functionList.PI.description',
+ abstract: 'formula.functionList.PI.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.PI.functionParameter.number1.name',
+ detail: 'formula.functionList.PI.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.PI.functionParameter.number2.name',
+ detail: 'formula.functionList.PI.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_MATH.POWER,
+ functionType: FunctionType.Math,
+ description: 'formula.functionList.POWER.description',
+ abstract: 'formula.functionList.POWER.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.POWER.functionParameter.number1.name',
+ detail: 'formula.functionList.POWER.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.POWER.functionParameter.number2.name',
+ detail: 'formula.functionList.POWER.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_MATH.PRODUCT,
+ functionType: FunctionType.Math,
+ description: 'formula.functionList.PRODUCT.description',
+ abstract: 'formula.functionList.PRODUCT.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.PRODUCT.functionParameter.number1.name',
+ detail: 'formula.functionList.PRODUCT.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.PRODUCT.functionParameter.number2.name',
+ detail: 'formula.functionList.PRODUCT.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_MATH.QUOTIENT,
+ functionType: FunctionType.Math,
+ description: 'formula.functionList.QUOTIENT.description',
+ abstract: 'formula.functionList.QUOTIENT.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.QUOTIENT.functionParameter.number1.name',
+ detail: 'formula.functionList.QUOTIENT.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.QUOTIENT.functionParameter.number2.name',
+ detail: 'formula.functionList.QUOTIENT.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_MATH.RADIANS,
+ functionType: FunctionType.Math,
+ description: 'formula.functionList.RADIANS.description',
+ abstract: 'formula.functionList.RADIANS.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.RADIANS.functionParameter.number1.name',
+ detail: 'formula.functionList.RADIANS.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.RADIANS.functionParameter.number2.name',
+ detail: 'formula.functionList.RADIANS.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_MATH.RAND,
+ functionType: FunctionType.Math,
+ description: 'formula.functionList.RAND.description',
+ abstract: 'formula.functionList.RAND.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.RAND.functionParameter.number1.name',
+ detail: 'formula.functionList.RAND.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.RAND.functionParameter.number2.name',
+ detail: 'formula.functionList.RAND.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_MATH.RANDARRAY,
+ functionType: FunctionType.Math,
+ description: 'formula.functionList.RANDARRAY.description',
+ abstract: 'formula.functionList.RANDARRAY.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.RANDARRAY.functionParameter.number1.name',
+ detail: 'formula.functionList.RANDARRAY.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.RANDARRAY.functionParameter.number2.name',
+ detail: 'formula.functionList.RANDARRAY.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_MATH.RANDBETWEEN,
+ functionType: FunctionType.Math,
+ description: 'formula.functionList.RANDBETWEEN.description',
+ abstract: 'formula.functionList.RANDBETWEEN.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.RANDBETWEEN.functionParameter.number1.name',
+ detail: 'formula.functionList.RANDBETWEEN.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.RANDBETWEEN.functionParameter.number2.name',
+ detail: 'formula.functionList.RANDBETWEEN.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_MATH.ROMAN,
+ functionType: FunctionType.Math,
+ description: 'formula.functionList.ROMAN.description',
+ abstract: 'formula.functionList.ROMAN.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.ROMAN.functionParameter.number1.name',
+ detail: 'formula.functionList.ROMAN.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.ROMAN.functionParameter.number2.name',
+ detail: 'formula.functionList.ROMAN.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_MATH.ROUND,
+ functionType: FunctionType.Math,
+ description: 'formula.functionList.ROUND.description',
+ abstract: 'formula.functionList.ROUND.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.ROUND.functionParameter.number1.name',
+ detail: 'formula.functionList.ROUND.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.ROUND.functionParameter.number2.name',
+ detail: 'formula.functionList.ROUND.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_MATH.ROUNDDOWN,
+ functionType: FunctionType.Math,
+ description: 'formula.functionList.ROUNDDOWN.description',
+ abstract: 'formula.functionList.ROUNDDOWN.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.ROUNDDOWN.functionParameter.number1.name',
+ detail: 'formula.functionList.ROUNDDOWN.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.ROUNDDOWN.functionParameter.number2.name',
+ detail: 'formula.functionList.ROUNDDOWN.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_MATH.ROUNDUP,
+ functionType: FunctionType.Math,
+ description: 'formula.functionList.ROUNDUP.description',
+ abstract: 'formula.functionList.ROUNDUP.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.ROUNDUP.functionParameter.number1.name',
+ detail: 'formula.functionList.ROUNDUP.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.ROUNDUP.functionParameter.number2.name',
+ detail: 'formula.functionList.ROUNDUP.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_MATH.SEC,
+ functionType: FunctionType.Math,
+ description: 'formula.functionList.SEC.description',
+ abstract: 'formula.functionList.SEC.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.SEC.functionParameter.number1.name',
+ detail: 'formula.functionList.SEC.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.SEC.functionParameter.number2.name',
+ detail: 'formula.functionList.SEC.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_MATH.SECH,
+ functionType: FunctionType.Math,
+ description: 'formula.functionList.SECH.description',
+ abstract: 'formula.functionList.SECH.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.SECH.functionParameter.number1.name',
+ detail: 'formula.functionList.SECH.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.SECH.functionParameter.number2.name',
+ detail: 'formula.functionList.SECH.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_MATH.SERIESSUM,
+ functionType: FunctionType.Math,
+ description: 'formula.functionList.SERIESSUM.description',
+ abstract: 'formula.functionList.SERIESSUM.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.SERIESSUM.functionParameter.number1.name',
+ detail: 'formula.functionList.SERIESSUM.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.SERIESSUM.functionParameter.number2.name',
+ detail: 'formula.functionList.SERIESSUM.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_MATH.SEQUENCE,
+ functionType: FunctionType.Math,
+ description: 'formula.functionList.SEQUENCE.description',
+ abstract: 'formula.functionList.SEQUENCE.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.SEQUENCE.functionParameter.number1.name',
+ detail: 'formula.functionList.SEQUENCE.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.SEQUENCE.functionParameter.number2.name',
+ detail: 'formula.functionList.SEQUENCE.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_MATH.SIGN,
+ functionType: FunctionType.Math,
+ description: 'formula.functionList.SIGN.description',
+ abstract: 'formula.functionList.SIGN.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.SIGN.functionParameter.number1.name',
+ detail: 'formula.functionList.SIGN.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.SIGN.functionParameter.number2.name',
+ detail: 'formula.functionList.SIGN.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_MATH.SIN,
+ functionType: FunctionType.Math,
+ description: 'formula.functionList.SIN.description',
+ abstract: 'formula.functionList.SIN.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.SIN.functionParameter.number1.name',
+ detail: 'formula.functionList.SIN.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.SIN.functionParameter.number2.name',
+ detail: 'formula.functionList.SIN.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_MATH.SINH,
+ functionType: FunctionType.Math,
+ description: 'formula.functionList.SINH.description',
+ abstract: 'formula.functionList.SINH.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.SINH.functionParameter.number1.name',
+ detail: 'formula.functionList.SINH.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.SINH.functionParameter.number2.name',
+ detail: 'formula.functionList.SINH.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_MATH.SQRT,
+ functionType: FunctionType.Math,
+ description: 'formula.functionList.SQRT.description',
+ abstract: 'formula.functionList.SQRT.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.SQRT.functionParameter.number1.name',
+ detail: 'formula.functionList.SQRT.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.SQRT.functionParameter.number2.name',
+ detail: 'formula.functionList.SQRT.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_MATH.SQRTPI,
+ functionType: FunctionType.Math,
+ description: 'formula.functionList.SQRTPI.description',
+ abstract: 'formula.functionList.SQRTPI.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.SQRTPI.functionParameter.number1.name',
+ detail: 'formula.functionList.SQRTPI.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.SQRTPI.functionParameter.number2.name',
+ detail: 'formula.functionList.SQRTPI.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_MATH.SUBTOTAL,
+ functionType: FunctionType.Math,
+ description: 'formula.functionList.SUBTOTAL.description',
+ abstract: 'formula.functionList.SUBTOTAL.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.SUBTOTAL.functionParameter.number1.name',
+ detail: 'formula.functionList.SUBTOTAL.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.SUBTOTAL.functionParameter.number2.name',
+ detail: 'formula.functionList.SUBTOTAL.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
{
functionName: FUNCTION_NAMES_MATH.SUM,
aliasFunctionName: 'formula.functionList.SUM.aliasFunctionName',
@@ -131,4 +1605,202 @@ export const FUNCTION_LIST_MATH: IFunctionInfo[] = [
},
],
},
+ {
+ functionName: FUNCTION_NAMES_MATH.SUMIFS,
+ functionType: FunctionType.Math,
+ description: 'formula.functionList.SUMIFS.description',
+ abstract: 'formula.functionList.SUMIFS.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.SUMIFS.functionParameter.number1.name',
+ detail: 'formula.functionList.SUMIFS.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.SUMIFS.functionParameter.number2.name',
+ detail: 'formula.functionList.SUMIFS.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_MATH.SUMPRODUCT,
+ functionType: FunctionType.Math,
+ description: 'formula.functionList.SUMPRODUCT.description',
+ abstract: 'formula.functionList.SUMPRODUCT.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.SUMPRODUCT.functionParameter.number1.name',
+ detail: 'formula.functionList.SUMPRODUCT.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.SUMPRODUCT.functionParameter.number2.name',
+ detail: 'formula.functionList.SUMPRODUCT.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_MATH.SUMSQ,
+ functionType: FunctionType.Math,
+ description: 'formula.functionList.SUMSQ.description',
+ abstract: 'formula.functionList.SUMSQ.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.SUMSQ.functionParameter.number1.name',
+ detail: 'formula.functionList.SUMSQ.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.SUMSQ.functionParameter.number2.name',
+ detail: 'formula.functionList.SUMSQ.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_MATH.SUMX2MY2,
+ functionType: FunctionType.Math,
+ description: 'formula.functionList.SUMX2MY2.description',
+ abstract: 'formula.functionList.SUMX2MY2.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.SUMX2MY2.functionParameter.number1.name',
+ detail: 'formula.functionList.SUMX2MY2.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.SUMX2MY2.functionParameter.number2.name',
+ detail: 'formula.functionList.SUMX2MY2.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_MATH.SUMX2PY2,
+ functionType: FunctionType.Math,
+ description: 'formula.functionList.SUMX2PY2.description',
+ abstract: 'formula.functionList.SUMX2PY2.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.SUMX2PY2.functionParameter.number1.name',
+ detail: 'formula.functionList.SUMX2PY2.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.SUMX2PY2.functionParameter.number2.name',
+ detail: 'formula.functionList.SUMX2PY2.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_MATH.SUMXMY2,
+ functionType: FunctionType.Math,
+ description: 'formula.functionList.SUMXMY2.description',
+ abstract: 'formula.functionList.SUMXMY2.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.SUMXMY2.functionParameter.number1.name',
+ detail: 'formula.functionList.SUMXMY2.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.SUMXMY2.functionParameter.number2.name',
+ detail: 'formula.functionList.SUMXMY2.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_MATH.TAN,
+ functionType: FunctionType.Math,
+ description: 'formula.functionList.TAN.description',
+ abstract: 'formula.functionList.TAN.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.TAN.functionParameter.number1.name',
+ detail: 'formula.functionList.TAN.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.TAN.functionParameter.number2.name',
+ detail: 'formula.functionList.TAN.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_MATH.TANH,
+ functionType: FunctionType.Math,
+ description: 'formula.functionList.TANH.description',
+ abstract: 'formula.functionList.TANH.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.TANH.functionParameter.number1.name',
+ detail: 'formula.functionList.TANH.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.TANH.functionParameter.number2.name',
+ detail: 'formula.functionList.TANH.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_MATH.TRUNC,
+ functionType: FunctionType.Math,
+ description: 'formula.functionList.TRUNC.description',
+ abstract: 'formula.functionList.TRUNC.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.TRUNC.functionParameter.number1.name',
+ detail: 'formula.functionList.TRUNC.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.TRUNC.functionParameter.number2.name',
+ detail: 'formula.functionList.TRUNC.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
];
diff --git a/packages/sheets-formula/src/services/function-list/statistical.ts b/packages/sheets-formula/src/services/function-list/statistical.ts
index 34b2a3778e..7738234928 100644
--- a/packages/sheets-formula/src/services/function-list/statistical.ts
+++ b/packages/sheets-formula/src/services/function-list/statistical.ts
@@ -18,6 +18,28 @@ import type { IFunctionInfo } from '@univerjs/engine-formula';
import { FUNCTION_NAMES_STATISTICAL, FunctionType } from '@univerjs/engine-formula';
export const FUNCTION_LIST_STATISTICAL: IFunctionInfo[] = [
+ {
+ functionName: FUNCTION_NAMES_STATISTICAL.AVEDEV,
+ functionType: FunctionType.Statistical,
+ description: 'formula.functionList.AVEDEV.description',
+ abstract: 'formula.functionList.AVEDEV.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.AVEDEV.functionParameter.number1.name',
+ detail: 'formula.functionList.AVEDEV.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.AVEDEV.functionParameter.number2.name',
+ detail: 'formula.functionList.AVEDEV.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
{
functionName: FUNCTION_NAMES_STATISTICAL.AVERAGE,
aliasFunctionName: 'formula.functionList.AVERAGE.aliasFunctionName',
@@ -42,94 +64,2404 @@ export const FUNCTION_LIST_STATISTICAL: IFunctionInfo[] = [
],
},
{
- functionName: FUNCTION_NAMES_STATISTICAL.MAX,
- aliasFunctionName: 'formula.functionList.MAX.aliasFunctionName',
+ functionName: FUNCTION_NAMES_STATISTICAL.AVERAGEA,
functionType: FunctionType.Statistical,
- description: 'formula.functionList.MAX.description',
- abstract: 'formula.functionList.MAX.abstract',
+ description: 'formula.functionList.AVERAGEA.description',
+ abstract: 'formula.functionList.AVERAGEA.abstract',
functionParameter: [
{
- name: 'formula.functionList.MAX.functionParameter.number1.name',
- detail: 'formula.functionList.MAX.functionParameter.number1.detail',
+ name: 'formula.functionList.AVERAGEA.functionParameter.number1.name',
+ detail: 'formula.functionList.AVERAGEA.functionParameter.number1.detail',
example: 'A1:A20',
require: 1,
repeat: 0,
},
{
- name: 'formula.functionList.MAX.functionParameter.number2.name',
- detail: 'formula.functionList.MAX.functionParameter.number2.detail',
- example: 'B2:B10',
- require: 0,
- repeat: 1,
+ name: 'formula.functionList.AVERAGEA.functionParameter.number2.name',
+ detail: 'formula.functionList.AVERAGEA.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
},
],
},
{
- functionName: FUNCTION_NAMES_STATISTICAL.COUNT,
- aliasFunctionName: 'formula.functionList.COUNT.aliasFunctionName',
+ functionName: FUNCTION_NAMES_STATISTICAL.AVERAGEIF,
functionType: FunctionType.Statistical,
- description: 'formula.functionList.COUNT.description',
- abstract: 'formula.functionList.COUNT.abstract',
+ description: 'formula.functionList.AVERAGEIF.description',
+ abstract: 'formula.functionList.AVERAGEIF.abstract',
functionParameter: [
{
- name: 'formula.functionList.COUNT.functionParameter.value1.name',
- detail: 'formula.functionList.COUNT.functionParameter.value1.detail',
+ name: 'formula.functionList.AVERAGEIF.functionParameter.number1.name',
+ detail: 'formula.functionList.AVERAGEIF.functionParameter.number1.detail',
example: 'A1:A20',
require: 1,
repeat: 0,
},
{
- name: 'formula.functionList.COUNT.functionParameter.value2.name',
- detail: 'formula.functionList.COUNT.functionParameter.value2.detail',
- example: 'B2:B10',
- require: 0,
- repeat: 1,
+ name: 'formula.functionList.AVERAGEIF.functionParameter.number2.name',
+ detail: 'formula.functionList.AVERAGEIF.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
},
],
},
{
- functionName: FUNCTION_NAMES_STATISTICAL.MIN,
- aliasFunctionName: 'formula.functionList.MIN.aliasFunctionName',
+ functionName: FUNCTION_NAMES_STATISTICAL.AVERAGEIFS,
functionType: FunctionType.Statistical,
- description: 'formula.functionList.MIN.description',
- abstract: 'formula.functionList.MIN.abstract',
+ description: 'formula.functionList.AVERAGEIFS.description',
+ abstract: 'formula.functionList.AVERAGEIFS.abstract',
functionParameter: [
{
- name: 'formula.functionList.MIN.functionParameter.number1.name',
- detail: 'formula.functionList.MIN.functionParameter.number1.detail',
+ name: 'formula.functionList.AVERAGEIFS.functionParameter.number1.name',
+ detail: 'formula.functionList.AVERAGEIFS.functionParameter.number1.detail',
example: 'A1:A20',
require: 1,
repeat: 0,
},
{
- name: 'formula.functionList.MIN.functionParameter.number2.name',
- detail: 'formula.functionList.MIN.functionParameter.number2.detail',
- example: 'B2:B10',
- require: 0,
- repeat: 1,
+ name: 'formula.functionList.AVERAGEIFS.functionParameter.number2.name',
+ detail: 'formula.functionList.AVERAGEIFS.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
},
],
},
{
- functionName: FUNCTION_NAMES_STATISTICAL.COUNTA,
- aliasFunctionName: 'formula.functionList.COUNTA.aliasFunctionName',
+ functionName: FUNCTION_NAMES_STATISTICAL.BETA_DIST,
functionType: FunctionType.Statistical,
- description: 'formula.functionList.COUNT_A.description',
- abstract: 'formula.functionList.COUNT_A.abstract',
+ description: 'formula.functionList.BETA_DIST.description',
+ abstract: 'formula.functionList.BETA_DIST.abstract',
functionParameter: [
{
- name: 'formula.functionList.COUNT_A.functionParameter.number1.name',
- detail: 'formula.functionList.COUNT_A.functionParameter.number1.detail',
+ name: 'formula.functionList.BETA_DIST.functionParameter.number1.name',
+ detail: 'formula.functionList.BETA_DIST.functionParameter.number1.detail',
example: 'A1:A20',
require: 1,
repeat: 0,
},
{
- name: 'formula.functionList.COUNT_A.functionParameter.number2.name',
- detail: 'formula.functionList.COUNT_A.functionParameter.number2.detail',
- example: 'B2:B10',
- require: 0,
- repeat: 1,
+ name: 'formula.functionList.BETA_DIST.functionParameter.number2.name',
+ detail: 'formula.functionList.BETA_DIST.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_STATISTICAL.BETA_INV,
+ functionType: FunctionType.Statistical,
+ description: 'formula.functionList.BETA_INV.description',
+ abstract: 'formula.functionList.BETA_INV.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.BETA_INV.functionParameter.number1.name',
+ detail: 'formula.functionList.BETA_INV.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.BETA_INV.functionParameter.number2.name',
+ detail: 'formula.functionList.BETA_INV.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_STATISTICAL.BINOM_DIST,
+ functionType: FunctionType.Statistical,
+ description: 'formula.functionList.BINOM_DIST.description',
+ abstract: 'formula.functionList.BINOM_DIST.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.BINOM_DIST.functionParameter.number1.name',
+ detail: 'formula.functionList.BINOM_DIST.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.BINOM_DIST.functionParameter.number2.name',
+ detail: 'formula.functionList.BINOM_DIST.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_STATISTICAL.BINOM_DIST_RANGE,
+ functionType: FunctionType.Statistical,
+ description: 'formula.functionList.BINOM_DIST_RANGE.description',
+ abstract: 'formula.functionList.BINOM_DIST_RANGE.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.BINOM_DIST_RANGE.functionParameter.number1.name',
+ detail: 'formula.functionList.BINOM_DIST_RANGE.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.BINOM_DIST_RANGE.functionParameter.number2.name',
+ detail: 'formula.functionList.BINOM_DIST_RANGE.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_STATISTICAL.BINOM_INV,
+ functionType: FunctionType.Statistical,
+ description: 'formula.functionList.BINOM_INV.description',
+ abstract: 'formula.functionList.BINOM_INV.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.BINOM_INV.functionParameter.number1.name',
+ detail: 'formula.functionList.BINOM_INV.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.BINOM_INV.functionParameter.number2.name',
+ detail: 'formula.functionList.BINOM_INV.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_STATISTICAL.CHISQ_DIST,
+ functionType: FunctionType.Statistical,
+ description: 'formula.functionList.CHISQ_DIST.description',
+ abstract: 'formula.functionList.CHISQ_DIST.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.CHISQ_DIST.functionParameter.number1.name',
+ detail: 'formula.functionList.CHISQ_DIST.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.CHISQ_DIST.functionParameter.number2.name',
+ detail: 'formula.functionList.CHISQ_DIST.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_STATISTICAL.CHISQ_DIST_RT,
+ functionType: FunctionType.Statistical,
+ description: 'formula.functionList.CHISQ_DIST_RT.description',
+ abstract: 'formula.functionList.CHISQ_DIST_RT.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.CHISQ_DIST_RT.functionParameter.number1.name',
+ detail: 'formula.functionList.CHISQ_DIST_RT.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.CHISQ_DIST_RT.functionParameter.number2.name',
+ detail: 'formula.functionList.CHISQ_DIST_RT.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_STATISTICAL.CHISQ_INV,
+ functionType: FunctionType.Statistical,
+ description: 'formula.functionList.CHISQ_INV.description',
+ abstract: 'formula.functionList.CHISQ_INV.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.CHISQ_INV.functionParameter.number1.name',
+ detail: 'formula.functionList.CHISQ_INV.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.CHISQ_INV.functionParameter.number2.name',
+ detail: 'formula.functionList.CHISQ_INV.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_STATISTICAL.CHISQ_INV_RT,
+ functionType: FunctionType.Statistical,
+ description: 'formula.functionList.CHISQ_INV_RT.description',
+ abstract: 'formula.functionList.CHISQ_INV_RT.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.CHISQ_INV_RT.functionParameter.number1.name',
+ detail: 'formula.functionList.CHISQ_INV_RT.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.CHISQ_INV_RT.functionParameter.number2.name',
+ detail: 'formula.functionList.CHISQ_INV_RT.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_STATISTICAL.CHISQ_TEST,
+ functionType: FunctionType.Statistical,
+ description: 'formula.functionList.CHISQ_TEST.description',
+ abstract: 'formula.functionList.CHISQ_TEST.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.CHISQ_TEST.functionParameter.number1.name',
+ detail: 'formula.functionList.CHISQ_TEST.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.CHISQ_TEST.functionParameter.number2.name',
+ detail: 'formula.functionList.CHISQ_TEST.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_STATISTICAL.CONFIDENCE_NORM,
+ functionType: FunctionType.Statistical,
+ description: 'formula.functionList.CONFIDENCE_NORM.description',
+ abstract: 'formula.functionList.CONFIDENCE_NORM.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.CONFIDENCE_NORM.functionParameter.number1.name',
+ detail: 'formula.functionList.CONFIDENCE_NORM.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.CONFIDENCE_NORM.functionParameter.number2.name',
+ detail: 'formula.functionList.CONFIDENCE_NORM.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_STATISTICAL.CONFIDENCE_T,
+ functionType: FunctionType.Statistical,
+ description: 'formula.functionList.CONFIDENCE_T.description',
+ abstract: 'formula.functionList.CONFIDENCE_T.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.CONFIDENCE_T.functionParameter.number1.name',
+ detail: 'formula.functionList.CONFIDENCE_T.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.CONFIDENCE_T.functionParameter.number2.name',
+ detail: 'formula.functionList.CONFIDENCE_T.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_STATISTICAL.CORREL,
+ functionType: FunctionType.Statistical,
+ description: 'formula.functionList.CORREL.description',
+ abstract: 'formula.functionList.CORREL.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.CORREL.functionParameter.number1.name',
+ detail: 'formula.functionList.CORREL.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.CORREL.functionParameter.number2.name',
+ detail: 'formula.functionList.CORREL.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_STATISTICAL.COUNT,
+ aliasFunctionName: 'formula.functionList.COUNT.aliasFunctionName',
+ functionType: FunctionType.Statistical,
+ description: 'formula.functionList.COUNT.description',
+ abstract: 'formula.functionList.COUNT.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.COUNT.functionParameter.value1.name',
+ detail: 'formula.functionList.COUNT.functionParameter.value1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.COUNT.functionParameter.value2.name',
+ detail: 'formula.functionList.COUNT.functionParameter.value2.detail',
+ example: 'B2:B10',
+ require: 0,
+ repeat: 1,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_STATISTICAL.COUNTA,
+ aliasFunctionName: 'formula.functionList.COUNTA.aliasFunctionName',
+ functionType: FunctionType.Statistical,
+ description: 'formula.functionList.COUNTA.description',
+ abstract: 'formula.functionList.COUNTA.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.COUNTA.functionParameter.number1.name',
+ detail: 'formula.functionList.COUNTA.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.COUNTA.functionParameter.number2.name',
+ detail: 'formula.functionList.COUNTA.functionParameter.number2.detail',
+ example: 'B2:B10',
+ require: 0,
+ repeat: 1,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_STATISTICAL.COUNTBLANK,
+ functionType: FunctionType.Statistical,
+ description: 'formula.functionList.COUNTBLANK.description',
+ abstract: 'formula.functionList.COUNTBLANK.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.COUNTBLANK.functionParameter.number1.name',
+ detail: 'formula.functionList.COUNTBLANK.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.COUNTBLANK.functionParameter.number2.name',
+ detail: 'formula.functionList.COUNTBLANK.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_STATISTICAL.COUNTIF,
+ functionType: FunctionType.Statistical,
+ description: 'formula.functionList.COUNTIF.description',
+ abstract: 'formula.functionList.COUNTIF.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.COUNTIF.functionParameter.number1.name',
+ detail: 'formula.functionList.COUNTIF.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.COUNTIF.functionParameter.number2.name',
+ detail: 'formula.functionList.COUNTIF.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_STATISTICAL.COUNTIFS,
+ functionType: FunctionType.Statistical,
+ description: 'formula.functionList.COUNTIFS.description',
+ abstract: 'formula.functionList.COUNTIFS.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.COUNTIFS.functionParameter.number1.name',
+ detail: 'formula.functionList.COUNTIFS.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.COUNTIFS.functionParameter.number2.name',
+ detail: 'formula.functionList.COUNTIFS.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_STATISTICAL.COVARIANCE_P,
+ functionType: FunctionType.Statistical,
+ description: 'formula.functionList.COVARIANCE_P.description',
+ abstract: 'formula.functionList.COVARIANCE_P.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.COVARIANCE_P.functionParameter.number1.name',
+ detail: 'formula.functionList.COVARIANCE_P.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.COVARIANCE_P.functionParameter.number2.name',
+ detail: 'formula.functionList.COVARIANCE_P.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_STATISTICAL.COVARIANCE_S,
+ functionType: FunctionType.Statistical,
+ description: 'formula.functionList.COVARIANCE_S.description',
+ abstract: 'formula.functionList.COVARIANCE_S.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.COVARIANCE_S.functionParameter.number1.name',
+ detail: 'formula.functionList.COVARIANCE_S.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.COVARIANCE_S.functionParameter.number2.name',
+ detail: 'formula.functionList.COVARIANCE_S.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_STATISTICAL.DEVSQ,
+ functionType: FunctionType.Statistical,
+ description: 'formula.functionList.DEVSQ.description',
+ abstract: 'formula.functionList.DEVSQ.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.DEVSQ.functionParameter.number1.name',
+ detail: 'formula.functionList.DEVSQ.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.DEVSQ.functionParameter.number2.name',
+ detail: 'formula.functionList.DEVSQ.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_STATISTICAL.EXPON_DIST,
+ functionType: FunctionType.Statistical,
+ description: 'formula.functionList.EXPON_DIST.description',
+ abstract: 'formula.functionList.EXPON_DIST.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.EXPON_DIST.functionParameter.number1.name',
+ detail: 'formula.functionList.EXPON_DIST.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.EXPON_DIST.functionParameter.number2.name',
+ detail: 'formula.functionList.EXPON_DIST.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_STATISTICAL.F_DIST,
+ functionType: FunctionType.Statistical,
+ description: 'formula.functionList.F_DIST.description',
+ abstract: 'formula.functionList.F_DIST.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.F_DIST.functionParameter.number1.name',
+ detail: 'formula.functionList.F_DIST.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.F_DIST.functionParameter.number2.name',
+ detail: 'formula.functionList.F_DIST.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_STATISTICAL.F_DIST_RT,
+ functionType: FunctionType.Statistical,
+ description: 'formula.functionList.F_DIST_RT.description',
+ abstract: 'formula.functionList.F_DIST_RT.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.F_DIST_RT.functionParameter.number1.name',
+ detail: 'formula.functionList.F_DIST_RT.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.F_DIST_RT.functionParameter.number2.name',
+ detail: 'formula.functionList.F_DIST_RT.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_STATISTICAL.F_INV,
+ functionType: FunctionType.Statistical,
+ description: 'formula.functionList.F_INV.description',
+ abstract: 'formula.functionList.F_INV.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.F_INV.functionParameter.number1.name',
+ detail: 'formula.functionList.F_INV.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.F_INV.functionParameter.number2.name',
+ detail: 'formula.functionList.F_INV.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_STATISTICAL.F_INV_RT,
+ functionType: FunctionType.Statistical,
+ description: 'formula.functionList.F_INV_RT.description',
+ abstract: 'formula.functionList.F_INV_RT.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.F_INV_RT.functionParameter.number1.name',
+ detail: 'formula.functionList.F_INV_RT.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.F_INV_RT.functionParameter.number2.name',
+ detail: 'formula.functionList.F_INV_RT.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_STATISTICAL.F_TEST,
+ functionType: FunctionType.Statistical,
+ description: 'formula.functionList.F_TEST.description',
+ abstract: 'formula.functionList.F_TEST.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.F_TEST.functionParameter.number1.name',
+ detail: 'formula.functionList.F_TEST.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.F_TEST.functionParameter.number2.name',
+ detail: 'formula.functionList.F_TEST.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_STATISTICAL.FISHER,
+ functionType: FunctionType.Statistical,
+ description: 'formula.functionList.FISHER.description',
+ abstract: 'formula.functionList.FISHER.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.FISHER.functionParameter.number1.name',
+ detail: 'formula.functionList.FISHER.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.FISHER.functionParameter.number2.name',
+ detail: 'formula.functionList.FISHER.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_STATISTICAL.FISHERINV,
+ functionType: FunctionType.Statistical,
+ description: 'formula.functionList.FISHERINV.description',
+ abstract: 'formula.functionList.FISHERINV.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.FISHERINV.functionParameter.number1.name',
+ detail: 'formula.functionList.FISHERINV.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.FISHERINV.functionParameter.number2.name',
+ detail: 'formula.functionList.FISHERINV.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_STATISTICAL.FORECAST,
+ functionType: FunctionType.Statistical,
+ description: 'formula.functionList.FORECAST.description',
+ abstract: 'formula.functionList.FORECAST.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.FORECAST.functionParameter.number1.name',
+ detail: 'formula.functionList.FORECAST.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.FORECAST.functionParameter.number2.name',
+ detail: 'formula.functionList.FORECAST.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_STATISTICAL.FORECAST_ETS,
+ functionType: FunctionType.Statistical,
+ description: 'formula.functionList.FORECAST_ETS.description',
+ abstract: 'formula.functionList.FORECAST_ETS.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.FORECAST_ETS.functionParameter.number1.name',
+ detail: 'formula.functionList.FORECAST_ETS.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.FORECAST_ETS.functionParameter.number2.name',
+ detail: 'formula.functionList.FORECAST_ETS.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_STATISTICAL.FORECAST_ETS_CONFINT,
+ functionType: FunctionType.Statistical,
+ description: 'formula.functionList.FORECAST_ETS_CONFINT.description',
+ abstract: 'formula.functionList.FORECAST_ETS_CONFINT.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.FORECAST_ETS_CONFINT.functionParameter.number1.name',
+ detail: 'formula.functionList.FORECAST_ETS_CONFINT.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.FORECAST_ETS_CONFINT.functionParameter.number2.name',
+ detail: 'formula.functionList.FORECAST_ETS_CONFINT.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_STATISTICAL.FORECAST_ETS_SEASONALITY,
+ functionType: FunctionType.Statistical,
+ description: 'formula.functionList.FORECAST_ETS_SEASONALITY.description',
+ abstract: 'formula.functionList.FORECAST_ETS_SEASONALITY.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.FORECAST_ETS_SEASONALITY.functionParameter.number1.name',
+ detail: 'formula.functionList.FORECAST_ETS_SEASONALITY.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.FORECAST_ETS_SEASONALITY.functionParameter.number2.name',
+ detail: 'formula.functionList.FORECAST_ETS_SEASONALITY.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_STATISTICAL.FORECAST_ETS_STAT,
+ functionType: FunctionType.Statistical,
+ description: 'formula.functionList.FORECAST_ETS_STAT.description',
+ abstract: 'formula.functionList.FORECAST_ETS_STAT.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.FORECAST_ETS_STAT.functionParameter.number1.name',
+ detail: 'formula.functionList.FORECAST_ETS_STAT.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.FORECAST_ETS_STAT.functionParameter.number2.name',
+ detail: 'formula.functionList.FORECAST_ETS_STAT.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_STATISTICAL.FORECAST_LINEAR,
+ functionType: FunctionType.Statistical,
+ description: 'formula.functionList.FORECAST_LINEAR.description',
+ abstract: 'formula.functionList.FORECAST_LINEAR.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.FORECAST_LINEAR.functionParameter.number1.name',
+ detail: 'formula.functionList.FORECAST_LINEAR.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.FORECAST_LINEAR.functionParameter.number2.name',
+ detail: 'formula.functionList.FORECAST_LINEAR.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_STATISTICAL.FREQUENCY,
+ functionType: FunctionType.Statistical,
+ description: 'formula.functionList.FREQUENCY.description',
+ abstract: 'formula.functionList.FREQUENCY.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.FREQUENCY.functionParameter.number1.name',
+ detail: 'formula.functionList.FREQUENCY.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.FREQUENCY.functionParameter.number2.name',
+ detail: 'formula.functionList.FREQUENCY.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_STATISTICAL.GAMMA,
+ functionType: FunctionType.Statistical,
+ description: 'formula.functionList.GAMMA.description',
+ abstract: 'formula.functionList.GAMMA.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.GAMMA.functionParameter.number1.name',
+ detail: 'formula.functionList.GAMMA.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.GAMMA.functionParameter.number2.name',
+ detail: 'formula.functionList.GAMMA.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_STATISTICAL.GAMMA_DIST,
+ functionType: FunctionType.Statistical,
+ description: 'formula.functionList.GAMMA_DIST.description',
+ abstract: 'formula.functionList.GAMMA_DIST.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.GAMMA_DIST.functionParameter.number1.name',
+ detail: 'formula.functionList.GAMMA_DIST.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.GAMMA_DIST.functionParameter.number2.name',
+ detail: 'formula.functionList.GAMMA_DIST.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_STATISTICAL.GAMMA_INV,
+ functionType: FunctionType.Statistical,
+ description: 'formula.functionList.GAMMA_INV.description',
+ abstract: 'formula.functionList.GAMMA_INV.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.GAMMA_INV.functionParameter.number1.name',
+ detail: 'formula.functionList.GAMMA_INV.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.GAMMA_INV.functionParameter.number2.name',
+ detail: 'formula.functionList.GAMMA_INV.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_STATISTICAL.GAMMALN,
+ functionType: FunctionType.Statistical,
+ description: 'formula.functionList.GAMMALN.description',
+ abstract: 'formula.functionList.GAMMALN.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.GAMMALN.functionParameter.number1.name',
+ detail: 'formula.functionList.GAMMALN.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.GAMMALN.functionParameter.number2.name',
+ detail: 'formula.functionList.GAMMALN.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_STATISTICAL.GAMMALN_PRECISE,
+ functionType: FunctionType.Statistical,
+ description: 'formula.functionList.GAMMALN_PRECISE.description',
+ abstract: 'formula.functionList.GAMMALN_PRECISE.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.GAMMALN_PRECISE.functionParameter.number1.name',
+ detail: 'formula.functionList.GAMMALN_PRECISE.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.GAMMALN_PRECISE.functionParameter.number2.name',
+ detail: 'formula.functionList.GAMMALN_PRECISE.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_STATISTICAL.GAUSS,
+ functionType: FunctionType.Statistical,
+ description: 'formula.functionList.GAUSS.description',
+ abstract: 'formula.functionList.GAUSS.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.GAUSS.functionParameter.number1.name',
+ detail: 'formula.functionList.GAUSS.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.GAUSS.functionParameter.number2.name',
+ detail: 'formula.functionList.GAUSS.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_STATISTICAL.GEOMEAN,
+ functionType: FunctionType.Statistical,
+ description: 'formula.functionList.GEOMEAN.description',
+ abstract: 'formula.functionList.GEOMEAN.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.GEOMEAN.functionParameter.number1.name',
+ detail: 'formula.functionList.GEOMEAN.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.GEOMEAN.functionParameter.number2.name',
+ detail: 'formula.functionList.GEOMEAN.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_STATISTICAL.GROWTH,
+ functionType: FunctionType.Statistical,
+ description: 'formula.functionList.GROWTH.description',
+ abstract: 'formula.functionList.GROWTH.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.GROWTH.functionParameter.number1.name',
+ detail: 'formula.functionList.GROWTH.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.GROWTH.functionParameter.number2.name',
+ detail: 'formula.functionList.GROWTH.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_STATISTICAL.HARMEAN,
+ functionType: FunctionType.Statistical,
+ description: 'formula.functionList.HARMEAN.description',
+ abstract: 'formula.functionList.HARMEAN.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.HARMEAN.functionParameter.number1.name',
+ detail: 'formula.functionList.HARMEAN.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.HARMEAN.functionParameter.number2.name',
+ detail: 'formula.functionList.HARMEAN.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_STATISTICAL.HYPGEOM_DIST,
+ functionType: FunctionType.Statistical,
+ description: 'formula.functionList.HYPGEOM_DIST.description',
+ abstract: 'formula.functionList.HYPGEOM_DIST.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.HYPGEOM_DIST.functionParameter.number1.name',
+ detail: 'formula.functionList.HYPGEOM_DIST.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.HYPGEOM_DIST.functionParameter.number2.name',
+ detail: 'formula.functionList.HYPGEOM_DIST.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_STATISTICAL.INTERCEPT,
+ functionType: FunctionType.Statistical,
+ description: 'formula.functionList.INTERCEPT.description',
+ abstract: 'formula.functionList.INTERCEPT.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.INTERCEPT.functionParameter.number1.name',
+ detail: 'formula.functionList.INTERCEPT.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.INTERCEPT.functionParameter.number2.name',
+ detail: 'formula.functionList.INTERCEPT.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_STATISTICAL.KURT,
+ functionType: FunctionType.Statistical,
+ description: 'formula.functionList.KURT.description',
+ abstract: 'formula.functionList.KURT.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.KURT.functionParameter.number1.name',
+ detail: 'formula.functionList.KURT.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.KURT.functionParameter.number2.name',
+ detail: 'formula.functionList.KURT.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_STATISTICAL.LARGE,
+ functionType: FunctionType.Statistical,
+ description: 'formula.functionList.LARGE.description',
+ abstract: 'formula.functionList.LARGE.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.LARGE.functionParameter.number1.name',
+ detail: 'formula.functionList.LARGE.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.LARGE.functionParameter.number2.name',
+ detail: 'formula.functionList.LARGE.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_STATISTICAL.LINEST,
+ functionType: FunctionType.Statistical,
+ description: 'formula.functionList.LINEST.description',
+ abstract: 'formula.functionList.LINEST.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.LINEST.functionParameter.number1.name',
+ detail: 'formula.functionList.LINEST.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.LINEST.functionParameter.number2.name',
+ detail: 'formula.functionList.LINEST.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_STATISTICAL.LOGEST,
+ functionType: FunctionType.Statistical,
+ description: 'formula.functionList.LOGEST.description',
+ abstract: 'formula.functionList.LOGEST.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.LOGEST.functionParameter.number1.name',
+ detail: 'formula.functionList.LOGEST.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.LOGEST.functionParameter.number2.name',
+ detail: 'formula.functionList.LOGEST.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_STATISTICAL.LOGNORM_DIST,
+ functionType: FunctionType.Statistical,
+ description: 'formula.functionList.LOGNORM_DIST.description',
+ abstract: 'formula.functionList.LOGNORM_DIST.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.LOGNORM_DIST.functionParameter.number1.name',
+ detail: 'formula.functionList.LOGNORM_DIST.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.LOGNORM_DIST.functionParameter.number2.name',
+ detail: 'formula.functionList.LOGNORM_DIST.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_STATISTICAL.LOGNORM_INV,
+ functionType: FunctionType.Statistical,
+ description: 'formula.functionList.LOGNORM_INV.description',
+ abstract: 'formula.functionList.LOGNORM_INV.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.LOGNORM_INV.functionParameter.number1.name',
+ detail: 'formula.functionList.LOGNORM_INV.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.LOGNORM_INV.functionParameter.number2.name',
+ detail: 'formula.functionList.LOGNORM_INV.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_STATISTICAL.MAX,
+ aliasFunctionName: 'formula.functionList.MAX.aliasFunctionName',
+ functionType: FunctionType.Statistical,
+ description: 'formula.functionList.MAX.description',
+ abstract: 'formula.functionList.MAX.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.MAX.functionParameter.number1.name',
+ detail: 'formula.functionList.MAX.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.MAX.functionParameter.number2.name',
+ detail: 'formula.functionList.MAX.functionParameter.number2.detail',
+ example: 'B2:B10',
+ require: 0,
+ repeat: 1,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_STATISTICAL.MAXA,
+ functionType: FunctionType.Statistical,
+ description: 'formula.functionList.MAXA.description',
+ abstract: 'formula.functionList.MAXA.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.MAXA.functionParameter.number1.name',
+ detail: 'formula.functionList.MAXA.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.MAXA.functionParameter.number2.name',
+ detail: 'formula.functionList.MAXA.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_STATISTICAL.MAXIFS,
+ functionType: FunctionType.Statistical,
+ description: 'formula.functionList.MAXIFS.description',
+ abstract: 'formula.functionList.MAXIFS.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.MAXIFS.functionParameter.number1.name',
+ detail: 'formula.functionList.MAXIFS.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.MAXIFS.functionParameter.number2.name',
+ detail: 'formula.functionList.MAXIFS.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_STATISTICAL.MEDIAN,
+ functionType: FunctionType.Statistical,
+ description: 'formula.functionList.MEDIAN.description',
+ abstract: 'formula.functionList.MEDIAN.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.MEDIAN.functionParameter.number1.name',
+ detail: 'formula.functionList.MEDIAN.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.MEDIAN.functionParameter.number2.name',
+ detail: 'formula.functionList.MEDIAN.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_STATISTICAL.MIN,
+ aliasFunctionName: 'formula.functionList.MIN.aliasFunctionName',
+ functionType: FunctionType.Statistical,
+ description: 'formula.functionList.MIN.description',
+ abstract: 'formula.functionList.MIN.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.MIN.functionParameter.number1.name',
+ detail: 'formula.functionList.MIN.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.MIN.functionParameter.number2.name',
+ detail: 'formula.functionList.MIN.functionParameter.number2.detail',
+ example: 'B2:B10',
+ require: 0,
+ repeat: 1,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_STATISTICAL.MINA,
+ functionType: FunctionType.Statistical,
+ description: 'formula.functionList.MINA.description',
+ abstract: 'formula.functionList.MINA.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.MINA.functionParameter.number1.name',
+ detail: 'formula.functionList.MINA.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.MINA.functionParameter.number2.name',
+ detail: 'formula.functionList.MINA.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_STATISTICAL.MINIFS,
+ functionType: FunctionType.Statistical,
+ description: 'formula.functionList.MINIFS.description',
+ abstract: 'formula.functionList.MINIFS.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.MINIFS.functionParameter.number1.name',
+ detail: 'formula.functionList.MINIFS.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.MINIFS.functionParameter.number2.name',
+ detail: 'formula.functionList.MINIFS.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_STATISTICAL.MODE_MULT,
+ functionType: FunctionType.Statistical,
+ description: 'formula.functionList.MODE_MULT.description',
+ abstract: 'formula.functionList.MODE_MULT.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.MODE_MULT.functionParameter.number1.name',
+ detail: 'formula.functionList.MODE_MULT.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.MODE_MULT.functionParameter.number2.name',
+ detail: 'formula.functionList.MODE_MULT.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_STATISTICAL.MODE_SNGL,
+ functionType: FunctionType.Statistical,
+ description: 'formula.functionList.MODE_SNGL.description',
+ abstract: 'formula.functionList.MODE_SNGL.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.MODE_SNGL.functionParameter.number1.name',
+ detail: 'formula.functionList.MODE_SNGL.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.MODE_SNGL.functionParameter.number2.name',
+ detail: 'formula.functionList.MODE_SNGL.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_STATISTICAL.NEGBINOM_DIST,
+ functionType: FunctionType.Statistical,
+ description: 'formula.functionList.NEGBINOM_DIST.description',
+ abstract: 'formula.functionList.NEGBINOM_DIST.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.NEGBINOM_DIST.functionParameter.number1.name',
+ detail: 'formula.functionList.NEGBINOM_DIST.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.NEGBINOM_DIST.functionParameter.number2.name',
+ detail: 'formula.functionList.NEGBINOM_DIST.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_STATISTICAL.NORM_DIST,
+ functionType: FunctionType.Statistical,
+ description: 'formula.functionList.NORM_DIST.description',
+ abstract: 'formula.functionList.NORM_DIST.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.NORM_DIST.functionParameter.number1.name',
+ detail: 'formula.functionList.NORM_DIST.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.NORM_DIST.functionParameter.number2.name',
+ detail: 'formula.functionList.NORM_DIST.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_STATISTICAL.NORM_INV,
+ functionType: FunctionType.Statistical,
+ description: 'formula.functionList.NORM_INV.description',
+ abstract: 'formula.functionList.NORM_INV.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.NORM_INV.functionParameter.number1.name',
+ detail: 'formula.functionList.NORM_INV.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.NORM_INV.functionParameter.number2.name',
+ detail: 'formula.functionList.NORM_INV.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_STATISTICAL.NORM_S_DIST,
+ functionType: FunctionType.Statistical,
+ description: 'formula.functionList.NORM_S_DIST.description',
+ abstract: 'formula.functionList.NORM_S_DIST.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.NORM_S_DIST.functionParameter.number1.name',
+ detail: 'formula.functionList.NORM_S_DIST.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.NORM_S_DIST.functionParameter.number2.name',
+ detail: 'formula.functionList.NORM_S_DIST.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_STATISTICAL.NORM_S_INV,
+ functionType: FunctionType.Statistical,
+ description: 'formula.functionList.NORM_S_INV.description',
+ abstract: 'formula.functionList.NORM_S_INV.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.NORM_S_INV.functionParameter.number1.name',
+ detail: 'formula.functionList.NORM_S_INV.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.NORM_S_INV.functionParameter.number2.name',
+ detail: 'formula.functionList.NORM_S_INV.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_STATISTICAL.PEARSON,
+ functionType: FunctionType.Statistical,
+ description: 'formula.functionList.PEARSON.description',
+ abstract: 'formula.functionList.PEARSON.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.PEARSON.functionParameter.number1.name',
+ detail: 'formula.functionList.PEARSON.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.PEARSON.functionParameter.number2.name',
+ detail: 'formula.functionList.PEARSON.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_STATISTICAL.PERCENTILE_EXC,
+ functionType: FunctionType.Statistical,
+ description: 'formula.functionList.PERCENTILE_EXC.description',
+ abstract: 'formula.functionList.PERCENTILE_EXC.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.PERCENTILE_EXC.functionParameter.number1.name',
+ detail: 'formula.functionList.PERCENTILE_EXC.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.PERCENTILE_EXC.functionParameter.number2.name',
+ detail: 'formula.functionList.PERCENTILE_EXC.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_STATISTICAL.PERCENTILE_INC,
+ functionType: FunctionType.Statistical,
+ description: 'formula.functionList.PERCENTILE_INC.description',
+ abstract: 'formula.functionList.PERCENTILE_INC.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.PERCENTILE_INC.functionParameter.number1.name',
+ detail: 'formula.functionList.PERCENTILE_INC.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.PERCENTILE_INC.functionParameter.number2.name',
+ detail: 'formula.functionList.PERCENTILE_INC.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_STATISTICAL.PERCENTRANK_EXC,
+ functionType: FunctionType.Statistical,
+ description: 'formula.functionList.PERCENTRANK_EXC.description',
+ abstract: 'formula.functionList.PERCENTRANK_EXC.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.PERCENTRANK_EXC.functionParameter.number1.name',
+ detail: 'formula.functionList.PERCENTRANK_EXC.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.PERCENTRANK_EXC.functionParameter.number2.name',
+ detail: 'formula.functionList.PERCENTRANK_EXC.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_STATISTICAL.PERCENTRANK_INC,
+ functionType: FunctionType.Statistical,
+ description: 'formula.functionList.PERCENTRANK_INC.description',
+ abstract: 'formula.functionList.PERCENTRANK_INC.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.PERCENTRANK_INC.functionParameter.number1.name',
+ detail: 'formula.functionList.PERCENTRANK_INC.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.PERCENTRANK_INC.functionParameter.number2.name',
+ detail: 'formula.functionList.PERCENTRANK_INC.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_STATISTICAL.PERMUT,
+ functionType: FunctionType.Statistical,
+ description: 'formula.functionList.PERMUT.description',
+ abstract: 'formula.functionList.PERMUT.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.PERMUT.functionParameter.number1.name',
+ detail: 'formula.functionList.PERMUT.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.PERMUT.functionParameter.number2.name',
+ detail: 'formula.functionList.PERMUT.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_STATISTICAL.PERMUTATIONA,
+ functionType: FunctionType.Statistical,
+ description: 'formula.functionList.PERMUTATIONA.description',
+ abstract: 'formula.functionList.PERMUTATIONA.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.PERMUTATIONA.functionParameter.number1.name',
+ detail: 'formula.functionList.PERMUTATIONA.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.PERMUTATIONA.functionParameter.number2.name',
+ detail: 'formula.functionList.PERMUTATIONA.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_STATISTICAL.PHI,
+ functionType: FunctionType.Statistical,
+ description: 'formula.functionList.PHI.description',
+ abstract: 'formula.functionList.PHI.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.PHI.functionParameter.number1.name',
+ detail: 'formula.functionList.PHI.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.PHI.functionParameter.number2.name',
+ detail: 'formula.functionList.PHI.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_STATISTICAL.POISSON_DIST,
+ functionType: FunctionType.Statistical,
+ description: 'formula.functionList.POISSON_DIST.description',
+ abstract: 'formula.functionList.POISSON_DIST.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.POISSON_DIST.functionParameter.number1.name',
+ detail: 'formula.functionList.POISSON_DIST.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.POISSON_DIST.functionParameter.number2.name',
+ detail: 'formula.functionList.POISSON_DIST.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_STATISTICAL.PROB,
+ functionType: FunctionType.Statistical,
+ description: 'formula.functionList.PROB.description',
+ abstract: 'formula.functionList.PROB.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.PROB.functionParameter.number1.name',
+ detail: 'formula.functionList.PROB.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.PROB.functionParameter.number2.name',
+ detail: 'formula.functionList.PROB.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_STATISTICAL.QUARTILE_EXC,
+ functionType: FunctionType.Statistical,
+ description: 'formula.functionList.QUARTILE_EXC.description',
+ abstract: 'formula.functionList.QUARTILE_EXC.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.QUARTILE_EXC.functionParameter.number1.name',
+ detail: 'formula.functionList.QUARTILE_EXC.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.QUARTILE_EXC.functionParameter.number2.name',
+ detail: 'formula.functionList.QUARTILE_EXC.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_STATISTICAL.QUARTILE_INC,
+ functionType: FunctionType.Statistical,
+ description: 'formula.functionList.QUARTILE_INC.description',
+ abstract: 'formula.functionList.QUARTILE_INC.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.QUARTILE_INC.functionParameter.number1.name',
+ detail: 'formula.functionList.QUARTILE_INC.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.QUARTILE_INC.functionParameter.number2.name',
+ detail: 'formula.functionList.QUARTILE_INC.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_STATISTICAL.RANK_AVG,
+ functionType: FunctionType.Statistical,
+ description: 'formula.functionList.RANK_AVG.description',
+ abstract: 'formula.functionList.RANK_AVG.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.RANK_AVG.functionParameter.number1.name',
+ detail: 'formula.functionList.RANK_AVG.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.RANK_AVG.functionParameter.number2.name',
+ detail: 'formula.functionList.RANK_AVG.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_STATISTICAL.RANK_EQ,
+ functionType: FunctionType.Statistical,
+ description: 'formula.functionList.RANK_EQ.description',
+ abstract: 'formula.functionList.RANK_EQ.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.RANK_EQ.functionParameter.number1.name',
+ detail: 'formula.functionList.RANK_EQ.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.RANK_EQ.functionParameter.number2.name',
+ detail: 'formula.functionList.RANK_EQ.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_STATISTICAL.RSQ,
+ functionType: FunctionType.Statistical,
+ description: 'formula.functionList.RSQ.description',
+ abstract: 'formula.functionList.RSQ.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.RSQ.functionParameter.number1.name',
+ detail: 'formula.functionList.RSQ.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.RSQ.functionParameter.number2.name',
+ detail: 'formula.functionList.RSQ.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_STATISTICAL.SKEW,
+ functionType: FunctionType.Statistical,
+ description: 'formula.functionList.SKEW.description',
+ abstract: 'formula.functionList.SKEW.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.SKEW.functionParameter.number1.name',
+ detail: 'formula.functionList.SKEW.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.SKEW.functionParameter.number2.name',
+ detail: 'formula.functionList.SKEW.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_STATISTICAL.SKEW_P,
+ functionType: FunctionType.Statistical,
+ description: 'formula.functionList.SKEW_P.description',
+ abstract: 'formula.functionList.SKEW_P.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.SKEW_P.functionParameter.number1.name',
+ detail: 'formula.functionList.SKEW_P.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.SKEW_P.functionParameter.number2.name',
+ detail: 'formula.functionList.SKEW_P.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_STATISTICAL.SLOPE,
+ functionType: FunctionType.Statistical,
+ description: 'formula.functionList.SLOPE.description',
+ abstract: 'formula.functionList.SLOPE.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.SLOPE.functionParameter.number1.name',
+ detail: 'formula.functionList.SLOPE.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.SLOPE.functionParameter.number2.name',
+ detail: 'formula.functionList.SLOPE.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_STATISTICAL.SMALL,
+ functionType: FunctionType.Statistical,
+ description: 'formula.functionList.SMALL.description',
+ abstract: 'formula.functionList.SMALL.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.SMALL.functionParameter.number1.name',
+ detail: 'formula.functionList.SMALL.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.SMALL.functionParameter.number2.name',
+ detail: 'formula.functionList.SMALL.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_STATISTICAL.STANDARDIZE,
+ functionType: FunctionType.Statistical,
+ description: 'formula.functionList.STANDARDIZE.description',
+ abstract: 'formula.functionList.STANDARDIZE.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.STANDARDIZE.functionParameter.number1.name',
+ detail: 'formula.functionList.STANDARDIZE.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.STANDARDIZE.functionParameter.number2.name',
+ detail: 'formula.functionList.STANDARDIZE.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_STATISTICAL.STDEV_P,
+ functionType: FunctionType.Statistical,
+ description: 'formula.functionList.STDEV_P.description',
+ abstract: 'formula.functionList.STDEV_P.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.STDEV_P.functionParameter.number1.name',
+ detail: 'formula.functionList.STDEV_P.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.STDEV_P.functionParameter.number2.name',
+ detail: 'formula.functionList.STDEV_P.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_STATISTICAL.STDEV_S,
+ functionType: FunctionType.Statistical,
+ description: 'formula.functionList.STDEV_S.description',
+ abstract: 'formula.functionList.STDEV_S.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.STDEV_S.functionParameter.number1.name',
+ detail: 'formula.functionList.STDEV_S.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.STDEV_S.functionParameter.number2.name',
+ detail: 'formula.functionList.STDEV_S.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_STATISTICAL.STDEVA,
+ functionType: FunctionType.Statistical,
+ description: 'formula.functionList.STDEVA.description',
+ abstract: 'formula.functionList.STDEVA.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.STDEVA.functionParameter.number1.name',
+ detail: 'formula.functionList.STDEVA.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.STDEVA.functionParameter.number2.name',
+ detail: 'formula.functionList.STDEVA.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_STATISTICAL.STDEVPA,
+ functionType: FunctionType.Statistical,
+ description: 'formula.functionList.STDEVPA.description',
+ abstract: 'formula.functionList.STDEVPA.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.STDEVPA.functionParameter.number1.name',
+ detail: 'formula.functionList.STDEVPA.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.STDEVPA.functionParameter.number2.name',
+ detail: 'formula.functionList.STDEVPA.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_STATISTICAL.STEYX,
+ functionType: FunctionType.Statistical,
+ description: 'formula.functionList.STEYX.description',
+ abstract: 'formula.functionList.STEYX.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.STEYX.functionParameter.number1.name',
+ detail: 'formula.functionList.STEYX.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.STEYX.functionParameter.number2.name',
+ detail: 'formula.functionList.STEYX.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_STATISTICAL.T_DIST,
+ functionType: FunctionType.Statistical,
+ description: 'formula.functionList.T_DIST.description',
+ abstract: 'formula.functionList.T_DIST.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.T_DIST.functionParameter.number1.name',
+ detail: 'formula.functionList.T_DIST.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.T_DIST.functionParameter.number2.name',
+ detail: 'formula.functionList.T_DIST.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_STATISTICAL.T_DIST_2T,
+ functionType: FunctionType.Statistical,
+ description: 'formula.functionList.T_DIST_2T.description',
+ abstract: 'formula.functionList.T_DIST_2T.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.T_DIST_2T.functionParameter.number1.name',
+ detail: 'formula.functionList.T_DIST_2T.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.T_DIST_2T.functionParameter.number2.name',
+ detail: 'formula.functionList.T_DIST_2T.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_STATISTICAL.T_DIST_RT,
+ functionType: FunctionType.Statistical,
+ description: 'formula.functionList.T_DIST_RT.description',
+ abstract: 'formula.functionList.T_DIST_RT.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.T_DIST_RT.functionParameter.number1.name',
+ detail: 'formula.functionList.T_DIST_RT.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.T_DIST_RT.functionParameter.number2.name',
+ detail: 'formula.functionList.T_DIST_RT.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_STATISTICAL.T_INV,
+ functionType: FunctionType.Statistical,
+ description: 'formula.functionList.T_INV.description',
+ abstract: 'formula.functionList.T_INV.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.T_INV.functionParameter.number1.name',
+ detail: 'formula.functionList.T_INV.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.T_INV.functionParameter.number2.name',
+ detail: 'formula.functionList.T_INV.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_STATISTICAL.T_INV_2T,
+ functionType: FunctionType.Statistical,
+ description: 'formula.functionList.T_INV_2T.description',
+ abstract: 'formula.functionList.T_INV_2T.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.T_INV_2T.functionParameter.number1.name',
+ detail: 'formula.functionList.T_INV_2T.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.T_INV_2T.functionParameter.number2.name',
+ detail: 'formula.functionList.T_INV_2T.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_STATISTICAL.T_TEST,
+ functionType: FunctionType.Statistical,
+ description: 'formula.functionList.T_TEST.description',
+ abstract: 'formula.functionList.T_TEST.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.T_TEST.functionParameter.number1.name',
+ detail: 'formula.functionList.T_TEST.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.T_TEST.functionParameter.number2.name',
+ detail: 'formula.functionList.T_TEST.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_STATISTICAL.TREND,
+ functionType: FunctionType.Statistical,
+ description: 'formula.functionList.TREND.description',
+ abstract: 'formula.functionList.TREND.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.TREND.functionParameter.number1.name',
+ detail: 'formula.functionList.TREND.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.TREND.functionParameter.number2.name',
+ detail: 'formula.functionList.TREND.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_STATISTICAL.TRIMMEAN,
+ functionType: FunctionType.Statistical,
+ description: 'formula.functionList.TRIMMEAN.description',
+ abstract: 'formula.functionList.TRIMMEAN.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.TRIMMEAN.functionParameter.number1.name',
+ detail: 'formula.functionList.TRIMMEAN.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.TRIMMEAN.functionParameter.number2.name',
+ detail: 'formula.functionList.TRIMMEAN.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_STATISTICAL.VAR_P,
+ functionType: FunctionType.Statistical,
+ description: 'formula.functionList.VAR_P.description',
+ abstract: 'formula.functionList.VAR_P.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.VAR_P.functionParameter.number1.name',
+ detail: 'formula.functionList.VAR_P.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.VAR_P.functionParameter.number2.name',
+ detail: 'formula.functionList.VAR_P.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_STATISTICAL.VAR_S,
+ functionType: FunctionType.Statistical,
+ description: 'formula.functionList.VAR_S.description',
+ abstract: 'formula.functionList.VAR_S.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.VAR_S.functionParameter.number1.name',
+ detail: 'formula.functionList.VAR_S.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.VAR_S.functionParameter.number2.name',
+ detail: 'formula.functionList.VAR_S.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_STATISTICAL.VARA,
+ functionType: FunctionType.Statistical,
+ description: 'formula.functionList.VARA.description',
+ abstract: 'formula.functionList.VARA.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.VARA.functionParameter.number1.name',
+ detail: 'formula.functionList.VARA.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.VARA.functionParameter.number2.name',
+ detail: 'formula.functionList.VARA.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_STATISTICAL.VARPA,
+ functionType: FunctionType.Statistical,
+ description: 'formula.functionList.VARPA.description',
+ abstract: 'formula.functionList.VARPA.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.VARPA.functionParameter.number1.name',
+ detail: 'formula.functionList.VARPA.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.VARPA.functionParameter.number2.name',
+ detail: 'formula.functionList.VARPA.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_STATISTICAL.WEIBULL_DIST,
+ functionType: FunctionType.Statistical,
+ description: 'formula.functionList.WEIBULL_DIST.description',
+ abstract: 'formula.functionList.WEIBULL_DIST.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.WEIBULL_DIST.functionParameter.number1.name',
+ detail: 'formula.functionList.WEIBULL_DIST.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.WEIBULL_DIST.functionParameter.number2.name',
+ detail: 'formula.functionList.WEIBULL_DIST.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_STATISTICAL.Z_TEST,
+ functionType: FunctionType.Statistical,
+ description: 'formula.functionList.Z_TEST.description',
+ abstract: 'formula.functionList.Z_TEST.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.Z_TEST.functionParameter.number1.name',
+ detail: 'formula.functionList.Z_TEST.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.Z_TEST.functionParameter.number2.name',
+ detail: 'formula.functionList.Z_TEST.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
},
],
},
diff --git a/packages/sheets-formula/src/services/function-list/text.ts b/packages/sheets-formula/src/services/function-list/text.ts
index ff174cd016..6b35ee74ba 100644
--- a/packages/sheets-formula/src/services/function-list/text.ts
+++ b/packages/sheets-formula/src/services/function-list/text.ts
@@ -14,6 +14,1041 @@
* limitations under the License.
*/
-import type { IFunctionInfo } from '@univerjs/engine-formula';
+import { FUNCTION_NAMES_TEXT, FunctionType, type IFunctionInfo } from '@univerjs/engine-formula';
-export const FUNCTION_LIST_TEXT: IFunctionInfo[] = [];
+export const FUNCTION_LIST_TEXT: IFunctionInfo[] = [
+ {
+ functionName: FUNCTION_NAMES_TEXT.ASC,
+ functionType: FunctionType.Text,
+ description: 'formula.functionList.ASC.description',
+ abstract: 'formula.functionList.ASC.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.ASC.functionParameter.number1.name',
+ detail: 'formula.functionList.ASC.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.ASC.functionParameter.number2.name',
+ detail: 'formula.functionList.ASC.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_TEXT.ARRAYTOTEXT,
+ functionType: FunctionType.Text,
+ description: 'formula.functionList.ARRAYTOTEXT.description',
+ abstract: 'formula.functionList.ARRAYTOTEXT.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.ARRAYTOTEXT.functionParameter.number1.name',
+ detail: 'formula.functionList.ARRAYTOTEXT.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.ARRAYTOTEXT.functionParameter.number2.name',
+ detail: 'formula.functionList.ARRAYTOTEXT.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_TEXT.BAHTTEXT,
+ functionType: FunctionType.Text,
+ description: 'formula.functionList.BAHTTEXT.description',
+ abstract: 'formula.functionList.BAHTTEXT.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.BAHTTEXT.functionParameter.number1.name',
+ detail: 'formula.functionList.BAHTTEXT.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.BAHTTEXT.functionParameter.number2.name',
+ detail: 'formula.functionList.BAHTTEXT.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_TEXT.CHAR,
+ functionType: FunctionType.Text,
+ description: 'formula.functionList.CHAR.description',
+ abstract: 'formula.functionList.CHAR.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.CHAR.functionParameter.number1.name',
+ detail: 'formula.functionList.CHAR.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.CHAR.functionParameter.number2.name',
+ detail: 'formula.functionList.CHAR.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_TEXT.CLEAN,
+ functionType: FunctionType.Text,
+ description: 'formula.functionList.CLEAN.description',
+ abstract: 'formula.functionList.CLEAN.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.CLEAN.functionParameter.number1.name',
+ detail: 'formula.functionList.CLEAN.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.CLEAN.functionParameter.number2.name',
+ detail: 'formula.functionList.CLEAN.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_TEXT.CODE,
+ functionType: FunctionType.Text,
+ description: 'formula.functionList.CODE.description',
+ abstract: 'formula.functionList.CODE.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.CODE.functionParameter.number1.name',
+ detail: 'formula.functionList.CODE.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.CODE.functionParameter.number2.name',
+ detail: 'formula.functionList.CODE.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_TEXT.CONCAT,
+ functionType: FunctionType.Text,
+ description: 'formula.functionList.CONCAT.description',
+ abstract: 'formula.functionList.CONCAT.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.CONCAT.functionParameter.number1.name',
+ detail: 'formula.functionList.CONCAT.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.CONCAT.functionParameter.number2.name',
+ detail: 'formula.functionList.CONCAT.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_TEXT.CONCATENATE,
+ functionType: FunctionType.Text,
+ description: 'formula.functionList.CONCATENATE.description',
+ abstract: 'formula.functionList.CONCATENATE.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.CONCATENATE.functionParameter.number1.name',
+ detail: 'formula.functionList.CONCATENATE.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.CONCATENATE.functionParameter.number2.name',
+ detail: 'formula.functionList.CONCATENATE.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_TEXT.DBCS,
+ functionType: FunctionType.Text,
+ description: 'formula.functionList.DBCS.description',
+ abstract: 'formula.functionList.DBCS.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.DBCS.functionParameter.number1.name',
+ detail: 'formula.functionList.DBCS.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.DBCS.functionParameter.number2.name',
+ detail: 'formula.functionList.DBCS.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_TEXT.DOLLAR,
+ functionType: FunctionType.Text,
+ description: 'formula.functionList.DOLLAR.description',
+ abstract: 'formula.functionList.DOLLAR.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.DOLLAR.functionParameter.number1.name',
+ detail: 'formula.functionList.DOLLAR.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.DOLLAR.functionParameter.number2.name',
+ detail: 'formula.functionList.DOLLAR.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_TEXT.EXACT,
+ functionType: FunctionType.Text,
+ description: 'formula.functionList.EXACT.description',
+ abstract: 'formula.functionList.EXACT.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.EXACT.functionParameter.number1.name',
+ detail: 'formula.functionList.EXACT.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.EXACT.functionParameter.number2.name',
+ detail: 'formula.functionList.EXACT.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_TEXT.FIND,
+ functionType: FunctionType.Text,
+ description: 'formula.functionList.FIND.description',
+ abstract: 'formula.functionList.FIND.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.FIND.functionParameter.number1.name',
+ detail: 'formula.functionList.FIND.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.FIND.functionParameter.number2.name',
+ detail: 'formula.functionList.FIND.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_TEXT.FINDB,
+ functionType: FunctionType.Text,
+ description: 'formula.functionList.FINDB.description',
+ abstract: 'formula.functionList.FINDB.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.FINDB.functionParameter.number1.name',
+ detail: 'formula.functionList.FINDB.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.FINDB.functionParameter.number2.name',
+ detail: 'formula.functionList.FINDB.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_TEXT.FIXED,
+ functionType: FunctionType.Text,
+ description: 'formula.functionList.FIXED.description',
+ abstract: 'formula.functionList.FIXED.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.FIXED.functionParameter.number1.name',
+ detail: 'formula.functionList.FIXED.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.FIXED.functionParameter.number2.name',
+ detail: 'formula.functionList.FIXED.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_TEXT.LEFT,
+ functionType: FunctionType.Text,
+ description: 'formula.functionList.LEFT.description',
+ abstract: 'formula.functionList.LEFT.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.LEFT.functionParameter.number1.name',
+ detail: 'formula.functionList.LEFT.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.LEFT.functionParameter.number2.name',
+ detail: 'formula.functionList.LEFT.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_TEXT.LEFTB,
+ functionType: FunctionType.Text,
+ description: 'formula.functionList.LEFTB.description',
+ abstract: 'formula.functionList.LEFTB.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.LEFTB.functionParameter.number1.name',
+ detail: 'formula.functionList.LEFTB.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.LEFTB.functionParameter.number2.name',
+ detail: 'formula.functionList.LEFTB.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_TEXT.LEN,
+ functionType: FunctionType.Text,
+ description: 'formula.functionList.LEN.description',
+ abstract: 'formula.functionList.LEN.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.LEN.functionParameter.number1.name',
+ detail: 'formula.functionList.LEN.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.LEN.functionParameter.number2.name',
+ detail: 'formula.functionList.LEN.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_TEXT.LENB,
+ functionType: FunctionType.Text,
+ description: 'formula.functionList.LENB.description',
+ abstract: 'formula.functionList.LENB.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.LENB.functionParameter.number1.name',
+ detail: 'formula.functionList.LENB.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.LENB.functionParameter.number2.name',
+ detail: 'formula.functionList.LENB.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_TEXT.LOWER,
+ functionType: FunctionType.Text,
+ description: 'formula.functionList.LOWER.description',
+ abstract: 'formula.functionList.LOWER.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.LOWER.functionParameter.number1.name',
+ detail: 'formula.functionList.LOWER.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.LOWER.functionParameter.number2.name',
+ detail: 'formula.functionList.LOWER.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_TEXT.MID,
+ functionType: FunctionType.Text,
+ description: 'formula.functionList.MID.description',
+ abstract: 'formula.functionList.MID.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.MID.functionParameter.number1.name',
+ detail: 'formula.functionList.MID.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.MID.functionParameter.number2.name',
+ detail: 'formula.functionList.MID.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_TEXT.MIDB,
+ functionType: FunctionType.Text,
+ description: 'formula.functionList.MIDB.description',
+ abstract: 'formula.functionList.MIDB.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.MIDB.functionParameter.number1.name',
+ detail: 'formula.functionList.MIDB.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.MIDB.functionParameter.number2.name',
+ detail: 'formula.functionList.MIDB.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_TEXT.NUMBERVALUE,
+ functionType: FunctionType.Text,
+ description: 'formula.functionList.NUMBERVALUE.description',
+ abstract: 'formula.functionList.NUMBERVALUE.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.NUMBERVALUE.functionParameter.number1.name',
+ detail: 'formula.functionList.NUMBERVALUE.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.NUMBERVALUE.functionParameter.number2.name',
+ detail: 'formula.functionList.NUMBERVALUE.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_TEXT.PHONETIC,
+ functionType: FunctionType.Text,
+ description: 'formula.functionList.PHONETIC.description',
+ abstract: 'formula.functionList.PHONETIC.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.PHONETIC.functionParameter.number1.name',
+ detail: 'formula.functionList.PHONETIC.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.PHONETIC.functionParameter.number2.name',
+ detail: 'formula.functionList.PHONETIC.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_TEXT.PROPER,
+ functionType: FunctionType.Text,
+ description: 'formula.functionList.PROPER.description',
+ abstract: 'formula.functionList.PROPER.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.PROPER.functionParameter.number1.name',
+ detail: 'formula.functionList.PROPER.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.PROPER.functionParameter.number2.name',
+ detail: 'formula.functionList.PROPER.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_TEXT.REPLACE,
+ functionType: FunctionType.Text,
+ description: 'formula.functionList.REPLACE.description',
+ abstract: 'formula.functionList.REPLACE.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.REPLACE.functionParameter.number1.name',
+ detail: 'formula.functionList.REPLACE.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.REPLACE.functionParameter.number2.name',
+ detail: 'formula.functionList.REPLACE.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_TEXT.REPLACEB,
+ functionType: FunctionType.Text,
+ description: 'formula.functionList.REPLACEB.description',
+ abstract: 'formula.functionList.REPLACEB.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.REPLACEB.functionParameter.number1.name',
+ detail: 'formula.functionList.REPLACEB.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.REPLACEB.functionParameter.number2.name',
+ detail: 'formula.functionList.REPLACEB.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_TEXT.REPT,
+ functionType: FunctionType.Text,
+ description: 'formula.functionList.REPT.description',
+ abstract: 'formula.functionList.REPT.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.REPT.functionParameter.number1.name',
+ detail: 'formula.functionList.REPT.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.REPT.functionParameter.number2.name',
+ detail: 'formula.functionList.REPT.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_TEXT.RIGHT,
+ functionType: FunctionType.Text,
+ description: 'formula.functionList.RIGHT.description',
+ abstract: 'formula.functionList.RIGHT.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.RIGHT.functionParameter.number1.name',
+ detail: 'formula.functionList.RIGHT.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.RIGHT.functionParameter.number2.name',
+ detail: 'formula.functionList.RIGHT.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_TEXT.RIGHTB,
+ functionType: FunctionType.Text,
+ description: 'formula.functionList.RIGHTB.description',
+ abstract: 'formula.functionList.RIGHTB.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.RIGHTB.functionParameter.number1.name',
+ detail: 'formula.functionList.RIGHTB.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.RIGHTB.functionParameter.number2.name',
+ detail: 'formula.functionList.RIGHTB.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_TEXT.SEARCH,
+ functionType: FunctionType.Text,
+ description: 'formula.functionList.SEARCH.description',
+ abstract: 'formula.functionList.SEARCH.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.SEARCH.functionParameter.number1.name',
+ detail: 'formula.functionList.SEARCH.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.SEARCH.functionParameter.number2.name',
+ detail: 'formula.functionList.SEARCH.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_TEXT.SEARCHB,
+ functionType: FunctionType.Text,
+ description: 'formula.functionList.SEARCHB.description',
+ abstract: 'formula.functionList.SEARCHB.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.SEARCHB.functionParameter.number1.name',
+ detail: 'formula.functionList.SEARCHB.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.SEARCHB.functionParameter.number2.name',
+ detail: 'formula.functionList.SEARCHB.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_TEXT.SUBSTITUTE,
+ functionType: FunctionType.Text,
+ description: 'formula.functionList.SUBSTITUTE.description',
+ abstract: 'formula.functionList.SUBSTITUTE.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.SUBSTITUTE.functionParameter.number1.name',
+ detail: 'formula.functionList.SUBSTITUTE.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.SUBSTITUTE.functionParameter.number2.name',
+ detail: 'formula.functionList.SUBSTITUTE.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_TEXT.T,
+ functionType: FunctionType.Text,
+ description: 'formula.functionList.T.description',
+ abstract: 'formula.functionList.T.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.T.functionParameter.number1.name',
+ detail: 'formula.functionList.T.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.T.functionParameter.number2.name',
+ detail: 'formula.functionList.T.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_TEXT.TEXT,
+ functionType: FunctionType.Text,
+ description: 'formula.functionList.TEXT.description',
+ abstract: 'formula.functionList.TEXT.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.TEXT.functionParameter.number1.name',
+ detail: 'formula.functionList.TEXT.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.TEXT.functionParameter.number2.name',
+ detail: 'formula.functionList.TEXT.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_TEXT.TEXTAFTER,
+ functionType: FunctionType.Text,
+ description: 'formula.functionList.TEXTAFTER.description',
+ abstract: 'formula.functionList.TEXTAFTER.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.TEXTAFTER.functionParameter.number1.name',
+ detail: 'formula.functionList.TEXTAFTER.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.TEXTAFTER.functionParameter.number2.name',
+ detail: 'formula.functionList.TEXTAFTER.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_TEXT.TEXTBEFORE,
+ functionType: FunctionType.Text,
+ description: 'formula.functionList.TEXTBEFORE.description',
+ abstract: 'formula.functionList.TEXTBEFORE.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.TEXTBEFORE.functionParameter.number1.name',
+ detail: 'formula.functionList.TEXTBEFORE.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.TEXTBEFORE.functionParameter.number2.name',
+ detail: 'formula.functionList.TEXTBEFORE.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_TEXT.TEXTJOIN,
+ functionType: FunctionType.Text,
+ description: 'formula.functionList.TEXTJOIN.description',
+ abstract: 'formula.functionList.TEXTJOIN.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.TEXTJOIN.functionParameter.number1.name',
+ detail: 'formula.functionList.TEXTJOIN.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.TEXTJOIN.functionParameter.number2.name',
+ detail: 'formula.functionList.TEXTJOIN.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_TEXT.TEXTSPLIT,
+ functionType: FunctionType.Text,
+ description: 'formula.functionList.TEXTSPLIT.description',
+ abstract: 'formula.functionList.TEXTSPLIT.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.TEXTSPLIT.functionParameter.number1.name',
+ detail: 'formula.functionList.TEXTSPLIT.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.TEXTSPLIT.functionParameter.number2.name',
+ detail: 'formula.functionList.TEXTSPLIT.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_TEXT.TRIM,
+ functionType: FunctionType.Text,
+ description: 'formula.functionList.TRIM.description',
+ abstract: 'formula.functionList.TRIM.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.TRIM.functionParameter.number1.name',
+ detail: 'formula.functionList.TRIM.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.TRIM.functionParameter.number2.name',
+ detail: 'formula.functionList.TRIM.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_TEXT.UNICHAR,
+ functionType: FunctionType.Text,
+ description: 'formula.functionList.UNICHAR.description',
+ abstract: 'formula.functionList.UNICHAR.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.UNICHAR.functionParameter.number1.name',
+ detail: 'formula.functionList.UNICHAR.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.UNICHAR.functionParameter.number2.name',
+ detail: 'formula.functionList.UNICHAR.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_TEXT.UNICODE,
+ functionType: FunctionType.Text,
+ description: 'formula.functionList.UNICODE.description',
+ abstract: 'formula.functionList.UNICODE.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.UNICODE.functionParameter.number1.name',
+ detail: 'formula.functionList.UNICODE.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.UNICODE.functionParameter.number2.name',
+ detail: 'formula.functionList.UNICODE.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_TEXT.UPPER,
+ functionType: FunctionType.Text,
+ description: 'formula.functionList.UPPER.description',
+ abstract: 'formula.functionList.UPPER.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.UPPER.functionParameter.number1.name',
+ detail: 'formula.functionList.UPPER.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.UPPER.functionParameter.number2.name',
+ detail: 'formula.functionList.UPPER.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_TEXT.VALUE,
+ functionType: FunctionType.Text,
+ description: 'formula.functionList.VALUE.description',
+ abstract: 'formula.functionList.VALUE.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.VALUE.functionParameter.number1.name',
+ detail: 'formula.functionList.VALUE.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.VALUE.functionParameter.number2.name',
+ detail: 'formula.functionList.VALUE.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_TEXT.VALUETOTEXT,
+ functionType: FunctionType.Text,
+ description: 'formula.functionList.VALUETOTEXT.description',
+ abstract: 'formula.functionList.VALUETOTEXT.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.VALUETOTEXT.functionParameter.number1.name',
+ detail: 'formula.functionList.VALUETOTEXT.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.VALUETOTEXT.functionParameter.number2.name',
+ detail: 'formula.functionList.VALUETOTEXT.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_TEXT.CALL,
+ functionType: FunctionType.Text,
+ description: 'formula.functionList.CALL.description',
+ abstract: 'formula.functionList.CALL.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.CALL.functionParameter.number1.name',
+ detail: 'formula.functionList.CALL.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.CALL.functionParameter.number2.name',
+ detail: 'formula.functionList.CALL.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_TEXT.EUROCONVERT,
+ functionType: FunctionType.Text,
+ description: 'formula.functionList.EUROCONVERT.description',
+ abstract: 'formula.functionList.EUROCONVERT.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.EUROCONVERT.functionParameter.number1.name',
+ detail: 'formula.functionList.EUROCONVERT.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.EUROCONVERT.functionParameter.number2.name',
+ detail: 'formula.functionList.EUROCONVERT.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_TEXT.REGISTER_ID,
+ functionType: FunctionType.Text,
+ description: 'formula.functionList.REGISTER_ID.description',
+ abstract: 'formula.functionList.REGISTER_ID.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.REGISTER_ID.functionParameter.number1.name',
+ detail: 'formula.functionList.REGISTER_ID.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.REGISTER_ID.functionParameter.number2.name',
+ detail: 'formula.functionList.REGISTER_ID.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+];
diff --git a/packages/sheets-formula/src/services/function-list/web.ts b/packages/sheets-formula/src/services/function-list/web.ts
index b3418bb7e8..479181046d 100644
--- a/packages/sheets-formula/src/services/function-list/web.ts
+++ b/packages/sheets-formula/src/services/function-list/web.ts
@@ -14,6 +14,74 @@
* limitations under the License.
*/
-import type { IFunctionInfo } from '@univerjs/engine-formula';
+import { FUNCTION_NAMES_WEB, FunctionType, type IFunctionInfo } from '@univerjs/engine-formula';
-export const FUNCTION_LIST_WEB: IFunctionInfo[] = [];
+export const FUNCTION_LIST_WEB: IFunctionInfo[] = [
+ {
+ functionName: FUNCTION_NAMES_WEB.ENCODEURL,
+ functionType: FunctionType.Web,
+ description: 'formula.functionList.ENCODEURL.description',
+ abstract: 'formula.functionList.ENCODEURL.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.ENCODEURL.functionParameter.number1.name',
+ detail: 'formula.functionList.ENCODEURL.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.ENCODEURL.functionParameter.number2.name',
+ detail: 'formula.functionList.ENCODEURL.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+
+ {
+ functionName: FUNCTION_NAMES_WEB.FILTERXML,
+ functionType: FunctionType.Web,
+ description: 'formula.functionList.FILTERXML.description',
+ abstract: 'formula.functionList.FILTERXML.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.FILTERXML.functionParameter.number1.name',
+ detail: 'formula.functionList.FILTERXML.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.FILTERXML.functionParameter.number2.name',
+ detail: 'formula.functionList.FILTERXML.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+ {
+ functionName: FUNCTION_NAMES_WEB.WEBSERVICE,
+ functionType: FunctionType.Web,
+ description: 'formula.functionList.WEBSERVICE.description',
+ abstract: 'formula.functionList.WEBSERVICE.abstract',
+ functionParameter: [
+ {
+ name: 'formula.functionList.WEBSERVICE.functionParameter.number1.name',
+ detail: 'formula.functionList.WEBSERVICE.functionParameter.number1.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ {
+ name: 'formula.functionList.WEBSERVICE.functionParameter.number2.name',
+ detail: 'formula.functionList.WEBSERVICE.functionParameter.number2.detail',
+ example: 'A1:A20',
+ require: 1,
+ repeat: 0,
+ },
+ ],
+ },
+];
diff --git a/packages/sheets-formula/src/views/more-functions/select-function/index.module.less b/packages/sheets-formula/src/views/more-functions/select-function/index.module.less
index 867cb5f067..c7b94e6be9 100644
--- a/packages/sheets-formula/src/views/more-functions/select-function/index.module.less
+++ b/packages/sheets-formula/src/views/more-functions/select-function/index.module.less
@@ -44,6 +44,10 @@
border-radius: var(--border-radius-base);
transition: background .2s;
+
+ >span{
+ display: block;
+ }
&-name {
&-light {
diff --git a/packages/sheets-formula/src/views/prompt/search-function/SearchFunction.tsx b/packages/sheets-formula/src/views/prompt/search-function/SearchFunction.tsx
index 34fa34133e..1550e10dfb 100644
--- a/packages/sheets-formula/src/views/prompt/search-function/SearchFunction.tsx
+++ b/packages/sheets-formula/src/views/prompt/search-function/SearchFunction.tsx
@@ -18,7 +18,7 @@ import { Direction, FOCUSING_FORMULA_EDITOR, IContextService } from '@univerjs/c
import { Popup } from '@univerjs/design';
import { ICellEditorManagerService, IFormulaEditorManagerService } from '@univerjs/sheets-ui';
import { useDependency } from '@wendellhu/redi/react-bindings';
-import React, { useEffect, useState } from 'react';
+import React, { useEffect, useRef, useState } from 'react';
import type { ISearchItem } from '../../../services/description.service';
import type { INavigateParam, ISearchFunctionOperationParams } from '../../../services/prompt.service';
@@ -31,6 +31,7 @@ export function SearchFunction() {
const [offset, setOffset] = useState<[number, number]>([0, 0]);
const [searchList, setSearchList] = useState<ISearchItem[]>([]);
const [searchText, setSearchText] = useState<string>('');
+ const ulRef = useRef<HTMLUListElement>(null);
const promptService = useDependency(IFormulaPromptService);
const cellEditorManagerService = useDependency(ICellEditorManagerService);
const formulaEditorManagerService = useDependency(IFormulaEditorManagerService);
@@ -81,6 +82,8 @@ export function SearchFunction() {
setActive(nextActive);
updatedActive = nextActive;
}
+
+ scrollToVisible(updatedActive);
});
const subscribeAccept = promptService.accept$.subscribe((params: boolean) => {
@@ -103,9 +106,47 @@ export function SearchFunction() {
setActive(-1);
}
+ function scrollToVisible(liIndex: number) {
+ // Get the <li> element
+ const liElement = ulRef.current?.querySelectorAll(`.${styles.formulaSearchFunctionItem}`)[
+ liIndex
+ ] as HTMLLIElement;
+
+ if (!liElement) return;
+
+ // Get the <ul> element
+ const ulElement = liElement.parentNode as HTMLUListElement;
+
+ if (!ulElement) return;
+
+ // Get the height of the <ul> element
+ const ulRect = ulElement.getBoundingClientRect();
+ const ulTop = ulRect.top;
+ const ulHeight = ulElement.offsetHeight;
+
+ // Get the position and height of the <li> element
+ const liRect = liElement.getBoundingClientRect();
+ const liTop = liRect.top;
+ const liHeight = liRect.height;
+
+ // If the <li> element is within the visible area, no scrolling operation is performed
+ if (liTop >= 0 && liTop > ulTop && liTop - ulTop + liHeight <= ulHeight) {
+ return;
+ }
+
+ // Calculate scroll position
+ const scrollTo = liElement.offsetTop - (ulHeight - liHeight) / 2;
+
+ // Perform scrolling operation
+ ulElement.scrollTo({
+ top: scrollTo,
+ behavior: 'smooth',
+ });
+ }
+
return (
<Popup visible={visible} offset={offset}>
- <ul className={styles.formulaSearchFunction}>
+ <ul className={styles.formulaSearchFunction} ref={ulRef}>
{searchList.map((item, index) => (
<li
key={index}
diff --git a/packages/sheets-formula/src/views/prompt/search-function/index.module.less b/packages/sheets-formula/src/views/prompt/search-function/index.module.less
index 374341f35c..388a60a715 100644
--- a/packages/sheets-formula/src/views/prompt/search-function/index.module.less
+++ b/packages/sheets-formula/src/views/prompt/search-function/index.module.less
@@ -43,6 +43,7 @@
&-desc{
display: block;
font-size: var(--font-size-xxs);
+ color: rgb(var(--grey-500));
}
&-active {
diff --git a/packages/sheets-ui/src/controllers/editor/end-edit.controller.ts b/packages/sheets-ui/src/controllers/editor/end-edit.controller.ts
index a068f09898..b96ea938f9 100644
--- a/packages/sheets-ui/src/controllers/editor/end-edit.controller.ts
+++ b/packages/sheets-ui/src/controllers/editor/end-edit.controller.ts
@@ -227,11 +227,13 @@ export class EndEditController extends Disposable {
if (body.dataStream === '\r\n') {
cellData.v = '';
cellData.f = null;
+ cellData.si = null;
cellData.p = null;
} else {
cellData.p = snapshot;
cellData.v = null;
cellData.f = null;
+ cellData.si = null;
}
} else {
// eslint-disable-next-line
@@ -240,6 +242,7 @@ export class EndEditController extends Disposable {
}
cellData.v = newDataStream;
cellData.f = null;
+ cellData.si = null;
cellData.p = null;
}
diff --git a/packages/sheets-ui/src/views/status-bar/CopyableStatisticItem.tsx b/packages/sheets-ui/src/views/status-bar/CopyableStatisticItem.tsx
index 97b51a94fe..13ee823de9 100644
--- a/packages/sheets-ui/src/views/status-bar/CopyableStatisticItem.tsx
+++ b/packages/sheets-ui/src/views/status-bar/CopyableStatisticItem.tsx
@@ -17,11 +17,7 @@
import { LocaleService } from '@univerjs/core';
import { MessageType, Tooltip } from '@univerjs/design';
import type { IFunctionNames } from '@univerjs/engine-formula';
-import {
- FUNCTION_NAMES_COMPATIBILITY,
- FUNCTION_NAMES_MATH,
- FUNCTION_NAMES_STATISTICAL,
-} from '@univerjs/engine-formula';
+import { FUNCTION_NAMES_MATH, FUNCTION_NAMES_STATISTICAL, FUNCTION_NAMES_TEXT } from '@univerjs/engine-formula';
import { IClipboardInterfaceService, IMessageService } from '@univerjs/ui';
import { useDependency } from '@wendellhu/redi/react-bindings';
import React from 'react';
@@ -42,7 +38,7 @@ export const functionDisplayNames: FunctionNameMap = {
[FUNCTION_NAMES_STATISTICAL.MAX]: 'statusbar.max',
[FUNCTION_NAMES_STATISTICAL.COUNT]: 'statusbar.count',
[FUNCTION_NAMES_STATISTICAL.COUNTA]: 'statusbar.countA',
- [FUNCTION_NAMES_COMPATIBILITY.CONCATENATE]: 'concatenate',
+ [FUNCTION_NAMES_TEXT.CONCATENATE]: 'concatenate',
};
interface FunctionNameMap {
[key: string]: string;