Excel.Functions class

一个用于评估 Excel 函数的对象。An object for evaluating Excel functions.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

Extends

属性

context

与该对象关联的请求上下文。The request context associated with the object. 这会将加载项的进程连接到 Office 主机应用程序的进程。This connects the add-in's process to the Office host application's process.

方法

abs(number)

返回一个数的绝对值, 即不带其正负号的数字。Returns the absolute value of a number, a number without its sign.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

accrInt(issue, firstInterest, settlement, rate, par, frequency, basis, calcMethod)

返回定期付息有价证券的应计利息。Returns the accrued interest for a security that pays periodic interest.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

accrIntM(issue, settlement, rate, par, basis)

返回到期一次性付息有价证券的应计利息。Returns the accrued interest for a security that pays interest at maturity.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

acos(number)

返回一个数的反余弦值, 以弧度为单位, 范围为0到 Pi。Returns the arccosine of a number, in radians in the range 0 to Pi. 反余弦值是其余弦值为数字的角度。The arccosine is the angle whose cosine is Number.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

acosh(number)

返回数字的反双曲余弦值。Returns the inverse hyperbolic cosine of a number.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

acot(number)

返回一个数字的 arccotangent, 以弧度为单位, 范围为0到 Pi。Returns the arccotangent of a number, in radians in the range 0 to Pi.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

acoth(number)

返回一个数的反双曲余切。Returns the inverse hyperbolic cotangent of a number.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

amorDegrc(cost, datePurchased, firstPeriod, salvage, period, rate, basis)

返回每个记帐期的资产的按比例线性折旧。Returns the prorated linear depreciation of an asset for each accounting period.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

amorLinc(cost, datePurchased, firstPeriod, salvage, period, rate, basis)

返回每个记帐期的资产的按比例线性折旧。Returns the prorated linear depreciation of an asset for each accounting period.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

and(values)

检查所有参数是否均为 true, 如果所有参数均为 true, 则返回 true。Checks whether all arguments are TRUE, and returns TRUE if all arguments are TRUE.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

arabic(text)

将罗马数字转换为阿拉伯语。Converts a Roman numeral to Arabic.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

areas(reference)

返回引用中的区域数。Returns the number of areas in a reference. 区域是连续的单元格区域或单个单元格。An area is a range of contiguous cells or a single cell.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

asc(text)

将全角 (双字节) 字符更改为半角 (单字节) 字符。Changes full-width (double-byte) characters to half-width (single-byte) characters. 与双字节字符集 (DBCS) 一起使用。Use with double-byte character sets (DBCS).

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

asin(number)

返回以弧度表示的数字的反正弦值, 其范围为-pi/2 至 Pi/2。Returns the arcsine of a number in radians, in the range -Pi/2 to Pi/2.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

asinh(number)

返回数字的反双曲正弦值。Returns the inverse hyperbolic sine of a number.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

atan(number)

返回以弧度表示的数字的反正切值, 范围-Pi/2 到 Pi/2。Returns the arctangent of a number in radians, in the range -Pi/2 to Pi/2.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

atan2(xNum, yNum)

返回指定的 x 和 y 坐标的反正切值, 单位为-pi 和 Pi 之间的弧度 (不含-pi)。Returns the arctangent of the specified x- and y- coordinates, in radians between -Pi and Pi, excluding -Pi.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

atanh(number)

返回数字的反双曲正切值。Returns the inverse hyperbolic tangent of a number.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

aveDev(values)

返回多个数据点与其平均值的绝对偏差的平均值。Returns the average of the absolute deviations of data points from their mean. 参数可以是数字, 也可以是包含数字的名称、数组或引用。Arguments can be numbers or names, arrays, or references that contain numbers.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

average(values)

返回其参数的平均值 (算术平均值), 它可以是数字, 也可以是包含数字的名称、数组或引用。Returns the average (arithmetic mean) of its arguments, which can be numbers or names, arrays, or references that contain numbers.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

averageA(values)

返回其参数的平均值 (算术平均值), 将参数中的 text 和 FALSE 计算为 0;TRUE 的计算结果为1。Returns the average (arithmetic mean) of its arguments, evaluating text and FALSE in arguments as 0; TRUE evaluates as 1. 参数可以是数字、名称、数组或引用。Arguments can be numbers, names, arrays, or references.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

averageIf(range, criteria, averageRange)

查找由给定条件或条件指定的单元格的平均值 (算术平均值)。Finds average(arithmetic mean) for the cells specified by a given condition or criteria.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

averageIfs(averageRange, values)

查找由一组给定条件或条件指定的单元格的平均值 (算术平均值)。Finds average(arithmetic mean) for the cells specified by a given set of conditions or criteria.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

bahtText(number)

将数字转换为文本 (泰铢)。Converts a number to text (baht).

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

base(number, radix, minLength)

将数字转换为具有给定基数 (base) 的文本表示形式。Converts a number into a text representation with the given radix (base).

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

besselI(x, n)

返回修正的贝赛耳函数 In (x)。Returns the modified Bessel function In(x).

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

besselJ(x, n)

返回贝赛耳函数 Jn (x)。Returns the Bessel function Jn(x).

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

besselK(x, n)

返回已修改的贝赛耳函数 Kn (x)。Returns the modified Bessel function Kn(x).

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

besselY(x, n)

返回贝赛耳函数 Yn (x)。Returns the Bessel function Yn(x).

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

beta_Dist(x, alpha, beta, cumulative, A, B)

返回 beta 概率分布函数。Returns the beta probability distribution function.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

beta_Inv(probability, alpha, beta, A, B)

返回累积 beta 分布的概率密度函数的反函数 (beta。DIST)。Returns the inverse of the cumulative beta probability density function (BETA.DIST).

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

bin2Dec(number)

将二进制数转换为十进制数。Converts a binary number to decimal.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

bin2Hex(number, places)

将二进制数转换为十六进制数。Converts a binary number to hexadecimal.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

bin2Oct(number, places)

将二进制数转换为八进制数。Converts a binary number to octal.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

binom_Dist_Range(trials, probabilityS, numberS, numberS2)

返回使用二项式分布的试验结果的概率。Returns the probability of a trial result using a binomial distribution.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

binom_Dist(numberS, trials, probabilityS, cumulative)

返回一元二项式分布的概率。Returns the individual term binomial distribution probability.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

binom_Inv(trials, probabilityS, alpha)

返回使累积二项式分布大于或等于临界值的最小值。Returns the smallest value for which the cumulative binomial distribution is greater than or equal to a criterion value.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

bitand(number1, number2)

返回两个数字的按位 "and"。Returns a bitwise 'And' of two numbers.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

bitlshift(number, shiftAmount)

返回按移位_量位左移的数字。Returns a number shifted left by shift_amount bits.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

bitor(number1, number2)

返回两个数字的按位 "or"。Returns a bitwise 'Or' of two numbers.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

bitrshift(number, shiftAmount)

返回按移位_量位右移的数字。Returns a number shifted right by shift_amount bits.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

bitxor(number1, number2)

返回两个数字的按位 "异或"。Returns a bitwise 'Exclusive Or' of two numbers.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

ceiling_Math(number, significance, mode)

将数字向上舍入到最接近的整数或最接近的重要性的倍数。Rounds a number up, to the nearest integer or to the nearest multiple of significance.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

ceiling_Precise(number, significance)

将数字向上舍入到最接近的整数或最接近的重要性的倍数。Rounds a number up, to the nearest integer or to the nearest multiple of significance.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

char(number)

返回由您的计算机的字符集中的代码编号指定的字符。Returns the character specified by the code number from the character set for your computer.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

chiSq_Dist_RT(x, degFreedom)

返回 χ2 分布的右尾概率。Returns the right-tailed probability of the chi-squared distribution.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

chiSq_Dist(x, degFreedom, cumulative)

返回χ2分布的左尾概率。Returns the left-tailed probability of the chi-squared distribution.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

chiSq_Inv_RT(probability, degFreedom)

返回 χ2 分布的右尾概率的反函数。Returns the inverse of the right-tailed probability of the chi-squared distribution.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

chiSq_Inv(probability, degFreedom)

返回 χ2 分布的左尾概率的反函数。Returns the inverse of the left-tailed probability of the chi-squared distribution.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

choose(indexNum, values)

根据索引号从值列表中选择要执行的值或操作。Chooses a value or action to perform from a list of values, based on an index number.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

clean(text)

删除文本中的所有非打印字符。Removes all nonprintable characters from text.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

code(text)

返回文本字符串中的第一个字符在计算机使用的字符集中的数字代码。Returns a numeric code for the first character in a text string, in the character set used by your computer.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

columns(array)

返回数组或引用中的列数。Returns the number of columns in an array or reference.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

combin(number, numberChosen)

返回从给定的项目数中提取若干项目的组合数。Returns the number of combinations for a given number of items.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

combina(number, numberChosen)

返回给定数目的项目的组合次数 (以重复)。Returns the number of combinations with repetitions for a given number of items.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

complex(realNum, iNum, suffix)

将实系数和虚系数转换为复数。Converts real and imaginary coefficients into a complex number.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

concatenate(values)

将多个文本字符串联接为一个文本字符串。Joins several text strings into one text string.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

confidence_Norm(alpha, standardDev, size)

使用正态分布返回总体平均值的置信区间。Returns the confidence interval for a population mean, using a normal distribution.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

confidence_T(alpha, standardDev, size)

使用学生的 T 分布返回总体平均值的置信区间。Returns the confidence interval for a population mean, using a Student's T distribution.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

convert(number, fromUnit, toUnit)

将数字从一个度量系统转换为另一个度量系统。Converts a number from one measurement system to another.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

cos(number)

返回角度的余弦值。Returns the cosine of an angle.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

cosh(number)

返回数字的双曲余弦值。Returns the hyperbolic cosine of a number.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

cot(number)

返回一个角度的余切。Returns the cotangent of an angle.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

coth(number)

返回某一数字的双曲余切。Returns the hyperbolic cotangent of a number.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

count(values)

计算区域中包含数字的单元格的数目。Counts the number of cells in a range that contain numbers.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

countA(values)

计算区域中非空的单元格的数目。Counts the number of cells in a range that are not empty.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

countBlank(range)

计算指定单元格区域中的空单元格的数目。Counts the number of empty cells in a specified range of cells.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

countIf(range, criteria)

计算区域中满足给定条件的单元格的数量。Counts the number of cells within a range that meet the given condition.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

countIfs(values)

计算由一组给定条件或条件指定的单元格的数目。Counts the number of cells specified by a given set of conditions or criteria.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

coupDayBs(settlement, maturity, frequency, basis)

返回从息票期开始到结算日的天数。Returns the number of days from the beginning of the coupon period to the settlement date.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

coupDays(settlement, maturity, frequency, basis)

返回结算日所在的息票期的天数。Returns the number of days in the coupon period that contains the settlement date.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

coupDaysNc(settlement, maturity, frequency, basis)

返回从结算日到下一个息票日之间的天数。Returns the number of days from the settlement date to the next coupon date.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

coupNcd(settlement, maturity, frequency, basis)

返回成交日之后的下一个付息日。Returns the next coupon date after the settlement date.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

coupNum(settlement, maturity, frequency, basis)

返回成交日和到期日之间的应付款息数。Returns the number of coupons payable between the settlement date and maturity date.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

coupPcd(settlement, maturity, frequency, basis)

返回成交日之前的上一个付息日。Returns the previous coupon date before the settlement date.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

csc(number)

返回一个角度的余割。Returns the cosecant of an angle.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

csch(number)

返回角度的双曲余割。Returns the hyperbolic cosecant of an angle.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

cumIPmt(rate, nper, pv, startPeriod, endPeriod, type)

返回两个时段之间支付的累积利息。Returns the cumulative interest paid between two periods.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

cumPrinc(rate, nper, pv, startPeriod, endPeriod, type)

返回两个时段之间贷款累积支付的本金。Returns the cumulative principal paid on a loan between two periods.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

date(year, month, day)

返回表示 Microsoft Excel 日期时间代码中的日期的数字。Returns the number that represents the date in Microsoft Excel date-time code.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

datevalue(dateText)

将文本格式的日期转换为表示 Microsoft Excel 日期时间代码中的日期的数字。Converts a date in the form of text to a number that represents the date in Microsoft Excel date-time code.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

daverage(database, field, criteria)

计算满足指定条件的列表或数据库的列中的值的平均值。Averages the values in a column in a list or database that match conditions you specify.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

day(serialNumber)

返回一个月中的某一天, 为1到31之间的数字。Returns the day of the month, a number from 1 to 31.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

days(endDate, startDate)

返回两个日期之间的天数。Returns the number of days between the two dates.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

days360(startDate, endDate, method)

根据360年 (12 30 天) 返回两个日期之间的天数。Returns the number of days between two dates based on a 360-day year (twelve 30-day months).

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

db(cost, salvage, life, period, month)

使用固定余额递减法返回指定周期内某项资产的折旧值。Returns the depreciation of an asset for a specified period using the fixed-declining balance method.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

dbcs(text)

将字符字符串中的半角 (单字节) 字符更改为全角 (双字节) 字符。Changes half-width (single-byte) characters within a character string to full-width (double-byte) characters. 与双字节字符集 (DBCS) 一起使用。Use with double-byte character sets (DBCS).

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

dcount(database, field, criteria)

计算数据库中与指定条件匹配的记录的字段 (列) 中包含数字的单元格的个数。Counts the cells containing numbers in the field (column) of records in the database that match the conditions you specify.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

dcountA(database, field, criteria)

计算数据库中与您指定的条件相匹配的记录的字段 (列) 中的非空单元格的个数。Counts nonblank cells in the field (column) of records in the database that match the conditions you specify.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

ddb(cost, salvage, life, period, factor)

使用双倍余额递减法或其他指定方法返回某项资产在指定周期内的折旧值。Returns the depreciation of an asset for a specified period using the double-declining balance method or some other method you specify.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

dec2Bin(number, places)

将十进制数转换为二进制数。Converts a decimal number to binary.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

dec2Hex(number, places)

将十进制数转换为十六进制数。Converts a decimal number to hexadecimal.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

dec2Oct(number, places)

将十进制数转换为八进制数。Converts a decimal number to octal.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

decimal(number, radix)

将给定基数的数字的文本表示形式转换为十进制数。Converts a text representation of a number in a given base into a decimal number.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

degrees(angle)

将弧度转换为度。Converts radians to degrees.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

delta(number1, number2)

测试两个数字是否相等。Tests whether two numbers are equal.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

devSq(values)

返回数据点与其样本平均值的偏差的平方和。Returns the sum of squares of deviations of data points from their sample mean.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

dget(database, field, criteria)

从数据库中提取与您指定的条件相匹配的单个记录。Extracts from a database a single record that matches the conditions you specify.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

disc(settlement, maturity, pr, redemption, basis)

返回债券的贴现率。Returns the discount rate for a security.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

dmax(database, field, criteria)

返回数据库中与指定条件匹配的记录的字段 (列) 中的最大数字。Returns the largest number in the field (column) of records in the database that match the conditions you specify.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

dmin(database, field, criteria)

返回数据库中与指定条件匹配的记录的字段 (列) 中的最小数字。Returns the smallest number in the field (column) of records in the database that match the conditions you specify.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

dollar(number, decimals)

使用货币格式将数字转换为文本。Converts a number to text, using currency format.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

dollarDe(fractionalDollar, fraction)

将以分数表示的货币转换为以十进制数表示的美元价格。Converts a dollar price, expressed as a fraction, into a dollar price, expressed as a decimal number.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

dollarFr(decimalDollar, fraction)

将以小数表示的价格转换为以分数表示的美元价格。Converts a dollar price, expressed as a decimal number, into a dollar price, expressed as a fraction.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

dproduct(database, field, criteria)

将数据库中与您指定的条件相匹配的记录的字段 (列) 中的值相乘。Multiplies the values in the field (column) of records in the database that match the conditions you specify.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

dstDev(database, field, criteria)

根据所选数据库条目中的样本估算标准偏差。Estimates the standard deviation based on a sample from selected database entries.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

dstDevP(database, field, criteria)

根据选定数据库项的整个总体计算标准偏差。Calculates the standard deviation based on the entire population of selected database entries.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

dsum(database, field, criteria)

在数据库中与您指定的条件相匹配的记录的字段 (列) 中添加数字。Adds the numbers in the field (column) of records in the database that match the conditions you specify.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

duration(settlement, maturity, coupon, yld, frequency, basis)

返回定期支付利息的债券的年持续时间。Returns the annual duration of a security with periodic interest payments.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

dvar(database, field, criteria)

根据所选数据库条目中的样本估算方差。Estimates variance based on a sample from selected database entries.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

dvarP(database, field, criteria)

根据所选数据库条目的样本总体计算方差。Calculates variance based on the entire population of selected database entries.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

ecma_Ceiling(number, significance)

将数字向上舍入到最接近的整数或最接近的重要性的倍数。Rounds a number up, to the nearest integer or to the nearest multiple of significance.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

edate(startDate, months)

返回在开始日期之前或之后指定的月数的日期的序列号。Returns the serial number of the date that is the indicated number of months before or after the start date.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

effect(nominalRate, npery)

返回年的有效利率。Returns the effective annual interest rate.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

eoMonth(startDate, months)

返回指定月数之前或之后的一个月的最后一天的序列号。Returns the serial number of the last day of the month before or after a specified number of months.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

erf_Precise(X)

返回错误函数。Returns the error function.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

erf(lowerLimit, upperLimit)

返回错误函数。Returns the error function.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

erfC_Precise(X)

返回互补错误函数。Returns the complementary error function.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

erfC(x)

返回互补错误函数。Returns the complementary error function.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

error_Type(errorVal)

返回一个与错误值相匹配的数字。Returns a number matching an error value.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

even(number)

将正数值向上和负数向下舍入到最接近的偶数整数。Rounds a positive number up and negative number down to the nearest even integer.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

exact(text1, text2)

检查两个文本字符串是否完全相同, 并返回 TRUE 或 FALSE。Checks whether two text strings are exactly the same, and returns TRUE or FALSE. EXACT 是否区分大小写。EXACT is case-sensitive.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

exp(number)

返回 e 的加上给定数字的次幂。Returns e raised to the power of a given number.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

expon_Dist(x, lambda, cumulative)

返回指数分布。Returns the exponential distribution.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

f_Dist_RT(x, degFreedom1, degFreedom2)

返回两个数据集的 (右尾) F 概率分布 (多元化度)。Returns the (right-tailed) F probability distribution (degree of diversity) for two data sets.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

f_Dist(x, degFreedom1, degFreedom2, cumulative)

返回两个数据集的 (左尾) F 概率分布 (多元化度)。Returns the (left-tailed) F probability distribution (degree of diversity) for two data sets.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

f_Inv_RT(probability, degFreedom1, degFreedom2)

返回 (右尾) F 概率分布的反函数: 如果 p = f.。RT (x,...), 然后是 "INV"。RT (p,...) = x。Returns the inverse of the (right-tailed) F probability distribution: if p = F.DIST.RT(x,...), then F.INV.RT(p,...) = x.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

f_Inv(probability, degFreedom1, degFreedom2)

返回 (左尾) F 概率分布的反函数: 如果 p = f. (x,...), 则返回 a-f (p,...) = x。Returns the inverse of the (left-tailed) F probability distribution: if p = F.DIST(x,...), then F.INV(p,...) = x.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

fact(number)

返回一个数的阶乘, 等于 123 ... 多种.Returns the factorial of a number, equal to 123 ... Number.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

factDouble(number)

返回数字的双倍阶乘。Returns the double factorial of a number.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

false()

返回逻辑值 FALSE。Returns the logical value FALSE.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

find(findText, withinText, startNum)

返回另一个文本字符串中一个文本字符串的起始位置。Returns the starting position of one text string within another text string. 查找区分大小写。FIND is case-sensitive.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

findB(findText, withinText, startNum)

在另一个文本字符串中查找一个文本字符串的起始位置。Finds the starting position of one text string within another text string. FINDB 区分大小写。FINDB is case-sensitive. 与双字节字符集 (DBCS) 一起使用。Use with double-byte character sets (DBCS).

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

fisher(x)

返回 Fisher 转换。Returns the Fisher transformation.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

fisherInv(y)

返回 Fisher 转换的反函数: 如果 y = Fisher (x), 则 FISHERINV (y) = x。Returns the inverse of the Fisher transformation: if y = FISHER(x), then FISHERINV(y) = x.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

fixed(number, decimals, noCommas)

将数字舍入到指定的小数位数, 并以包含或不带逗号的文本的形式返回结果。Rounds a number to the specified number of decimals and returns the result as text with or without commas.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

floor_Math(number, significance, mode)

将数字向下舍入到最接近的整数或最接近的重要性的倍数。Rounds a number down, to the nearest integer or to the nearest multiple of significance.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

floor_Precise(number, significance)

将数字向下舍入到最接近的整数或最接近的重要性的倍数。Rounds a number down, to the nearest integer or to the nearest multiple of significance.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

fv(rate, nper, pmt, pv, type)

基于固定利率和等额分期付款方式,返回某项投资的未来值。Returns the future value of an investment based on periodic, constant payments and a constant interest rate.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

fvschedule(principal, schedule)

基于一系列复利返回本金的未来值。Returns the future value of an initial principal after applying a series of compound interest rates.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

gamma_Dist(x, alpha, beta, cumulative)

返回 γ 分布函数值。Returns the gamma distribution.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

gamma_Inv(probability, alpha, beta)

返回伽玛累积分布的反函数: 如果 p = 伽玛。DIST (x,...), 然后是伽玛。INV (p,...) = x。Returns the inverse of the gamma cumulative distribution: if p = GAMMA.DIST(x,...), then GAMMA.INV(p,...) = x.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

gamma(x)

返回伽玛函数值。Returns the Gamma function value.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

gammaLn_Precise(x)

返回伽玛函数的自然对数。Returns the natural logarithm of the gamma function.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

gammaLn(x)

返回伽玛函数的自然对数。Returns the natural logarithm of the gamma function.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

gauss(x)

返回小于标准正态累积分布的0.5。Returns 0.5 less than the standard normal cumulative distribution.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

gcd(values)

返回最大公因数。Returns the greatest common divisor.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

geoMean(values)

返回正数值数据的数组或区域的几何平均值。Returns the geometric mean of an array or range of positive numeric data.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

geStep(number, step)

测试数字是否大于阈值。Tests whether a number is greater than a threshold value.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

harMean(values)

返回正数的数据集的调和平均值: reciprocals 的算术平均值的倒数平均值。Returns the harmonic mean of a data set of positive numbers: the reciprocal of the arithmetic mean of reciprocals.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

hex2Bin(number, places)

将十六进制数转换为二进制数。Converts a Hexadecimal number to binary.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

hex2Dec(number)

将十六进制数转换为十进制数。Converts a hexadecimal number to decimal.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

hex2Oct(number, places)

将十六进制数转换为八进制数。Converts a hexadecimal number to octal.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

hlookup(lookupValue, tableArray, rowIndexNum, rangeLookup)

在表或值数组的首行查找值, 并从指定行的同一列中返回值。Looks for a value in the top row of a table or array of values and returns the value in the same column from a row you specify.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

hour(serialNumber)

将小时返回为从 0 (12:00 A.M.) 到 23 (11:00 下午5点) 的数字。Returns the hour as a number from 0 (12:00 A.M.) to 23 (11:00 P.M.).

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

hyperlink(linkLocation, friendlyName)

创建一个快捷方式或跳转, 用于打开存储在硬盘驱动器、网络服务器或 Internet 上的文档。Creates a shortcut or jump that opens a document stored on your hard drive, a network server, or on the Internet.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

hypGeom_Dist(sampleS, numberSample, populationS, numberPop, cumulative)

返回超几何分布。Returns the hypergeometric distribution.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

if(logicalTest, valueIfTrue, valueIfFalse)

检查是否满足条件, 如果为 TRUE, 则返回一个值; 如果为 FALSE, 则返回另一个值。Checks whether a condition is met, and returns one value if TRUE, and another value if FALSE.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

imAbs(inumber)

返回复数的绝对值 (模数)。Returns the absolute value (modulus) of a complex number.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

imaginary(inumber)

返回复数的虚系数。Returns the imaginary coefficient of a complex number.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

imArgument(inumber)

返回参数 q, 以弧度表示的角。Returns the argument q, an angle expressed in radians.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

imConjugate(inumber)

返回复数的共轭复数。Returns the complex conjugate of a complex number.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

imCos(inumber)

返回复数的余弦值。Returns the cosine of a complex number.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

imCosh(inumber)

返回复数的双曲余弦值。Returns the hyperbolic cosine of a complex number.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

imCot(inumber)

返回复数的余切值。Returns the cotangent of a complex number.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

imCsc(inumber)

返回复数的余割值。Returns the cosecant of a complex number.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

imCsch(inumber)

返回复数的双曲余割值。Returns the hyperbolic cosecant of a complex number.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

imDiv(inumber1, inumber2)

返回两个复数的商。Returns the quotient of two complex numbers.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

imExp(inumber)

返回复数的指数值。Returns the exponential of a complex number.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

imLn(inumber)

返回复数的自然对数。Returns the natural logarithm of a complex number.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

imLog10(inumber)

返回复数的以10为底的对数。Returns the base-10 logarithm of a complex number.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

imLog2(inumber)

返回复数的以2为底数的对数。Returns the base-2 logarithm of a complex number.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

imPower(inumber, number)

返回一个复数的整数次幂。Returns a complex number raised to an integer power.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

imProduct(values)

返回1到255复数的乘积。Returns the product of 1 to 255 complex numbers.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

imReal(inumber)

返回复数的实系数。Returns the real coefficient of a complex number.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

imSec(inumber)

返回复数的正割值。Returns the secant of a complex number.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

imSech(inumber)

返回复数的双曲正割值。Returns the hyperbolic secant of a complex number.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

imSin(inumber)

返回复数的正弦值。Returns the sine of a complex number.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

imSinh(inumber)

返回复数的双曲正弦值。Returns the hyperbolic sine of a complex number.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

imSqrt(inumber)

返回复数的平方根。Returns the square root of a complex number.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

imSub(inumber1, inumber2)

返回两个复数的差。Returns the difference of two complex numbers.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

imSum(values)

返回复数的和。Returns the sum of complex numbers.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

imTan(inumber)

返回复数的正切值。Returns the tangent of a complex number.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

int(number)

将数字向下舍入到最接近的整数。Rounds a number down to the nearest integer.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

intRate(settlement, maturity, investment, redemption, basis)

返回完全投资型债券的利率。Returns the interest rate for a fully invested security.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

ipmt(rate, per, nper, pv, fv, type)

根据固定利率和等额分期付款方式, 返回某项投资在给定期间内的利息支付额。Returns the interest payment for a given period for an investment, based on periodic, constant payments and a constant interest rate.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

irr(values, guess)

返回一系列现金流的内部收益率。Returns the internal rate of return for a series of cash flows.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

isErr(value)

检查值是否#为不包括# # # # # #N/a 的错误 (value!, REF!, DIV/0!, NUM!, NAME?, 或 NULL!), 并返回 TRUE 或 FALSE。Checks whether a value is an error (#VALUE!, #REF!, #DIV/0!, #NUM!, #NAME?, or #NULL!) excluding #N/A, and returns TRUE or FALSE.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

isError(value)

检查某个值是否为错误 (#N/a、 #value!、 #REF!、 #DIV/0!、 #NUM!、 #NAME? 或#NULL!), 并返回 TRUE 或 FALSE。Checks whether a value is an error (#N/A, #VALUE!, #REF!, #DIV/0!, #NUM!, #NAME?, or #NULL!), and returns TRUE or FALSE.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

isEven(number)

如果数字为偶数, 则返回 TRUE。Returns TRUE if the number is even.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

isFormula(reference)

检查引用是否指向包含公式的单元格, 并返回 TRUE 或 FALSE。Checks whether a reference is to a cell containing a formula, and returns TRUE or FALSE.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

isLogical(value)

检查值是否为逻辑值 (TRUE 或 false), 并返回 TRUE 或 false。Checks whether a value is a logical value (TRUE or FALSE), and returns TRUE or FALSE.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

isNA(value)

检查值是否为#N/a, 并返回 TRUE 或 FALSE。Checks whether a value is #N/A, and returns TRUE or FALSE.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

isNonText(value)

检查值是否不是文本 (空白单元格不是文本), 并返回 TRUE 或 FALSE。Checks whether a value is not text (blank cells are not text), and returns TRUE or FALSE.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

isNumber(value)

检查某个值是否为数字, 并返回 TRUE 或 FALSE。Checks whether a value is a number, and returns TRUE or FALSE.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

iso_Ceiling(number, significance)

将数字向上舍入到最接近的整数或最接近的重要性的倍数。Rounds a number up, to the nearest integer or to the nearest multiple of significance.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

isOdd(number)

如果数字为奇数, 则返回 TRUE。Returns TRUE if the number is odd.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

isoWeekNum(date)

返回给定日期在一年中的 ISO 周数。Returns the ISO week number in the year for a given date.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

ispmt(rate, per, nper, pv)

返回特定投资期内支付的利息。Returns the interest paid during a specific period of an investment.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

isref(value)

检查值是否为引用, 并返回 TRUE 或 FALSE。Checks whether a value is a reference, and returns TRUE or FALSE.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

isText(value)

检查值是否为文本, 并返回 TRUE 或 FALSE。Checks whether a value is text, and returns TRUE or FALSE.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

kurt(values)

返回一组数据的峰值。Returns the kurtosis of a data set.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

large(array, k)

返回数据集中第 k 个最大值。Returns the k-th largest value in a data set. 例如, 第五个最大的数字。For example, the fifth largest number.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

lcm(values)

返回最小公倍数。Returns the least common multiple.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

left(text, numChars)

返回文本字符串开头的指定数量的字符。Returns the specified number of characters from the start of a text string.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

leftb(text, numBytes)

返回文本字符串开头的指定数量的字符。Returns the specified number of characters from the start of a text string. 与双字节字符集 (DBCS) 一起使用。Use with double-byte character sets (DBCS).

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

len(text)

返回文本字符串中的字符数。Returns the number of characters in a text string.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

lenb(text)

返回文本字符串中的字符数。Returns the number of characters in a text string. 与双字节字符集 (DBCS) 一起使用。Use with double-byte character sets (DBCS).

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

ln(number)

返回数字的自然对数。Returns the natural logarithm of a number.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

log(number, base)

按所指定的底数,返回一个数的对数。Returns the logarithm of a number to the base you specify.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

log10(number)

返回以 10 为底的对数。Returns the base-10 logarithm of a number.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

logNorm_Dist(x, mean, standardDev, cumulative)

返回 x 的对数分布, 其中 ln (x) 通常使用参数均值和标准_dev 进行分布。Returns the lognormal distribution of x, where ln(x) is normally distributed with parameters Mean and Standard_dev.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

logNorm_Inv(probability, mean, standardDev)

返回 x 的对数累积分布函数的反函数, 其中 ln (x) 通常使用参数均值和标准_dev 进行分布。Returns the inverse of the lognormal cumulative distribution function of x, where ln(x) is normally distributed with parameters Mean and Standard_dev.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

lookup(lookupValue, lookupVector, resultVector)

从单行或单列区域或从一个数组中查找值。Looks up a value either from a one-row or one-column range or from an array. 提供用于向后兼容性。Provided for backward compatibility.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

lower(text)

将文本字符串中的所有字母转换为小写形式。Converts all letters in a text string to lowercase.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

match(lookupValue, lookupArray, matchType)

返回在指定方式下与指定数值匹配的数组中元素的相应位置。Returns the relative position of an item in an array that matches a specified value in a specified order.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

max(values)

返回一组值中的最大值。Returns the largest value in a set of values. 忽略逻辑值和文本。Ignores logical values and text.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

maxA(values)

返回一组值中的最大值。Returns the largest value in a set of values. 不忽略逻辑值和文本。Does not ignore logical values and text.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

mduration(settlement, maturity, coupon, yld, frequency, basis)

返回 Macauley 的已修改持续时间, 其假定值为 $100 的有价证券。Returns the Macauley modified duration for a security with an assumed par value of $100.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

median(values)

返回中值, 或指定的编号集中的数字。Returns the median, or the number in the middle of the set of given numbers.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

mid(text, startNum, numChars)

在给定起始位置和长度的情况下, 返回文本字符串中间的字符。Returns the characters from the middle of a text string, given a starting position and length.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

midb(text, startNum, numBytes)

在给定起始位置和长度的情况下, 返回文本字符串中间的字符。Returns characters from the middle of a text string, given a starting position and length. 与双字节字符集 (DBCS) 一起使用。Use with double-byte character sets (DBCS).

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

min(values)

返回一组值中的最小值。Returns the smallest number in a set of values. 忽略逻辑值和文本。Ignores logical values and text.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

minA(values)

返回一组值中的最小值。Returns the smallest value in a set of values. 不忽略逻辑值和文本。Does not ignore logical values and text.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

minute(serialNumber)

返回分钟, 是介于0到59之间的数字。Returns the minute, a number from 0 to 59.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

mirr(values, financeRate, reinvestRate)

返回一系列定期现金流的内部收益率, 同时考虑投资成本和现金利率利息。Returns the internal rate of return for a series of periodic cash flows, considering both cost of investment and interest on reinvestment of cash.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

mod(number, divisor)

返回一个数除以一个除数后所得的余数。Returns the remainder after a number is divided by a divisor.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

month(serialNumber)

返回月, 是 1 (一月) 到 12 (十二月) 之间的一个数字。Returns the month, a number from 1 (January) to 12 (December).

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

mround(number, multiple)

返回参数按指定基数舍入后的数值。Returns a number rounded to the desired multiple.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

multiNomial(values)

返回一组数字的 multinomial。Returns the multinomial of a set of numbers.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

n(value)

将非数字值转换为数字, 将日期转换为序列号, 如果为 1, 则为 1, 任何其他值都设置为 0 (零)。Converts non-number value to a number, dates to serial numbers, TRUE to 1, anything else to 0 (zero).

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

na()

返回错误值#N/A (值不可用)。Returns the error value #N/A (value not available).

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

negBinom_Dist(numberF, numberS, probabilityS, cumulative)

返回负二项式分布的概率, 在第一次成功前__的数字发生次数为 f, 概率为成功的概率_为1。Returns the negative binomial distribution, the probability that there will be Number_f failures before the Number_s-th success, with Probability_s probability of a success.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

networkDays_Intl(startDate, endDate, weekend, holidays)

使用自定义周末参数返回两个日期之间的完整工作日数。Returns the number of whole workdays between two dates with custom weekend parameters.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

networkDays(startDate, endDate, holidays)

返回两个日期之间的完整工作日数。Returns the number of whole workdays between two dates.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

nominal(effectRate, npery)

返回年的名义利率。Returns the annual nominal interest rate.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

norm_Dist(x, mean, standardDev, cumulative)

返回指定平均值和标准偏差的正态分布。Returns the normal distribution for the specified mean and standard deviation.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

norm_Inv(probability, mean, standardDev)

返回指定平均值和标准偏差的正态累积分布函数的反函数。Returns the inverse of the normal cumulative distribution for the specified mean and standard deviation.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

norm_S_Dist(z, cumulative)

返回标准正态分布 (其平均值为零, 标准偏差为 1)。Returns the standard normal distribution (has a mean of zero and a standard deviation of one).

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

norm_S_Inv(probability)

返回标准正态累积分布 (其平均值为零, 标准偏差为 1) 的反函数。Returns the inverse of the standard normal cumulative distribution (has a mean of zero and a standard deviation of one).

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

not(logical)

将 FALSE 更改为 true, 或将 true 更改为 FALSE。Changes FALSE to TRUE, or TRUE to FALSE.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

now()

返回日期和时间格式的当前日期和时间。Returns the current date and time formatted as a date and time.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

nper(rate, pmt, pv, fv, type)

基于固定利率及等额分期付款方式,返回某项投资的总期数。Returns the number of periods for an investment based on periodic, constant payments and a constant interest rate.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

npv(rate, values)

返回基于贴现率和一系列未来付款 (负值) 和收入 (正值) 的投资净现值。Returns the net present value of an investment based on a discount rate and a series of future payments (negative values) and income (positive values).

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

numberValue(text, decimalSeparator, groupSeparator)

以独立于区域设置的方式将文本转换为数字。Converts text to number in a locale-independent manner.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

oct2Bin(number, places)

将八进制数转换为二进制数。Converts an octal number to binary.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

oct2Dec(number)

将八进制数转换为十进制数。Converts an octal number to decimal.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

oct2Hex(number, places)

将八进制数转换为十六进制数。Converts an octal number to hexadecimal.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

odd(number)

将正数值向上和负数向下舍入到最接近的奇数整数。Rounds a positive number up and negative number down to the nearest odd integer.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

oddFPrice(settlement, maturity, issue, firstCoupon, rate, yld, redemption, frequency, basis)

返回第一期为奇数的债券的 $100 的价格值。Returns the price per $100 face value of a security with an odd first period.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

oddFYield(settlement, maturity, issue, firstCoupon, rate, pr, redemption, frequency, basis)

返回第一期为奇数的有价证券的收益率。Returns the yield of a security with an odd first period.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

oddLPrice(settlement, maturity, lastInterest, rate, yld, redemption, frequency, basis)

返回与前一期为奇数的有价证券的每 $100 的价格值。Returns the price per $100 face value of a security with an odd last period.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

oddLYield(settlement, maturity, lastInterest, rate, pr, redemption, frequency, basis)

返回最后一期为奇数的有价证券的收益率。Returns the yield of a security with an odd last period.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

or(values)

检查是否有任何参数为 true, 并返回 true 或 FALSE。Checks whether any of the arguments are TRUE, and returns TRUE or FALSE. 仅当所有参数均为 false 时, 才返回 false。Returns FALSE only if all arguments are FALSE.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

pduration(rate, pv, fv)

返回投资达到指定值所需的周期数。Returns the number of periods required by an investment to reach a specified value.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

percentile_Exc(array, k)

返回区域中数值的第 k 个百分点的值,其中 k 的范围是从 0 到 1(不包括 0 和 1)。Returns the k-th percentile of values in a range, where k is in the range 0..1, exclusive.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

percentile_Inc(array, k)

返回一个区域中第 k 个百分点的值, 其中 k 介于0到1之间 (含0和 1)。Returns the k-th percentile of values in a range, where k is in the range 0..1, inclusive.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

percentRank_Exc(array, x, significance)

以数据集的百分比 (0、1、独占) 的形式返回数据集中的值的排名。Returns the rank of a value in a data set as a percentage of the data set as a percentage (0..1, exclusive) of the data set.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

percentRank_Inc(array, x, significance)

以数据集的百分比 (0 和 1, 含) 为单位返回数据集中的值的排名。Returns the rank of a value in a data set as a percentage of the data set as a percentage (0..1, inclusive) of the data set.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

permut(number, numberChosen)

返回可从总计对象中选择的给定数量的对象的排列数。Returns the number of permutations for a given number of objects that can be selected from the total objects.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

permutationa(number, numberChosen)

返回可从总计对象中选择的给定数量的对象 (使用重复) 的排列次数。Returns the number of permutations for a given number of objects (with repetitions) that can be selected from the total objects.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

phi(x)

返回标准正态分布的密度函数的值。Returns the value of the density function for a standard normal distribution.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

pi()

返回 Pi 3.14159265358979 的值, 精确到15位。Returns the value of Pi, 3.14159265358979, accurate to 15 digits.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

pmt(rate, nper, pv, fv, type)

基于固定利率及等额分期付款方式,计算贷款的每期付款额。Calculates the payment for a loan based on constant payments and a constant interest rate.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

poisson_Dist(x, mean, cumulative)

返回泊松分布。Returns the Poisson distribution.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

power(number, power)

返回某数的乘幂结果。Returns the result of a number raised to a power.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

ppmt(rate, per, nper, pv, fv, type)

基于固定利率和等额分期付款方式, 返回针对给定投资的本金的付款。Returns the payment on the principal for a given investment based on periodic, constant payments and a constant interest rate.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

price(settlement, maturity, rate, yld, redemption, frequency, basis)

返回定期付息的面值 ¥100 的债券价格。Returns the price per $100 face value of a security that pays periodic interest.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

priceDisc(settlement, maturity, discount, redemption, basis)

返回折价发行的面值 ¥100 的债券的价格。Returns the price per $100 face value of a discounted security.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

priceMat(settlement, maturity, issue, rate, yld, basis)

返回到期付息的面值 ¥100 的债券的价格。Returns the price per $100 face value of a security that pays interest at maturity.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

product(values)

将所有以参数形式给出的数字相乘。Multiplies all the numbers given as arguments.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

proper(text)

将文本字符串转换为正确的大小写。每个单词的第一个字母为大写, 所有其他字母均为小写。Converts a text string to proper case; the first letter in each word to uppercase, and all other letters to lowercase.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

pv(rate, nper, pmt, fv, type)

返回一个投资的现值: 一系列未来付款现在的总金额。Returns the present value of an investment: the total amount that a series of future payments is worth now.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

quartile_Exc(array, quart)

根据0和1之间的百分点值返回数据集的四分位。Returns the quartile of a data set, based on percentile values from 0..1, exclusive.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

quartile_Inc(array, quart)

根据0和1之间的百分点值 (包括0和 1) 返回数据集的四分位。Returns the quartile of a data set, based on percentile values from 0..1, inclusive.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

quotient(numerator, denominator)

返回除法的整数部分。Returns the integer portion of a division.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

radians(angle)

将度转换为弧度。Converts degrees to radians.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

rand()

返回一个大于或等于0且小于 1 (均匀分布的更改) 的随机数字。Returns a random number greater than or equal to 0 and less than 1, evenly distributed (changes on recalculation).

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

randBetween(bottom, top)

返回指定的数字之间的随机数字。Returns a random number between the numbers you specify.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

rank_Avg(number, ref, order)

返回数字列表中数字的排位: 其相对于列表中的其他值的大小;如果不止一个值具有相同的秩, 则返回平均排名。Returns the rank of a number in a list of numbers: its size relative to other values in the list; if more than one value has the same rank, the average rank is returned.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

rank_Eq(number, ref, order)

返回数字列表中数字的排位: 其相对于列表中的其他值的大小;如果多个值具有相同的秩, 则返回该集合的最高排名。Returns the rank of a number in a list of numbers: its size relative to other values in the list; if more than one value has the same rank, the top rank of that set of values is returned.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

rate(nper, pmt, pv, fv, type, guess)

返回贷款或投资在每个期间的利率。Returns the interest rate per period of a loan or an investment. 例如, 对每年 6% 的季度付款使用 6%/4。For example, use 6%/4 for quarterly payments at 6% APR.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

received(settlement, maturity, investment, discount, basis)

返回完全投资型债券到期收回的金额。Returns the amount received at maturity for a fully invested security.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

replace(oldText, startNum, numChars, newText)

用不同的文本字符串替换文本字符串的一部分。Replaces part of a text string with a different text string.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

replaceB(oldText, startNum, numBytes, newText)

用不同的文本字符串替换文本字符串的一部分。Replaces part of a text string with a different text string. 与双字节字符集 (DBCS) 一起使用。Use with double-byte character sets (DBCS).

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

rept(text, numberTimes)

按照给定的次数重复显示文本。Repeats text a given number of times. 可以通过函数 REPT 来不断地重复显示某一文本字符串,对单元格进行填充。Use REPT to fill a cell with a number of instances of a text string.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

right(text, numChars)

返回文本字符串末尾的指定数量的字符。Returns the specified number of characters from the end of a text string.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

rightb(text, numBytes)

返回文本字符串末尾的指定数量的字符。Returns the specified number of characters from the end of a text string. 与双字节字符集 (DBCS) 一起使用。Use with double-byte character sets (DBCS).

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

roman(number, form)

将阿拉伯数字转换为文本形式的罗马数字。Converts an Arabic numeral to Roman, as text.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

round(number, numDigits)

将数字舍入到指定位数。Rounds a number to a specified number of digits.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

roundDown(number, numDigits)

将数字向零的方向向下舍入。Rounds a number down, toward zero.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

roundUp(number, numDigits)

远离零的向上舍入数字。Rounds a number up, away from zero.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

rows(array)

返回引用或数组中的行数。Returns the number of rows in a reference or array.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

rri(nper, pv, fv)

返回投资增长的等效利率。Returns an equivalent interest rate for the growth of an investment.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

sec(number)

返回一个角度的正割。Returns the secant of an angle.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

sech(number)

返回角度的双曲正割。Returns the hyperbolic secant of an angle.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

second(serialNumber)

返回第二个, 是介于0到59之间的数字。Returns the second, a number from 0 to 59.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

seriesSum(x, n, m, coefficients)

返回基于公式的幂级数之和。Returns the sum of a power series based on the formula.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

sheet(value)

返回引用的工作表的工作表编号。Returns the sheet number of the referenced sheet.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

sheets(reference)

返回引用中的工作表数。Returns the number of sheets in a reference.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

sign(number)

返回数字的正负号: 1 如果数字为正数, 则为零; 如果数字为零, 则返回 0; 如果数字为负, 则返回-1。Returns the sign of a number: 1 if the number is positive, zero if the number is zero, or -1 if the number is negative.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

sin(number)

返回角度的正弦值。Returns the sine of an angle.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

sinh(number)

返回某一数字的双曲正弦值。Returns the hyperbolic sine of a number.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

skew_p(values)

基于总体, 返回分布的偏斜度: 一种与其平均值有关的分布不对称程度的特性。Returns the skewness of a distribution based on a population: a characterization of the degree of asymmetry of a distribution around its mean.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

skew(values)

返回分布的偏斜度: 根据其平均值的分布不对称程度的特征。Returns the skewness of a distribution: a characterization of the degree of asymmetry of a distribution around its mean.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

sln(cost, salvage, life)

返回某项资产一个周期的直线折旧值。Returns the straight-line depreciation of an asset for one period.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

small(array, k)

返回数据集中第 k 个最小值。Returns the k-th smallest value in a data set. 例如, 第五个最小的数字。For example, the fifth smallest number.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

sqrt(number)

返回数字的平方根。Returns the square root of a number.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

sqrtPi(number)

返回的平方根 (number * Pi) 的平方根。Returns the square root of (number * Pi).

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

standardize(x, mean, standardDev)

从平均值和标准偏差的分布中返回一个规范化的值。Returns a normalized value from a distribution characterized by a mean and standard deviation.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

stDev_P(values)

基于作为参数给定的整个样本总体计算标准偏差 (忽略逻辑值和文本)。Calculates standard deviation based on the entire population given as arguments (ignores logical values and text).

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

stDev_S(values)

估计基于样本的标准偏差 (忽略样本中的逻辑值和文本)。Estimates standard deviation based on a sample (ignores logical values and text in the sample).

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

stDevA(values)

根据样本 (包括逻辑值和文本) 估计标准偏差。Estimates standard deviation based on a sample, including logical values and text. 文本和逻辑值 FALSE 的值为 0;逻辑值 TRUE 的值为1。Text and the logical value FALSE have the value 0; the logical value TRUE has the value 1.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

stDevPA(values)

基于整个样本总体计算标准偏差, 包括逻辑值和文本。Calculates standard deviation based on an entire population, including logical values and text. 文本和逻辑值 FALSE 的值为 0;逻辑值 TRUE 的值为1。Text and the logical value FALSE have the value 0; the logical value TRUE has the value 1.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

substitute(text, oldText, newText, instanceNum)

将现有文本替换为文本字符串中的新文本。Replaces existing text with new text in a text string.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

subtotal(functionNum, values)

返回列表或数据库中的分类汇总。Returns a subtotal in a list or database.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

sum(values)

对某单元格区域中的所有数字求和。Adds all the numbers in a range of cells.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

sumIf(range, criteria, sumRange)

添加由给定条件或条件指定的单元格。Adds the cells specified by a given condition or criteria.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

sumIfs(sumRange, values)

添加由一组给定条件或条件指定的单元格。Adds the cells specified by a given set of conditions or criteria.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

sumSq(values)

返回参数的平方之和。Returns the sum of the squares of the arguments. 参数可以是数字、数组、名称或对包含数字的单元格的引用。The arguments can be numbers, arrays, names, or references to cells that contain numbers.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

syd(cost, salvage, life, per)

返回某项资产按年限总和折旧法计算的指定期间的折旧值。Returns the sum-of-years' digits depreciation of an asset for a specified period.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

t_Dist_2T(x, degFreedom)

返回双尾学生 t 分布。Returns the two-tailed Student's t-distribution.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

t_Dist_RT(x, degFreedom)

返回右尾学生的 t 分布。Returns the right-tailed Student's t-distribution.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

t_Dist(x, degFreedom, cumulative)

返回左尾学生的 t 分布。Returns the left-tailed Student's t-distribution.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

t_Inv_2T(probability, degFreedom)

返回学生 t 分布的双尾逆。Returns the two-tailed inverse of the Student's t-distribution.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

t_Inv(probability, degFreedom)

返回学生 t 分布的左尾倒角。Returns the left-tailed inverse of the Student's t-distribution.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

t(value)

检查值是否为文本, 如果是文本, 则返回文本; 如果不是, 则返回双引号 (空文本)。Checks whether a value is text, and returns the text if it is, or returns double quotes (empty text) if it is not.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

tan(number)

返回一个角度的正切值。Returns the tangent of an angle.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

tanh(number)

返回某一数字的双曲正切值。Returns the hyperbolic tangent of a number.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

tbillEq(settlement, maturity, discount)

返回国库券的等价债券收益。Returns the bond-equivalent yield for a treasury bill.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

tbillPrice(settlement, maturity, discount)

返回国库券的 $100 每个面孔值的价格。Returns the price per $100 face value for a treasury bill.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

tbillYield(settlement, maturity, pr)

返回国库券的收益率。Returns the yield for a treasury bill.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

text(value, formatText)

将数值转换为按指定数字格式表示的文本。Converts a value to text in a specific number format.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

time(hour, minute, second)

将以数字形式给定的小时、分钟和秒转换为 Excel 序列号, 并将其格式设置为时间格式。Converts hours, minutes, and seconds given as numbers to an Excel serial number, formatted with a time format.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

timevalue(timeText)

将文本时间转换为 Excel 序列号, 一段时间为 0 (12:00:00 AM) 到 0.999988426 (11:59:59 PM) 之间的数字。Converts a text time to an Excel serial number for a time, a number from 0 (12:00:00 AM) to 0.999988426 (11:59:59 PM). 在输入公式后将数字设置为时间格式。Format the number with a time format after entering the formula.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

today()

返回日期格式的当前日期。Returns the current date formatted as a date.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

toJSON()

重写 JavaScript toJSON()方法, 以便在将 API 对象传递到时提供更有用的输出JSON.stringify()Overrides the JavaScript toJSON() method in order to provide more useful output when an API object is passed to JSON.stringify(). (JSON.stringify反过来, 也会调用传递toJSON给它的对象的方法。尽管原始的 Excel. 函数对象是 API 对象, 但toJSON方法返回一个无格式的 JavaScript 对象 (类型为Excel.Interfaces.FunctionsData, in turn, calls the toJSON method of the object that is passed to it.) Whereas the original Excel.Functions object is an API object, the toJSON method returns a plain JavaScript object (typed as Excel.Interfaces.FunctionsData), 其中包含原始对象中所有已加载的子属性的浅表副本。) that contains shallow copies of any loaded child properties from the original object.

trim(text)

删除文本字符串中除单词之间的单个空格之外的所有空格。Removes all spaces from a text string except for single spaces between words.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

trimMean(array, percent)

返回一组数据值的内部部分的平均值。Returns the mean of the interior portion of a set of data values.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

true()

返回逻辑值 TRUE。Returns the logical value TRUE.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

trunc(number, numDigits)

通过删除数字的小数或小数部分, 将数字截断为整数。Truncates a number to an integer by removing the decimal, or fractional, part of the number.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

type(value)

返回一个整数, 表示值的数据类型: number = 1;文本 = 2;逻辑值 = 4;错误值 = 16;array = 64。Returns an integer representing the data type of a value: number = 1; text = 2; logical value = 4; error value = 16; array = 64.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

unichar(number)

返回由给定数值引用的 Unicode 字符。Returns the Unicode character referenced by the given numeric value.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

unicode(text)

返回与文本的第一个字符相对应的数字 (代码点)。Returns the number (code point) corresponding to the first character of the text.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

upper(text)

将文本字符串转换为全部大写字母。Converts a text string to all uppercase letters.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

usdollar(number, decimals)

使用货币格式将数字转换为文本。Converts a number to text, using currency format.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

value(text)

将代表数字的文本字符串转换为数字。Converts a text string that represents a number to a number.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

var_P(values)

计算基于整个总体的方差 (忽略样本总体中的逻辑值和文本)。Calculates variance based on the entire population (ignores logical values and text in the population).

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

var_S(values)

估算基于样本的方差 (忽略样本中的逻辑值和文本)。Estimates variance based on a sample (ignores logical values and text in the sample).

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

varA(values)

估算基于样本的方差, 包括逻辑值和文本。Estimates variance based on a sample, including logical values and text. 文本和逻辑值 FALSE 的值为 0;逻辑值 TRUE 的值为1。Text and the logical value FALSE have the value 0; the logical value TRUE has the value 1.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

varPA(values)

基于整个样本总体计算方差, 包括逻辑值和文本。Calculates variance based on the entire population, including logical values and text. 文本和逻辑值 FALSE 的值为 0;逻辑值 TRUE 的值为1。Text and the logical value FALSE have the value 0; the logical value TRUE has the value 1.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

vdb(cost, salvage, life, startPeriod, endPeriod, factor, noSwitch)

使用双倍余额递减法或其他指定的方法,返回指定的任何期间内(包括部分期间)的资产折旧值。Returns the depreciation of an asset for any period you specify, including partial periods, using the double-declining balance method or some other method you specify.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

vlookup(lookupValue, tableArray, colIndexNum, rangeLookup)

在表中最左边的列中查找值, 然后从指定列的同一行中返回一个值。Looks for a value in the leftmost column of a table, and then returns a value in the same row from a column you specify. 默认情况下, 必须按升序对表进行排序。By default, the table must be sorted in an ascending order.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

weekday(serialNumber, returnType)

返回一个介于1到7之间的数字, 用于标识日期的一周中的某一天。Returns a number from 1 to 7 identifying the day of the week of a date.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

weekNum(serialNumber, returnType)

返回一年中的周数。Returns the week number in the year.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

weibull_Dist(x, alpha, beta, cumulative)

返回韦伯分布。Returns the Weibull distribution.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

workDay_Intl(startDate, days, weekend, holidays)

使用自定义周末参数返回指定数量的工作日之前或之后的日期的序列号。Returns the serial number of the date before or after a specified number of workdays with custom weekend parameters.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

workDay(startDate, days, holidays)

返回指定数量的工作日之前或之后的日期的序列号。Returns the serial number of the date before or after a specified number of workdays.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

xirr(values, dates, guess)

返回现金流计划的内部收益率。Returns the internal rate of return for a schedule of cash flows.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

xnpv(rate, values, dates)

返回现金流的日程安排的净现值。Returns the net present value for a schedule of cash flows.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

xor(values)

返回所有参数的逻辑 "异或"。Returns a logical 'Exclusive Or' of all arguments.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

year(serialNumber)

返回日期的年份, 为 1900-9999 范围内的整数。Returns the year of a date, an integer in the range 1900 - 9999.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

yearFrac(startDate, endDate, basis)

返回表示开始_日期和结束_日期之间的整天数的年小部分。Returns the year fraction representing the number of whole days between start_date and end_date.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

yield(settlement, maturity, rate, pr, redemption, frequency, basis)

返回定期支付利息的债券的收益率。Returns the yield on a security that pays periodic interest.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

yieldDisc(settlement, maturity, pr, redemption, basis)

返回已贴现债券的年收益。Returns the annual yield for a discounted security. 例如, 国库券。For example, a treasury bill.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

yieldMat(settlement, maturity, issue, rate, pr, basis)

返回到期付息的债券的年收益。Returns the annual yield of a security that pays interest at maturity.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

z_Test(array, x, sigma)

返回 z 检验的单尾 P 值。Returns the one-tailed P-value of a z-test.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

属性详细信息

context

与该对象关联的请求上下文。The request context associated with the object. 这会将加载项的进程连接到 Office 主机应用程序的进程。This connects the add-in's process to the Office host application's process.

context: RequestContext;

属性值

RequestContext

方法详细信息

abs(number)

返回一个数的绝对值, 即不带其正负号的数字。Returns the absolute value of a number, a number without its sign.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

abs(number: number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<number>;

参数

number
number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是要获取其绝对值的实数数。Is the real number for which you want the absolute value.

返回

FunctionResult<number>

accrInt(issue, firstInterest, settlement, rate, par, frequency, basis, calcMethod)

返回定期付息有价证券的应计利息。Returns the accrued interest for a security that pays periodic interest.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

accrInt(issue: number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, firstInterest: number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, settlement: number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, rate: number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, par: number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, frequency: number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, basis?: number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, calcMethod?: number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<number>;

参数

issue
number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是债券的发行日, 表示为一串日期号。Is the security's issue date, expressed as a serial date number.

firstInterest
number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是有价证券的第一个利息日期, 表示为一串日期。Is the security's first interest date, expressed as a serial date number.

settlement
number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是债券的结算日, 以一串日期表示。Is the security's settlement date, expressed as a serial date number.

rate
number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

为有价证券的年息票利率。Is the security's annual coupon rate.

par
number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是有价证券的票面价值。Is the security's par value.

frequency
number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

为每年的票息付款次数。Is the number of coupon payments per year.

basis
number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是要使用的日计数基准类型。Is the type of day count basis to use.

calcMethod
number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是逻辑值: 从签发日期中应计利息 = TRUE 或被省略;从最后一票息付款日期计算的值 = FALSE。Is a logical value: to accrued interest from issue date = TRUE or omitted; to calculate from last coupon payment date = FALSE.

返回

FunctionResult<number>

accrIntM(issue, settlement, rate, par, basis)

返回到期一次性付息有价证券的应计利息。Returns the accrued interest for a security that pays interest at maturity.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

accrIntM(issue: number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, settlement: number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, rate: number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, par: number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, basis?: number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<number>;

参数

issue
number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是债券的发行日, 表示为一串日期号。Is the security's issue date, expressed as a serial date number.

settlement
number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

为有价证券的到期日, 表示为一串日期号。Is the security's maturity date, expressed as a serial date number.

rate
number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

为有价证券的年息票利率。Is the security's annual coupon rate.

par
number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是有价证券的票面价值。Is the security's par value.

basis
number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是要使用的日计数基准类型。Is the type of day count basis to use.

返回

FunctionResult<number>

acos(number)

返回一个数的反余弦值, 以弧度为单位, 范围为0到 Pi。Returns the arccosine of a number, in radians in the range 0 to Pi. 反余弦值是其余弦值为数字的角度。The arccosine is the angle whose cosine is Number.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

acos(number: number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<number>;

参数

number
number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是所需角度的余弦值, 必须介于-1 到1之间。Is the cosine of the angle you want and must be from -1 to 1.

返回

FunctionResult<number>

acosh(number)

返回数字的反双曲余弦值。Returns the inverse hyperbolic cosine of a number.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

acosh(number: number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<number>;

参数

number
number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

为等于或大于1的任何实数。Is any real number equal to or greater than 1.

返回

FunctionResult<number>

acot(number)

返回一个数字的 arccotangent, 以弧度为单位, 范围为0到 Pi。Returns the arccotangent of a number, in radians in the range 0 to Pi.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

acot(number: number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<number>;

参数

number
number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是所需角度的余切。Is the cotangent of the angle you want.

返回

FunctionResult<number>

acoth(number)

返回一个数的反双曲余切。Returns the inverse hyperbolic cotangent of a number.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

acoth(number: number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<number>;

参数

number
number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是所需角度的双曲余切。Is the hyperbolic cotangent of the angle that you want.

返回

FunctionResult<number>

amorDegrc(cost, datePurchased, firstPeriod, salvage, period, rate, basis)

返回每个记帐期的资产的按比例线性折旧。Returns the prorated linear depreciation of an asset for each accounting period.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

amorDegrc(cost: number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, datePurchased: number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, firstPeriod: number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, salvage: number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, period: number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, rate: number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, basis?: number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<number>;

参数

cost
number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是资产的成本。Is the cost of the asset.

datePurchased
number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是购买资产的日期。Is the date the asset is purchased.

firstPeriod
number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

为第一个周期的结束日期。Is the date of the end of the first period.

salvage
number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是资产在生命周期结束时的残值。Is the salvage value at the end of life of the asset.

period
number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

为句点。Is the period.

rate
number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

为折旧率。Is the rate of depreciation.

basis
number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

年_基数: 0 表示年的360天, 1 表示实际值, 3 表示365天的年。Year_basis : 0 for year of 360 days, 1 for actual, 3 for year of 365 days.

返回

FunctionResult<number>

amorLinc(cost, datePurchased, firstPeriod, salvage, period, rate, basis)

返回每个记帐期的资产的按比例线性折旧。Returns the prorated linear depreciation of an asset for each accounting period.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

amorLinc(cost: number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, datePurchased: number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, firstPeriod: number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, salvage: number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, period: number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, rate: number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, basis?: number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<number>;

参数

cost
number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是资产的成本。Is the cost of the asset.

datePurchased
number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是购买资产的日期。Is the date the asset is purchased.

firstPeriod
number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

为第一个周期的结束日期。Is the date of the end of the first period.

salvage
number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是资产在生命周期结束时的残值。Is the salvage value at the end of life of the asset.

period
number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

为句点。Is the period.

rate
number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

为折旧率。Is the rate of depreciation.

basis
number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

年_基数: 0 表示年的360天, 1 表示实际值, 3 表示365天的年。Year_basis : 0 for year of 360 days, 1 for actual, 3 for year of 365 days.

返回

FunctionResult<number>

and(values)

检查所有参数是否均为 true, 如果所有参数均为 true, 则返回 true。Checks whether all arguments are TRUE, and returns TRUE if all arguments are TRUE.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

and(...values: Array<boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>>): FunctionResult<boolean>;

参数

values
Array<boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>>

参数列表, 其中的元素是要测试的1到255条件, 可以是 TRUE 或 FALSE, 也可以是逻辑值、数组或引用。List of parameters, whose elements are 1 to 255 conditions you want to test that can be either TRUE or FALSE and can be logical values, arrays, or references.

返回

FunctionResult<boolean>

arabic(text)

将罗马数字转换为阿拉伯语。Converts a Roman numeral to Arabic.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

arabic(text: string | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<number>;

参数

text
string | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是要转换的罗马数字。Is the Roman numeral you want to convert.

返回

FunctionResult<number>

areas(reference)

返回引用中的区域数。Returns the number of areas in a reference. 区域是连续的单元格区域或单个单元格。An area is a range of contiguous cells or a single cell.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

areas(reference: Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<number>;

参数

reference
Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是对一个单元格或单元格区域的引用, 可以引用多个区域。Is a reference to a cell or range of cells and can refer to multiple areas.

返回

FunctionResult<number>

asc(text)

将全角 (双字节) 字符更改为半角 (单字节) 字符。Changes full-width (double-byte) characters to half-width (single-byte) characters. 与双字节字符集 (DBCS) 一起使用。Use with double-byte character sets (DBCS).

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

asc(text: string | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<string>;

参数

text
string | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是文本, 也可以是对包含文本的单元格的引用。Is a text, or a reference to a cell containing a text.

返回

FunctionResult<string>

asin(number)

返回以弧度表示的数字的反正弦值, 其范围为-pi/2 至 Pi/2。Returns the arcsine of a number in radians, in the range -Pi/2 to Pi/2.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

asin(number: number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<number>;

参数

number
number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是所需角度的正弦值, 必须介于-1 到1之间。Is the sine of the angle you want and must be from -1 to 1.

返回

FunctionResult<number>

asinh(number)

返回数字的反双曲正弦值。Returns the inverse hyperbolic sine of a number.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

asinh(number: number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<number>;

参数

number
number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

为等于或大于1的任何实数。Is any real number equal to or greater than 1.

返回

FunctionResult<number>

atan(number)

返回以弧度表示的数字的反正切值, 范围-Pi/2 到 Pi/2。Returns the arctangent of a number in radians, in the range -Pi/2 to Pi/2.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

atan(number: number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<number>;

参数

number
number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是所需角度的正切值。Is the tangent of the angle you want.

返回

FunctionResult<number>

atan2(xNum, yNum)

返回指定的 x 和 y 坐标的反正切值, 单位为-pi 和 Pi 之间的弧度 (不含-pi)。Returns the arctangent of the specified x- and y- coordinates, in radians between -Pi and Pi, excluding -Pi.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

atan2(xNum: number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, yNum: number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<number>;

参数

xNum
number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是点的 x 坐标。Is the x-coordinate of the point.

yNum
number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是点的 y 坐标。Is the y-coordinate of the point.

返回

FunctionResult<number>

atanh(number)

返回数字的反双曲正切值。Returns the inverse hyperbolic tangent of a number.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

atanh(number: number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<number>;

参数

number
number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是介于-1 和1之间的任何实数 (不包括-1 和 1)。Is any real number between -1 and 1 excluding -1 and 1.

返回

FunctionResult<number>

aveDev(values)

返回多个数据点与其平均值的绝对偏差的平均值。Returns the average of the absolute deviations of data points from their mean. 参数可以是数字, 也可以是包含数字的名称、数组或引用。Arguments can be numbers or names, arrays, or references that contain numbers.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

aveDev(...values: Array<number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>>): FunctionResult<number>;

参数

values
Array<number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>>

参数列表, 其元素为1到255要计算其绝对偏差平均值的参数。List of parameters, whose elements are 1 to 255 arguments for which you want the average of the absolute deviations.

返回

FunctionResult<number>

average(values)

返回其参数的平均值 (算术平均值), 它可以是数字, 也可以是包含数字的名称、数组或引用。Returns the average (arithmetic mean) of its arguments, which can be numbers or names, arrays, or references that contain numbers.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

average(...values: Array<number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>>): FunctionResult<number>;

参数

values
Array<number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>>

参数列表, 其元素为要计算其平均值的1到255个数值参数。List of parameters, whose elements are 1 to 255 numeric arguments for which you want the average.

返回

FunctionResult<number>

averageA(values)

返回其参数的平均值 (算术平均值), 将参数中的 text 和 FALSE 计算为 0;TRUE 的计算结果为1。Returns the average (arithmetic mean) of its arguments, evaluating text and FALSE in arguments as 0; TRUE evaluates as 1. 参数可以是数字、名称、数组或引用。Arguments can be numbers, names, arrays, or references.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

averageA(...values: Array<number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>>): FunctionResult<number>;

参数

values
Array<number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>>

参数列表, 其元素为要计算其平均值的1到255参数。List of parameters, whose elements are 1 to 255 arguments for which you want the average.

返回

FunctionResult<number>

averageIf(range, criteria, averageRange)

查找由给定条件或条件指定的单元格的平均值 (算术平均值)。Finds average(arithmetic mean) for the cells specified by a given condition or criteria.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

averageIf(range: Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, criteria: number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, averageRange?: Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<number>;

参数

range
Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是要计算的单元格区域。Is the range of cells you want evaluated.

criteria
number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是数字、表达式或文本形式的条件, 用于定义将用于计算平均值的单元格。Is the condition or criteria in the form of a number, expression, or text that defines which cells will be used to find the average.

averageRange
Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是用于计算平均值的实际单元格。Are the actual cells to be used to find the average. 如果省略, 则使用区域中的单元格。If omitted, the cells in range are used.

返回

FunctionResult<number>

averageIfs(averageRange, values)

查找由一组给定条件或条件指定的单元格的平均值 (算术平均值)。Finds average(arithmetic mean) for the cells specified by a given set of conditions or criteria.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

averageIfs(averageRange: Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, ...values: Array<Excel.Range | Excel.RangeReference | Excel.FunctionResult<any> | number | string | boolean>): FunctionResult<number>;

参数

averageRange
Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是用于计算平均值的实际单元格。Are the actual cells to be used to find the average.

values
Array<Excel.Range | Excel.RangeReference | Excel.FunctionResult<any> | number | string | boolean>

参数列表, 其中每个对的第一个元素是要针对特定条件进行计算的单元格区域, 第二个元素是用于定义将使用哪些单元格的数字、表达式或文本形式的条件或条件o 查找平均值。List of parameters, where the first element of each pair is the Is the range of cells you want evaluated for the particular condition , and the second element is is the condition or criteria in the form of a number, expression, or text that defines which cells will be used to find the average.

返回

FunctionResult<number>

bahtText(number)

将数字转换为文本 (泰铢)。Converts a number to text (baht).

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

bahtText(number: number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<string>;

参数

number
number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是要转换的数字。Is a number that you want to convert.

返回

FunctionResult<string>

base(number, radix, minLength)

将数字转换为具有给定基数 (base) 的文本表示形式。Converts a number into a text representation with the given radix (base).

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

base(number: number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, radix: number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, minLength?: number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<string>;

参数

number
number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是要转换的数字。Is the number that you want to convert.

radix
number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是要将数字转换成的基本基数。Is the base Radix that you want to convert the number into.

minLength
number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是返回的字符串的最小长度。Is the minimum length of the returned string. 如果省略, 则不添加前导零。If omitted leading zeros are not added.

返回

FunctionResult<string>

besselI(x, n)

返回修正的贝赛耳函数 In (x)。Returns the modified Bessel function In(x).

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

besselI(x: number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, n: number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<number>;

参数

x
number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是要在其中计算函数的值。Is the value at which to evaluate the function.

n
number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是贝赛耳函数的顺序。Is the order of the Bessel function.

返回

FunctionResult<number>

besselJ(x, n)

返回贝赛耳函数 Jn (x)。Returns the Bessel function Jn(x).

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

besselJ(x: number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, n: number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<number>;

参数

x
number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是要在其中计算函数的值。Is the value at which to evaluate the function.

n
number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是贝赛耳函数的顺序。Is the order of the Bessel function.

返回

FunctionResult<number>

besselK(x, n)

返回已修改的贝赛耳函数 Kn (x)。Returns the modified Bessel function Kn(x).

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

besselK(x: number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, n: number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<number>;

参数

x
number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是要在其中计算函数的值。Is the value at which to evaluate the function.

n
number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是函数的顺序。Is the order of the function.

返回

FunctionResult<number>

besselY(x, n)

返回贝赛耳函数 Yn (x)。Returns the Bessel function Yn(x).

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

besselY(x: number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, n: number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<number>;

参数

x
number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是要在其中计算函数的值。Is the value at which to evaluate the function.

n
number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是函数的顺序。Is the order of the function.

返回

FunctionResult<number>

beta_Dist(x, alpha, beta, cumulative, A, B)

返回 beta 概率分布函数。Returns the beta probability distribution function.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

beta_Dist(x: number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, alpha: number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, beta: number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, cumulative: boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, A?: number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, B?: number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<number>;

参数

x
number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是介于 A 和 B 之间的值, 用于计算函数。Is the value between A and B at which to evaluate the function.

alpha
number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是分布的参数, 必须大于0。Is a parameter to the distribution and must be greater than 0.

beta
number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是分布的参数, 必须大于0。Is a parameter to the distribution and must be greater than 0.

cumulative
boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是逻辑值: 对于累积的分布函数, 使用 TRUE;对于 "概率密度" 函数, 使用 FALSE。Is a logical value: for the cumulative distribution function, use TRUE; for the probability density function, use FALSE.

A
number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是 x 所属区间的可选下界。Is an optional lower bound to the interval of x. 如果省略, 则为0。If omitted, A = 0.

B
number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是 x 所属区间的可选上界。Is an optional upper bound to the interval of x. 如果省略, 则 B = 1。If omitted, B = 1.

返回

FunctionResult<number>

beta_Inv(probability, alpha, beta, A, B)

返回累积 beta 分布的概率密度函数的反函数 (beta。DIST)。Returns the inverse of the cumulative beta probability density function (BETA.DIST).

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

beta_Inv(probability: number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, alpha: number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, beta: number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, A?: number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, B?: number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<number>;

参数

probability
number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是与 beta 分布相关的概率。Is a probability associated with the beta distribution.

alpha
number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是分布的参数, 必须大于0。Is a parameter to the distribution and must be greater than 0.

beta
number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是分布的参数, 必须大于0。Is a parameter to the distribution and must be greater than 0.

A
number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是 x 所属区间的可选下界。Is an optional lower bound to the interval of x. 如果省略, 则为0。If omitted, A = 0.

B
number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是 x 所属区间的可选上界。Is an optional upper bound to the interval of x. 如果省略, 则 B = 1。If omitted, B = 1.

返回

FunctionResult<number>

bin2Dec(number)

将二进制数转换为十进制数。Converts a binary number to decimal.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

bin2Dec(number: number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<number>;

参数

number
number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是要转换的二进制数。Is the binary number you want to convert.

返回

FunctionResult<number>

bin2Hex(number, places)

将二进制数转换为十六进制数。Converts a binary number to hexadecimal.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

bin2Hex(number: number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, places?: number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<number>;

参数

number
number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是要转换的二进制数。Is the binary number you want to convert.

places
number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是要使用的字符数。Is the number of characters to use.

返回

FunctionResult<number>

bin2Oct(number, places)

将二进制数转换为八进制数。Converts a binary number to octal.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

bin2Oct(number: number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, places?: number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<number>;

参数

number
number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是要转换的二进制数。Is the binary number you want to convert.

places
number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是要使用的字符数。Is the number of characters to use.

返回

FunctionResult<number>

binom_Dist_Range(trials, probabilityS, numberS, numberS2)

返回使用二项式分布的试验结果的概率。Returns the probability of a trial result using a binomial distribution.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

binom_Dist_Range(trials: number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, probabilityS: number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, numberS: number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, numberS2?: number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<number>;

参数

trials
number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是独立试用的次数。Is the number of independent trials.

probabilityS
number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是每次试验成功的概率。Is the probability of success on each trial.

numberS
number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是实验中成功的次数。Is the number of successes in trials.

numberS2
number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

如果提供此函数, 则返回成功实验的次数应介于数字和 numberS2 之间的概率。If provided this function returns the probability that the number of successful trials shall lie between numberS and numberS2.

返回

FunctionResult<number>

binom_Dist(numberS, trials, probabilityS, cumulative)

返回一元二项式分布的概率。Returns the individual term binomial distribution probability.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

binom_Dist(numberS: number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, trials: number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, probabilityS: number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, cumulative: boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<number>;

参数

numberS
number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是实验中成功的次数。Is the number of successes in trials.

trials
number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是独立试用的次数。Is the number of independent trials.

probabilityS
number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是每次试验成功的概率。Is the probability of success on each trial.

cumulative
boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是逻辑值: 对于累积的分布函数, 使用 TRUE;对于 "概率密度" 函数, 使用 FALSE。Is a logical value: for the cumulative distribution function, use TRUE; for the probability mass function, use FALSE.

返回

FunctionResult<number>

binom_Inv(trials, probabilityS, alpha)

返回使累积二项式分布大于或等于临界值的最小值。Returns the smallest value for which the cumulative binomial distribution is greater than or equal to a criterion value.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

binom_Inv(trials: number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, probabilityS: number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, alpha: number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<number>;

参数

trials
number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是贝努利试验次数。Is the number of Bernoulli trials.

probabilityS
number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是每次试验成功的概率, 是介于0和1之间的数字 (含0和 1)。Is the probability of success on each trial, a number between 0 and 1 inclusive.

alpha
number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是条件值, 为0到1之间的数字, 含0和1。Is the criterion value, a number between 0 and 1 inclusive.

返回

FunctionResult<number>

bitand(number1, number2)

返回两个数字的按位 "and"。Returns a bitwise 'And' of two numbers.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

bitand(number1: number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, number2: number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<number>;

参数

number1
number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是要计算的二进制数的十进制表示形式。Is the decimal representation of the binary number you want to evaluate.

number2
number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是要计算的二进制数的十进制表示形式。Is the decimal representation of the binary number you want to evaluate.

返回

FunctionResult<number>

bitlshift(number, shiftAmount)

返回按移位_量位左移的数字。Returns a number shifted left by shift_amount bits.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

bitlshift(number: number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, shiftAmount: number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<number>;

参数

number
number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是要计算的二进制数的十进制表示形式。Is the decimal representation of the binary number you want to evaluate.

shiftAmount
number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是要将数字左移的位数。Is the number of bits that you want to shift Number left by.

返回

FunctionResult<number>

bitor(number1, number2)

返回两个数字的按位 "or"。Returns a bitwise 'Or' of two numbers.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

bitor(number1: number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, number2: number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<number>;

参数

number1
number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是要计算的二进制数的十进制表示形式。Is the decimal representation of the binary number you want to evaluate.

number2
number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是要计算的二进制数的十进制表示形式。Is the decimal representation of the binary number you want to evaluate.

返回

FunctionResult<number>

bitrshift(number, shiftAmount)

返回按移位_量位右移的数字。Returns a number shifted right by shift_amount bits.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

bitrshift(number: number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, shiftAmount: number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<number>;

参数

number
number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是要计算的二进制数的十进制表示形式。Is the decimal representation of the binary number you want to evaluate.

shiftAmount
number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是要向右移动数字的位数。Is the number of bits that you want to shift Number right by.

返回

FunctionResult<number>

bitxor(number1, number2)

返回两个数字的按位 "异或"。Returns a bitwise 'Exclusive Or' of two numbers.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

bitxor(number1: number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, number2: number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<number>;

参数

number1
number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是要计算的二进制数的十进制表示形式。Is the decimal representation of the binary number you want to evaluate.

number2
number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是要计算的二进制数的十进制表示形式。Is the decimal representation of the binary number you want to evaluate.

返回

FunctionResult<number>

ceiling_Math(number, significance, mode)

将数字向上舍入到最接近的整数或最接近的重要性的倍数。Rounds a number up, to the nearest integer or to the nearest multiple of significance.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

ceiling_Math(number: number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, significance?: number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, mode?: number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<number>;

参数

number
number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

为要舍入的值。Is the value you want to round.

significance
number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是要舍入到的倍数。Is the multiple to which you want to round.

mode
number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

如果给定和非零, 此函数将从零开始舍入。When given and nonzero this function will round away from zero.

返回

FunctionResult<number>

ceiling_Precise(number, significance)

将数字向上舍入到最接近的整数或最接近的重要性的倍数。Rounds a number up, to the nearest integer or to the nearest multiple of significance.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

ceiling_Precise(number: number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, significance?: number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<number>;

参数

number
number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

为要舍入的值。Is the value you want to round.

significance
number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是要舍入到的倍数。Is the multiple to which you want to round.

返回

FunctionResult<number>

char(number)

返回由您的计算机的字符集中的代码编号指定的字符。Returns the character specified by the code number from the character set for your computer.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

char(number: number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<string>;

参数

number
number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是一个介于1和255之间的数字, 用于指定所需的字符。Is a number between 1 and 255 specifying which character you want.

返回

FunctionResult<string>

chiSq_Dist_RT(x, degFreedom)

返回 χ2 分布的右尾概率。Returns the right-tailed probability of the chi-squared distribution.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

chiSq_Dist_RT(x: number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, degFreedom: number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<number>;

参数

x
number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

为要计算其分布的值, 非负数值。Is the value at which you want to evaluate the distribution, a nonnegative number.

degFreedom
number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

为自由度数, 介于1到 10 ^ 10 之间, 不含 10 ^ 10 个数字。Is the number of degrees of freedom, a number between 1 and 10^10, excluding 10^10.

返回

FunctionResult<number>

chiSq_Dist(x, degFreedom, cumulative)

返回χ2分布的左尾概率。Returns the left-tailed probability of the chi-squared distribution.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

chiSq_Dist(x: number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, degFreedom: number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, cumulative: boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<number>;

参数

x
number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

为要计算其分布的值, 非负数值。Is the value at which you want to evaluate the distribution, a nonnegative number.

degFreedom
number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

为自由度数, 介于1到 10 ^ 10 之间, 不含 10 ^ 10 个数字。Is the number of degrees of freedom, a number between 1 and 10^10, excluding 10^10.

cumulative
boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是要返回的函数的逻辑值: 累积分布函数 = TRUE;概率密度函数 = FALSE。Is a logical value for the function to return: the cumulative distribution function = TRUE; the probability density function = FALSE.

返回

FunctionResult<number>

chiSq_Inv_RT(probability, degFreedom)

返回 χ2 分布的右尾概率的反函数。Returns the inverse of the right-tailed probability of the chi-squared distribution.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

chiSq_Inv_RT(probability: number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, degFreedom: number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<number>;

参数

probability
number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是与χ2分布相关的概率, 值介于0和1之间 (含0和 1)。Is a probability associated with the chi-squared distribution, a value between 0 and 1 inclusive.

degFreedom
number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

为自由度数, 介于1到 10 ^ 10 之间, 不含 10 ^ 10 个数字。Is the number of degrees of freedom, a number between 1 and 10^10, excluding 10^10.

返回

FunctionResult<number>

chiSq_Inv(probability, degFreedom)

返回 χ2 分布的左尾概率的反函数。Returns the inverse of the left-tailed probability of the chi-squared distribution.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

chiSq_Inv(probability: number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, degFreedom: number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<number>;

参数

probability
number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是与χ2分布相关的概率, 值介于0和1之间 (含0和 1)。Is a probability associated with the chi-squared distribution, a value between 0 and 1 inclusive.

degFreedom
number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

为自由度数, 介于1到 10 ^ 10 之间, 不含 10 ^ 10 个数字。Is the number of degrees of freedom, a number between 1 and 10^10, excluding 10^10.

返回

FunctionResult<number>

choose(indexNum, values)

根据索引号从值列表中选择要执行的值或操作。Chooses a value or action to perform from a list of values, based on an index number.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

choose(indexNum: number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, ...values: Array<Excel.Range | number | string | boolean | Excel.RangeReference | Excel.FunctionResult<any>>): FunctionResult<number | string | boolean>;

参数

indexNum
number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

指定所选定的值参数。Specifies which value argument is selected. indexNum 必须介于1和254之间, 或者是一个公式或对1到254之间的数字的引用。indexNum must be between 1 and 254, or a formula or a reference to a number between 1 and 254.

values
Array<Excel.Range | number | string | boolean | Excel.RangeReference | Excel.FunctionResult<any>>

参数列表, 其元素为1到254数字、单元格引用、定义的名称、公式、函数或文本参数, 可从中选择 "选择"。List of parameters, whose elements are 1 to 254 numbers, cell references, defined names, formulas, functions, or text arguments from which CHOOSE selects.

返回

FunctionResult<number | string | boolean>

clean(text)

删除文本中的所有非打印字符。Removes all nonprintable characters from text.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

clean(text: string | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<string>;

参数

text
string | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是要从中删除非打印字符的任何工作表信息。Is any worksheet information from which you want to remove nonprintable characters.

返回

FunctionResult<string>

code(text)

返回文本字符串中的第一个字符在计算机使用的字符集中的数字代码。Returns a numeric code for the first character in a text string, in the character set used by your computer.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

code(text: string | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<number>;

参数

text
string | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是要为其第一个字符的代码的文本。Is the text for which you want the code of the first character.

返回

FunctionResult<number>

columns(array)

返回数组或引用中的列数。Returns the number of columns in an array or reference.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

columns(array: Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<number>;

参数

array
Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是数组或数组公式, 或者是对要计算其列数的单元格区域的引用。Is an array or array formula, or a reference to a range of cells for which you want the number of columns.

返回

FunctionResult<number>

combin(number, numberChosen)

返回从给定的项目数中提取若干项目的组合数。Returns the number of combinations for a given number of items.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

combin(number: number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, numberChosen: number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<number>;

参数

number
number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是总项目数。Is the total number of items.

numberChosen
number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是每个组合中的项目数。Is the number of items in each combination.

返回

FunctionResult<number>

combina(number, numberChosen)

返回给定数目的项目的组合次数 (以重复)。Returns the number of combinations with repetitions for a given number of items.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

combina(number: number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, numberChosen: number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<number>;

参数

number
number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是总项目数。Is the total number of items.

numberChosen
number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是每个组合中的项目数。Is the number of items in each combination.

返回

FunctionResult<number>

complex(realNum, iNum, suffix)

将实系数和虚系数转换为复数。Converts real and imaginary coefficients into a complex number.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

complex(realNum: number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, iNum: number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, suffix?: number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<number>;

参数

realNum
number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是复数的实系数。Is the real coefficient of the complex number.

iNum
number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是复数的虚系数。Is the imaginary coefficient of the complex number.

suffix
number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是复数虚部的后缀。Is the suffix for the imaginary component of the complex number.

返回

FunctionResult<number>

concatenate(values)

将多个文本字符串联接为一个文本字符串。Joins several text strings into one text string.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

concatenate(...values: Array<string | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>>): FunctionResult<string>;

参数

values
Array<string | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>>

参数列表, 其元素为1到255文本字符串要联接到一个文本字符串中, 可以是文本字符串、数字或单个单元格引用。List of parameters, whose elements are 1 to 255 text strings to be joined into a single text string and can be text strings, numbers, or single-cell references.

返回

FunctionResult<string>

confidence_Norm(alpha, standardDev, size)

使用正态分布返回总体平均值的置信区间。Returns the confidence interval for a population mean, using a normal distribution.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

confidence_Norm(alpha: number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, standardDev: number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, size: number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<number>;

参数

alpha
number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是用于计算置信度的重要性级别, 为大于0且小于1的数字。Is the significance level used to compute the confidence level, a number greater than 0 and less than 1.

standardDev
number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是数据区域的总体标准偏差, 假定为已知。Is the population standard deviation for the data range and is assumed to be known. standardDev 必须大于0。standardDev must be greater than 0.

size
number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是样本大小。Is the sample size.

返回

FunctionResult<number>

confidence_T(alpha, standardDev, size)

使用学生的 T 分布返回总体平均值的置信区间。Returns the confidence interval for a population mean, using a Student's T distribution.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

confidence_T(alpha: number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, standardDev: number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, size: number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<number>;

参数

alpha
number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是用于计算置信度的重要性级别, 为大于0且小于1的数字。Is the significance level used to compute the confidence level, a number greater than 0 and less than 1.

standardDev
number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是数据区域的总体标准偏差, 假定为已知。Is the population standard deviation for the data range and is assumed to be known. standardDev 必须大于0。standardDev must be greater than 0.

size
number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是样本大小。Is the sample size.

返回

FunctionResult<number>

convert(number, fromUnit, toUnit)

将数字从一个度量系统转换为另一个度量系统。Converts a number from one measurement system to another.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

convert(number: number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, fromUnit: number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, toUnit: number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<number>;

参数

number
number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是要转换的 from_单位中的值。Is the value in from_units to convert.

fromUnit
number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是数字的单位。Is the units for number.

toUnit
number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是结果的单位。Is the units for the result.

返回

FunctionResult<number>

cos(number)

返回角度的余弦值。Returns the cosine of an angle.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

cos(number: number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<number>;

参数

number
number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

为需要进行余弦的角度 (以弧度为单位)。Is the angle in radians for which you want the cosine.

返回

FunctionResult<number>

cosh(number)

返回数字的双曲余弦值。Returns the hyperbolic cosine of a number.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

cosh(number: number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<number>;

参数

number
number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

为任意实数。Is any real number.

返回

FunctionResult<number>

cot(number)

返回一个角度的余切。Returns the cotangent of an angle.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

cot(number: number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<number>;

参数

number
number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

为需要其余切的角度 (以弧度为单位)。Is the angle in radians for which you want the cotangent.

返回

FunctionResult<number>

coth(number)

返回某一数字的双曲余切。Returns the hyperbolic cotangent of a number.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

coth(number: number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<number>;

参数

number
number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

为需要进行双曲余切的角度 (以弧度为单位)。Is the angle in radians for which you want the hyperbolic cotangent.

返回

FunctionResult<number>

count(values)

计算区域中包含数字的单元格的数目。Counts the number of cells in a range that contain numbers.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

count(...values: Array<number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>>): FunctionResult<number>;

参数

values
Array<number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>>

参数列表, 其元素为1到255参数, 可以包含或引用各种不同类型的数据, 但只计算数字。List of parameters, whose elements are 1 to 255 arguments that can contain or refer to a variety of different types of data, but only numbers are counted.

返回

FunctionResult<number>

countA(values)

计算区域中非空的单元格的数目。Counts the number of cells in a range that are not empty.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

countA(...values: Array<number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>>): FunctionResult<number>;

参数

values
Array<number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>>

参数列表, 其元素为1到255个参数, 这些参数代表要计数的值和单元格。List of parameters, whose elements are 1 to 255 arguments representing the values and cells you want to count. 值可以是任何类型的信息。Values can be any type of information.

返回

FunctionResult<number>

countBlank(range)

计算指定单元格区域中的空单元格的数目。Counts the number of empty cells in a specified range of cells.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

countBlank(range: Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<number>;

参数

range
Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是要从中计算空单元格个数的区域。Is the range from which you want to count the empty cells.

返回

FunctionResult<number>

countIf(range, criteria)

计算区域中满足给定条件的单元格的数量。Counts the number of cells within a range that meet the given condition.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

countIf(range: Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, criteria: number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<number>;

参数

range
Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是要计算非空单元格个数的单元格区域。Is the range of cells from which you want to count nonblank cells.

criteria
number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是数字、表达式或文本形式的条件, 用于定义将计算的单元格。Is the condition in the form of a number, expression, or text that defines which cells will be counted.

返回

FunctionResult<number>

countIfs(values)

计算由一组给定条件或条件指定的单元格的数目。Counts the number of cells specified by a given set of conditions or criteria.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

countIfs(...values: Array<Excel.Range | Excel.RangeReference | Excel.FunctionResult<any> | number | string | boolean>): FunctionResult<number>;

参数

values
Array<Excel.Range | Excel.RangeReference | Excel.FunctionResult<any> | number | string | boolean>

参数列表, 其中每个对的第一个元素是要针对特定条件进行计算的单元格区域, 第二个元素是用于定义将计算哪些单元格的数字、表达式或文本形式的条件。List of parameters, where the first element of each pair is the Is the range of cells you want evaluated for the particular condition , and the second element is is the condition in the form of a number, expression, or text that defines which cells will be counted.

返回

FunctionResult<number>

coupDayBs(settlement, maturity, frequency, basis)

返回从息票期开始到结算日的天数。Returns the number of days from the beginning of the coupon period to the settlement date.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

coupDayBs(settlement: number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, maturity: number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, frequency: number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, basis?: number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<number>;

参数

settlement
number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是债券的结算日, 以一串日期表示。Is the security's settlement date, expressed as a serial date number.

maturity
number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

为有价证券的到期日, 表示为一串日期号。Is the security's maturity date, expressed as a serial date number.

frequency
number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

为每年的票息付款次数。Is the number of coupon payments per year.

basis
number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是要使用的日计数基准类型。Is the type of day count basis to use.

返回

FunctionResult<number>

coupDays(settlement, maturity, frequency, basis)

返回结算日所在的息票期的天数。Returns the number of days in the coupon period that contains the settlement date.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

coupDays(settlement: number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, maturity: number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, frequency: number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, basis?: number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<number>;

参数

settlement
number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是债券的结算日, 以一串日期表示。Is the security's settlement date, expressed as a serial date number.

maturity
number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

为有价证券的到期日, 表示为一串日期号。Is the security's maturity date, expressed as a serial date number.

frequency
number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

为每年的票息付款次数。Is the number of coupon payments per year.

basis
number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是要使用的日计数基准类型。Is the type of day count basis to use.

返回

FunctionResult<number>

coupDaysNc(settlement, maturity, frequency, basis)

返回从结算日到下一个息票日之间的天数。Returns the number of days from the settlement date to the next coupon date.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

coupDaysNc(settlement: number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, maturity: number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, frequency: number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, basis?: number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<number>;

参数

settlement
number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是债券的结算日, 以一串日期表示。Is the security's settlement date, expressed as a serial date number.

maturity
number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

为有价证券的到期日, 表示为一串日期号。Is the security's maturity date, expressed as a serial date number.

frequency
number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

为每年的票息付款次数。Is the number of coupon payments per year.

basis
number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是要使用的日计数基准类型。Is the type of day count basis to use.

返回

FunctionResult<number>

coupNcd(settlement, maturity, frequency, basis)

返回成交日之后的下一个付息日。Returns the next coupon date after the settlement date.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

coupNcd(settlement: number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, maturity: number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, frequency: number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, basis?: number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<number>;

参数

settlement
number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是债券的结算日, 以一串日期表示。Is the security's settlement date, expressed as a serial date number.

maturity
number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

为有价证券的到期日, 表示为一串日期号。Is the security's maturity date, expressed as a serial date number.

frequency
number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

为每年的票息付款次数。Is the number of coupon payments per year.

basis
number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是要使用的日计数基准类型。Is the type of day count basis to use.

返回

FunctionResult<number>

coupNum(settlement, maturity, frequency, basis)

返回成交日和到期日之间的应付款息数。Returns the number of coupons payable between the settlement date and maturity date.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

coupNum(settlement: number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, maturity: number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, frequency: number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, basis?: number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<number>;

参数

settlement
number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是债券的结算日, 以一串日期表示。Is the security's settlement date, expressed as a serial date number.

maturity
number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

为有价证券的到期日, 表示为一串日期号。Is the security's maturity date, expressed as a serial date number.

frequency
number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

为每年的票息付款次数。Is the number of coupon payments per year.

basis
number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是要使用的日计数基准类型。Is the type of day count basis to use.

返回

FunctionResult<number>

coupPcd(settlement, maturity, frequency, basis)

返回成交日之前的上一个付息日。Returns the previous coupon date before the settlement date.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

coupPcd(settlement: number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, maturity: number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, frequency: number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, basis?: number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<number>;

参数

settlement
number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是债券的结算日, 以一串日期表示。Is the security's settlement date, expressed as a serial date number.

maturity
number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

为有价证券的到期日, 表示为一串日期号。Is the security's maturity date, expressed as a serial date number.

frequency
number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

为每年的票息付款次数。Is the number of coupon payments per year.

basis
number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是要使用的日计数基准类型。Is the type of day count basis to use.

返回

FunctionResult<number>

csc(number)

返回一个角度的余割。Returns the cosecant of an angle.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

csc(number: number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<number>;

参数

number
number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

为需要其余割的角 (以弧度为单位)。Is the angle in radians for which you want the cosecant.

返回

FunctionResult<number>

csch(number)

返回角度的双曲余割。Returns the hyperbolic cosecant of an angle.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

csch(number: number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<number>;

参数

number
number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

为需要求其双曲余割的角 (以弧度为单位)。Is the angle in radians for which you want the hyperbolic cosecant.

返回

FunctionResult<number>

cumIPmt(rate, nper, pv, startPeriod, endPeriod, type)

返回两个时段之间支付的累积利息。Returns the cumulative interest paid between two periods.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

cumIPmt(rate: number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, nper: number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, pv: number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, startPeriod: number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, endPeriod: number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, type: number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<number>;

参数

rate
number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

为利率。Is the interest rate.

nper
number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是总付款期数。Is the total number of payment periods.

pv
number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

为现值。Is the present value.

startPeriod
number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是计算中的第一个期间。Is the first period in the calculation.

endPeriod
number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是计算中的最后一个期间。Is the last period in the calculation.

type
number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是付款的时间。Is the timing of the payment.

返回

FunctionResult<number>

cumPrinc(rate, nper, pv, startPeriod, endPeriod, type)

返回两个时段之间贷款累积支付的本金。Returns the cumulative principal paid on a loan between two periods.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

cumPrinc(rate: number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, nper: number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, pv: number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, startPeriod: number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, endPeriod: number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, type: number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<number>;

参数

rate
number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

为利率。Is the interest rate.

nper
number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是总付款期数。Is the total number of payment periods.

pv
number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

为现值。Is the present value.

startPeriod
number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是计算中的第一个期间。Is the first period in the calculation.

endPeriod
number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是计算中的最后一个期间。Is the last period in the calculation.

type
number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是付款的时间。Is the timing of the payment.

返回

FunctionResult<number>

date(year, month, day)

返回表示 Microsoft Excel 日期时间代码中的日期的数字。Returns the number that represents the date in Microsoft Excel date-time code.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

date(year: number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, month: number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, day: number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<number>;

参数

year
number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是一个介于1900或1904之间的数字 (取决于工作簿的日期系统) 到9999。Is a number from 1900 or 1904 (depending on the workbook's date system) to 9999.

month
number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

为1到12之间的数字, 表示一年中的某个月。Is a number from 1 to 12 representing the month of the year.

day
number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是一个介于1和31之间的数字, 表示一个月中的某一天。Is a number from 1 to 31 representing the day of the month.

返回

FunctionResult<number>

datevalue(dateText)

将文本格式的日期转换为表示 Microsoft Excel 日期时间代码中的日期的数字。Converts a date in the form of text to a number that represents the date in Microsoft Excel date-time code.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

datevalue(dateText: string | number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<number>;

参数

dateText
string | number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是表示 Microsoft Excel 日期格式的日期的文本, 介于1/1/1900 或1/1/1904 之间 (取决于工作簿的日期系统) 和12/31/9999。Is text that represents a date in a Microsoft Excel date format, between 1/1/1900 or 1/1/1904 (depending on the workbook's date system) and 12/31/9999.

返回

FunctionResult<number>

daverage(database, field, criteria)

计算满足指定条件的列表或数据库的列中的值的平均值。Averages the values in a column in a list or database that match conditions you specify.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

daverage(database: Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, field: number | string | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, criteria: string | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<number>;

参数

database
Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是构成列表或数据库的单元格区域。Is the range of cells that makes up the list or database. 数据库是相关数据的列表。A database is a list of related data.

field
number | string | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

既可以是双引号中的列的标签, 也可以是表示列在列表中的位置的数字。Is either the label of the column in double quotation marks or a number that represents the column's position in the list.

criteria
string | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

为包含指定条件的单元格区域。Is the range of cells that contains the conditions you specify. 该范围包含一个列标签和一个位于标签下方的单元格, 用于条件。The range includes a column label and one cell below the label for a condition.

返回

FunctionResult<number>

day(serialNumber)

返回一个月中的某一天, 为1到31之间的数字。Returns the day of the month, a number from 1 to 31.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

day(serialNumber: number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<number>;

参数

serialNumber
number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是 Microsoft Excel 使用的日期时间代码中的数字。Is a number in the date-time code used by Microsoft Excel.

返回

FunctionResult<number>

days(endDate, startDate)

返回两个日期之间的天数。Returns the number of days between the two dates.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

days(endDate: string | number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, startDate: string | number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<number>;

参数

endDate
string | number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

起始日期和结束日期是您要了解的两个日期之间的天数。startDate and endDate are the two dates between which you want to know the number of days.

startDate
string | number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

起始日期和结束日期是您要了解的两个日期之间的天数。startDate and endDate are the two dates between which you want to know the number of days.

返回

FunctionResult<number>

days360(startDate, endDate, method)

根据360年 (12 30 天) 返回两个日期之间的天数。Returns the number of days between two dates based on a 360-day year (twelve 30-day months).

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

days360(startDate: number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, endDate: number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, method?: boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<number>;

参数

startDate
number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

起始日期和结束日期是您要了解的两个日期之间的天数。startDate and endDate are the two dates between which you want to know the number of days.

endDate
number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

起始日期和结束日期是您要了解的两个日期之间的天数。startDate and endDate are the two dates between which you want to know the number of days.

method
boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是指定计算方法的逻辑值: 美国 (NASD) = FALSE 或被省略;欧洲 = TRUE。Is a logical value specifying the calculation method: U.S. (NASD) = FALSE or omitted; European = TRUE.

返回

FunctionResult<number>

db(cost, salvage, life, period, month)

使用固定余额递减法返回指定周期内某项资产的折旧值。Returns the depreciation of an asset for a specified period using the fixed-declining balance method.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

db(cost: number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, salvage: number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, life: number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, period: number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, month?: number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<number>;

参数

cost
number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是资产的初始成本。Is the initial cost of the asset.

salvage
number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是资产生命周期结束时的残值。Is the salvage value at the end of the life of the asset.

life
number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是资产的折旧期数 (有时称为资产的有用期限)。Is the number of periods over which the asset is being depreciated (sometimes called the useful life of the asset).

period
number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是要计算其折旧的周期。Is the period for which you want to calculate the depreciation. 周期必须使用与生命相同的单位。Period must use the same units as Life.

month
number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

为第一年中的月数。Is the number of months in the first year. 如果省略,则假定为 12。If month is omitted, it is assumed to be 12.

返回

FunctionResult<number>

dbcs(text)

将字符字符串中的半角 (单字节) 字符更改为全角 (双字节) 字符。Changes half-width (single-byte) characters within a character string to full-width (double-byte) characters. 与双字节字符集 (DBCS) 一起使用。Use with double-byte character sets (DBCS).

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

dbcs(text: string | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<string>;

参数

text
string | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是文本, 也可以是对包含文本的单元格的引用。Is a text, or a reference to a cell containing a text.

返回

FunctionResult<string>

dcount(database, field, criteria)

计算数据库中与指定条件匹配的记录的字段 (列) 中包含数字的单元格的个数。Counts the cells containing numbers in the field (column) of records in the database that match the conditions you specify.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

dcount(database: Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, field: number | string | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, criteria: string | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<number>;

参数

database
Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是构成列表或数据库的单元格区域。Is the range of cells that makes up the list or database. 数据库是相关数据的列表。A database is a list of related data.

field
number | string | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

既可以是双引号中的列的标签, 也可以是表示列在列表中的位置的数字。Is either the label of the column in double quotation marks or a number that represents the column's position in the list.

criteria
string | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

为包含指定条件的单元格区域。Is the range of cells that contains the conditions you specify. 该范围包含一个列标签和一个位于标签下方的单元格, 用于条件。The range includes a column label and one cell below the label for a condition.

返回

FunctionResult<number>

dcountA(database, field, criteria)

计算数据库中与您指定的条件相匹配的记录的字段 (列) 中的非空单元格的个数。Counts nonblank cells in the field (column) of records in the database that match the conditions you specify.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

dcountA(database: Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, field: number | string | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, criteria: string | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<number>;

参数

database
Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是构成列表或数据库的单元格区域。Is the range of cells that makes up the list or database. 数据库是相关数据的列表。A database is a list of related data.

field
number | string | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

既可以是双引号中的列的标签, 也可以是表示列在列表中的位置的数字。Is either the label of the column in double quotation marks or a number that represents the column's position in the list.

criteria
string | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

为包含指定条件的单元格区域。Is the range of cells that contains the conditions you specify. 该范围包含一个列标签和一个位于标签下方的单元格, 用于条件。The range includes a column label and one cell below the label for a condition.

返回

FunctionResult<number>

ddb(cost, salvage, life, period, factor)

使用双倍余额递减法或其他指定方法返回某项资产在指定周期内的折旧值。Returns the depreciation of an asset for a specified period using the double-declining balance method or some other method you specify.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

ddb(cost: number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, salvage: number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, life: number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, period: number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, factor?: number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<number>;

参数

cost
number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是资产的初始成本。Is the initial cost of the asset.

salvage
number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是资产生命周期结束时的残值。Is the salvage value at the end of the life of the asset.

life
number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是资产的折旧期数 (有时称为资产的有用期限)。Is the number of periods over which the asset is being depreciated (sometimes called the useful life of the asset).

period
number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是要计算其折旧的周期。Is the period for which you want to calculate the depreciation. 周期必须使用与生命相同的单位。Period must use the same units as Life.

factor
number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

表示余额下降的比率。Is the rate at which the balance declines. 如果省略因子, 则假定其为 2 (双倍余额递减法)。If Factor is omitted, it is assumed to be 2 (the double-declining balance method).

返回

FunctionResult<number>

dec2Bin(number, places)

将十进制数转换为二进制数。Converts a decimal number to binary.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

dec2Bin(number: number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, places?: number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<number>;

参数

number
number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是要转换的十进制整数。Is the decimal integer you want to convert.

places
number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是要使用的字符数。Is the number of characters to use.

返回

FunctionResult<number>

dec2Hex(number, places)

将十进制数转换为十六进制数。Converts a decimal number to hexadecimal.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

dec2Hex(number: number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, places?: number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<number>;

参数

number
number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是要转换的十进制整数。Is the decimal integer you want to convert.

places
number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是要使用的字符数。Is the number of characters to use.

返回

FunctionResult<number>

dec2Oct(number, places)

将十进制数转换为八进制数。Converts a decimal number to octal.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

dec2Oct(number: number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, places?: number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<number>;

参数

number
number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是要转换的十进制整数。Is the decimal integer you want to convert.

places
number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是要使用的字符数。Is the number of characters to use.

返回

FunctionResult<number>

decimal(number, radix)

将给定基数的数字的文本表示形式转换为十进制数。Converts a text representation of a number in a given base into a decimal number.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

decimal(number: string | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, radix: number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<number>;

参数

number
string | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是要转换的数字。Is the number that you want to convert.

radix
number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是要转换的数字的基本基数。Is the base Radix of the number you are converting.

返回

FunctionResult<number>

degrees(angle)

将弧度转换为度。Converts radians to degrees.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

degrees(angle: number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<number>;

参数

angle
number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

为要转换的角度 (以弧度为单位)。Is the angle in radians that you want to convert.

返回

FunctionResult<number>

delta(number1, number2)

测试两个数字是否相等。Tests whether two numbers are equal.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

delta(number1: number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, number2?: number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<number>;

参数

number1
number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

为第一个数字。Is the first number.

number2
number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

为第二个数字。Is the second number.

返回

FunctionResult<number>

devSq(values)

返回数据点与其样本平均值的偏差的平方和。Returns the sum of squares of deviations of data points from their sample mean.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

devSq(...values: Array<number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>>): FunctionResult<number>;

参数

values
Array<number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>>

参数列表, 其元素为1到255参数, 或者是要在其上计算 DEVSQ 的数组或数组引用。List of parameters, whose elements are 1 to 255 arguments, or an array or array reference, on which you want DEVSQ to calculate.

返回

FunctionResult<number>

dget(database, field, criteria)

从数据库中提取与您指定的条件相匹配的单个记录。Extracts from a database a single record that matches the conditions you specify.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

dget(database: Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, field: number | string | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, criteria: string | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<number | boolean | string>;

参数

database
Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是构成列表或数据库的单元格区域。Is the range of cells that makes up the list or database. 数据库是相关数据的列表。A database is a list of related data.

field
number | string | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

既可以是双引号中的列的标签, 也可以是表示列在列表中的位置的数字。Is either the label of the column in double quotation marks or a number that represents the column's position in the list.

criteria
string | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

为包含指定条件的单元格区域。Is the range of cells that contains the conditions you specify. 该范围包含一个列标签和一个位于标签下方的单元格, 用于条件。The range includes a column label and one cell below the label for a condition.

返回

FunctionResult<number | boolean | string>

disc(settlement, maturity, pr, redemption, basis)

返回债券的贴现率。Returns the discount rate for a security.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

disc(settlement: number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, maturity: number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, pr: number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, redemption: number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, basis?: number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<number>;

参数

settlement
number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是债券的结算日, 以一串日期表示。Is the security's settlement date, expressed as a serial date number.

maturity
number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

为有价证券的到期日, 表示为一串日期号。Is the security's maturity date, expressed as a serial date number.

pr
number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是有价证券的每 $100 个面孔值的价格。Is the security's price per $100 face value.

redemption
number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是有价证券的清偿价值 (每个 $100) 的值。Is the security's redemption value per $100 face value.

basis
number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是要使用的日计数基准类型。Is the type of day count basis to use.

返回

FunctionResult<number>

dmax(database, field, criteria)

返回数据库中与指定条件匹配的记录的字段 (列) 中的最大数字。Returns the largest number in the field (column) of records in the database that match the conditions you specify.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

dmax(database: Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, field: number | string | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, criteria: string | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<number>;

参数

database
Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是构成列表或数据库的单元格区域。Is the range of cells that makes up the list or database. 数据库是相关数据的列表。A database is a list of related data.

field
number | string | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

既可以是双引号中的列的标签, 也可以是表示列在列表中的位置的数字。Is either the label of the column in double quotation marks or a number that represents the column's position in the list.

criteria
string | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

为包含指定条件的单元格区域。Is the range of cells that contains the conditions you specify. 该范围包含一个列标签和一个位于标签下方的单元格, 用于条件。The range includes a column label and one cell below the label for a condition.

返回

FunctionResult<number>

dmin(database, field, criteria)

返回数据库中与指定条件匹配的记录的字段 (列) 中的最小数字。Returns the smallest number in the field (column) of records in the database that match the conditions you specify.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

dmin(database: Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, field: number | string | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, criteria: string | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<number>;

参数

database
Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是构成列表或数据库的单元格区域。Is the range of cells that makes up the list or database. 数据库是相关数据的列表。A database is a list of related data.

field
number | string | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

既可以是双引号中的列的标签, 也可以是表示列在列表中的位置的数字。Is either the label of the column in double quotation marks or a number that represents the column's position in the list.

criteria
string | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

为包含指定条件的单元格区域。Is the range of cells that contains the conditions you specify. 该范围包含一个列标签和一个位于标签下方的单元格, 用于条件。The range includes a column label and one cell below the label for a condition.

返回

FunctionResult<number>

dollar(number, decimals)

使用货币格式将数字转换为文本。Converts a number to text, using currency format.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

dollar(number: number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, decimals?: number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<string>;

参数

number
number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是数字、对包含数字的单元格的引用或计算结果为数字的公式。Is a number, a reference to a cell containing a number, or a formula that evaluates to a number.

decimals
number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

为小数点右边的数字位数。Is the number of digits to the right of the decimal point. 根据需要对数字进行四舍五入;如果省略, 则为小数 = 2。The number is rounded as necessary; if omitted, Decimals = 2.

返回

FunctionResult<string>

dollarDe(fractionalDollar, fraction)

将以分数表示的货币转换为以十进制数表示的美元价格。Converts a dollar price, expressed as a fraction, into a dollar price, expressed as a decimal number.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

dollarDe(fractionalDollar: number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, fraction: number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<number>;

参数

fractionalDollar
number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是表示为分数的数字。Is a number expressed as a fraction.

fraction
number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是要在分数的分母中使用的整数。Is the integer to use in the denominator of the fraction.

返回

FunctionResult<number>

dollarFr(decimalDollar, fraction)

将以小数表示的价格转换为以分数表示的美元价格。Converts a dollar price, expressed as a decimal number, into a dollar price, expressed as a fraction.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

dollarFr(decimalDollar: number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, fraction: number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<number>;

参数

decimalDollar
number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是一个十进制数。Is a decimal number.

fraction
number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是要在分数的分母中使用的整数。Is the integer to use in the denominator of a fraction.

返回

FunctionResult<number>

dproduct(database, field, criteria)

将数据库中与您指定的条件相匹配的记录的字段 (列) 中的值相乘。Multiplies the values in the field (column) of records in the database that match the conditions you specify.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

dproduct(database: Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, field: number | string | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, criteria: string | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<number>;

参数

database
Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是构成列表或数据库的单元格区域。Is the range of cells that makes up the list or database. 数据库是相关数据的列表。A database is a list of related data.

field
number | string | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

既可以是双引号中的列的标签, 也可以是表示列在列表中的位置的数字。Is either the label of the column in double quotation marks or a number that represents the column's position in the list.

criteria
string | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

为包含指定条件的单元格区域。Is the range of cells that contains the conditions you specify. 该范围包含一个列标签和一个位于标签下方的单元格, 用于条件。The range includes a column label and one cell below the label for a condition.

返回

FunctionResult<number>

dstDev(database, field, criteria)

根据所选数据库条目中的样本估算标准偏差。Estimates the standard deviation based on a sample from selected database entries.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

dstDev(database: Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, field: number | string | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, criteria: string | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<number>;

参数

database
Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是构成列表或数据库的单元格区域。Is the range of cells that makes up the list or database. 数据库是相关数据的列表。A database is a list of related data.

field
number | string | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

既可以是双引号中的列的标签, 也可以是表示列在列表中的位置的数字。Is either the label of the column in double quotation marks or a number that represents the column's position in the list.

criteria
string | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

为包含指定条件的单元格区域。Is the range of cells that contains the conditions you specify. 该范围包含一个列标签和一个位于标签下方的单元格, 用于条件。The range includes a column label and one cell below the label for a condition.

返回

FunctionResult<number>

dstDevP(database, field, criteria)

根据选定数据库项的整个总体计算标准偏差。Calculates the standard deviation based on the entire population of selected database entries.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

dstDevP(database: Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, field: number | string | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, criteria: string | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<number>;

参数

database
Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是构成列表或数据库的单元格区域。Is the range of cells that makes up the list or database. 数据库是相关数据的列表。A database is a list of related data.

field
number | string | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

既可以是双引号中的列的标签, 也可以是表示列在列表中的位置的数字。Is either the label of the column in double quotation marks or a number that represents the column's position in the list.

criteria
string | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

为包含指定条件的单元格区域。Is the range of cells that contains the conditions you specify. 该范围包含一个列标签和一个位于标签下方的单元格, 用于条件。The range includes a column label and one cell below the label for a condition.

返回

FunctionResult<number>

dsum(database, field, criteria)

在数据库中与您指定的条件相匹配的记录的字段 (列) 中添加数字。Adds the numbers in the field (column) of records in the database that match the conditions you specify.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

dsum(database: Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, field: number | string | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, criteria: string | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<number>;

参数

database
Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是构成列表或数据库的单元格区域。Is the range of cells that makes up the list or database. 数据库是相关数据的列表。A database is a list of related data.

field
number | string | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

既可以是双引号中的列的标签, 也可以是表示列在列表中的位置的数字。Is either the label of the column in double quotation marks or a number that represents the column's position in the list.

criteria
string | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

为包含指定条件的单元格区域。Is the range of cells that contains the conditions you specify. 该范围包含一个列标签和一个位于标签下方的单元格, 用于条件。The range includes a column label and one cell below the label for a condition.

返回

FunctionResult<number>

duration(settlement, maturity, coupon, yld, frequency, basis)

返回定期支付利息的债券的年持续时间。Returns the annual duration of a security with periodic interest payments.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

duration(settlement: number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, maturity: number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, coupon: number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, yld: number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, frequency: number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, basis?: number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<number>;

参数

settlement
number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是债券的结算日, 以一串日期表示。Is the security's settlement date, expressed as a serial date number.

maturity
number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

为有价证券的到期日, 表示为一串日期号。Is the security's maturity date, expressed as a serial date number.

coupon
number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

为有价证券的年息票利率。Is the security's annual coupon rate.

yld
number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

为有价证券的年收益率。Is the security's annual yield.

frequency
number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

为每年的票息付款次数。Is the number of coupon payments per year.

basis
number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是要使用的日计数基准类型。Is the type of day count basis to use.

返回

FunctionResult<number>

dvar(database, field, criteria)

根据所选数据库条目中的样本估算方差。Estimates variance based on a sample from selected database entries.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

dvar(database: Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, field: number | string | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, criteria: string | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<number>;

参数

database
Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是构成列表或数据库的单元格区域。Is the range of cells that makes up the list or database. 数据库是相关数据的列表。A database is a list of related data.

field
number | string | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

既可以是双引号中的列的标签, 也可以是表示列在列表中的位置的数字。Is either the label of the column in double quotation marks or a number that represents the column's position in the list.

criteria
string | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

为包含指定条件的单元格区域。Is the range of cells that contains the conditions you specify. 该范围包含一个列标签和一个位于标签下方的单元格, 用于条件。The range includes a column label and one cell below the label for a condition.

返回

FunctionResult<number>

dvarP(database, field, criteria)

根据所选数据库条目的样本总体计算方差。Calculates variance based on the entire population of selected database entries.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

dvarP(database: Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, field: number | string | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, criteria: string | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<number>;

参数

database
Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是构成列表或数据库的单元格区域。Is the range of cells that makes up the list or database. 数据库是相关数据的列表。A database is a list of related data.

field
number | string | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

既可以是双引号中的列的标签, 也可以是表示列在列表中的位置的数字。Is either the label of the column in double quotation marks or a number that represents the column's position in the list.

criteria
string | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

为包含指定条件的单元格区域。Is the range of cells that contains the conditions you specify. 该范围包含一个列标签和一个位于标签下方的单元格, 用于条件。The range includes a column label and one cell below the label for a condition.

返回

FunctionResult<number>

ecma_Ceiling(number, significance)

将数字向上舍入到最接近的整数或最接近的重要性的倍数。Rounds a number up, to the nearest integer or to the nearest multiple of significance.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

ecma_Ceiling(number: number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, significance: number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<number>;

参数

number
number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

为要舍入的值。Is the value you want to round.

significance
number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是要舍入到的倍数。Is the multiple to which you want to round.

返回

FunctionResult<number>

edate(startDate, months)

返回在开始日期之前或之后指定的月数的日期的序列号。Returns the serial number of the date that is the indicated number of months before or after the start date.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

edate(startDate: number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, months: number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<number>;

参数

startDate
number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是表示开始日期的序列号。Is a serial date number that represents the start date.

months
number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

表示开始日期之前或之后的月数。Is the number of months before or after startDate.

返回

FunctionResult<number>

effect(nominalRate, npery)

返回年的有效利率。Returns the effective annual interest rate.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

effect(nominalRate: number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, npery: number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<number>;

参数

nominalRate
number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

为名义利率。Is the nominal interest rate.

npery
number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是每年的复利期数。Is the number of compounding periods per year.

返回

FunctionResult<number>

eoMonth(startDate, months)

返回指定月数之前或之后的一个月的最后一天的序列号。Returns the serial number of the last day of the month before or after a specified number of months.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

eoMonth(startDate: number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, months: number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<number>;

参数

startDate
number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是表示开始日期的序列号。Is a serial date number that represents the start date.

months
number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

表示开始日期之前或之后的月数。Is the number of months before or after the startDate.

返回

FunctionResult<number>

erf_Precise(X)

返回错误函数。Returns the error function.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

erf_Precise(X: number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<number>;

参数

X
number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是用于集成 ERF 的下界。精密.Is the lower bound for integrating ERF.PRECISE.

返回

FunctionResult<number>

erf(lowerLimit, upperLimit)

返回错误函数。Returns the error function.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

erf(lowerLimit: number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, upperLimit?: number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<number>;

参数

lowerLimit
number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是用于集成 ERF 的下界。Is the lower bound for integrating ERF.

upperLimit
number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是集成 ERF 的上限。Is the upper bound for integrating ERF.

返回

FunctionResult<number>

erfC_Precise(X)

返回互补错误函数。Returns the complementary error function.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

erfC_Precise(X: number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<number>;

参数

X
number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是用于集成 ERFC 的下界。精密.Is the lower bound for integrating ERFC.PRECISE.

返回

FunctionResult<number>

erfC(x)

返回互补错误函数。Returns the complementary error function.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

erfC(x: number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<number>;

参数

x
number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是用于集成 ERF 的下界。Is the lower bound for integrating ERF.

返回

FunctionResult<number>

error_Type(errorVal)

返回一个与错误值相匹配的数字。Returns a number matching an error value.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

error_Type(errorVal: string | number | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<number>;

参数

errorVal
string | number | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是要确定其标识号的错误值, 可以是实际的错误值, 也可以是对包含错误值的单元格的引用。Is the error value for which you want the identifying number, and can be an actual error value or a reference to a cell containing an error value.

返回

FunctionResult<number>

even(number)

将正数值向上和负数向下舍入到最接近的偶数整数。Rounds a positive number up and negative number down to the nearest even integer.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

even(number: number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<number>;

参数

number
number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是要舍入的值。Is the value to round.

返回

FunctionResult<number>

exact(text1, text2)

检查两个文本字符串是否完全相同, 并返回 TRUE 或 FALSE。Checks whether two text strings are exactly the same, and returns TRUE or FALSE. EXACT 是否区分大小写。EXACT is case-sensitive.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

exact(text1: string | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, text2: string | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<boolean>;

参数

text1
string | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是第一个文本字符串。Is the first text string.

text2
string | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

为第二个文本字符串。Is the second text string.

返回

FunctionResult<boolean>

exp(number)

返回 e 的加上给定数字的次幂。Returns e raised to the power of a given number.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

exp(number: number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<number>;

参数

number
number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是应用于基本 e 的指数。Is the exponent applied to the base e. 常量 e 等于 2.71828182845904, 是自然对数的底数。The constant e equals 2.71828182845904, the base of the natural logarithm.

返回

FunctionResult<number>

expon_Dist(x, lambda, cumulative)

返回指数分布。Returns the exponential distribution.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

expon_Dist(x: number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, lambda: number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, cumulative: boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<number>;

参数

x
number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

为函数的值, 非负数字。Is the value of the function, a nonnegative number.

lambda
number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是参数值, 正数。Is the parameter value, a positive number.

cumulative
boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是要返回的函数的逻辑值: 累积分布函数 = TRUE;概率密度函数 = FALSE。Is a logical value for the function to return: the cumulative distribution function = TRUE; the probability density function = FALSE.

返回

FunctionResult<number>

f_Dist_RT(x, degFreedom1, degFreedom2)

返回两个数据集的 (右尾) F 概率分布 (多元化度)。Returns the (right-tailed) F probability distribution (degree of diversity) for two data sets.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

f_Dist_RT(x: number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, degFreedom1: number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, degFreedom2: number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<number>;

参数

x
number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是计算函数的值, 非负数值。Is the value at which to evaluate the function, a nonnegative number.

degFreedom1
number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是分子的自由度, 是1到 10 ^ 10 之间的数字, 不含 10 ^ 10。Is the numerator degrees of freedom, a number between 1 and 10^10, excluding 10^10.

degFreedom2
number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

为分母的自由度, 介于1到 10 ^ 10 之间, 不含 10 ^ 10。Is the denominator degrees of freedom, a number between 1 and 10^10, excluding 10^10.

返回

FunctionResult<number>

f_Dist(x, degFreedom1, degFreedom2, cumulative)

返回两个数据集的 (左尾) F 概率分布 (多元化度)。Returns the (left-tailed) F probability distribution (degree of diversity) for two data sets.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

f_Dist(x: number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, degFreedom1: number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, degFreedom2: number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, cumulative: boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<number>;

参数

x
number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是计算函数的值, 非负数值。Is the value at which to evaluate the function, a nonnegative number.

degFreedom1
number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是分子的自由度, 是1到 10 ^ 10 之间的数字, 不含 10 ^ 10。Is the numerator degrees of freedom, a number between 1 and 10^10, excluding 10^10.

degFreedom2
number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

为分母的自由度, 介于1到 10 ^ 10 之间, 不含 10 ^ 10。Is the denominator degrees of freedom, a number between 1 and 10^10, excluding 10^10.

cumulative
boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是要返回的函数的逻辑值: 累积分布函数 = TRUE;概率密度函数 = FALSE。Is a logical value for the function to return: the cumulative distribution function = TRUE; the probability density function = FALSE.

返回

FunctionResult<number>

f_Inv_RT(probability, degFreedom1, degFreedom2)

返回 (右尾) F 概率分布的反函数: 如果 p = f.。RT (x,...), 然后是 "INV"。RT (p,...) = x。Returns the inverse of the (right-tailed) F probability distribution: if p = F.DIST.RT(x,...), then F.INV.RT(p,...) = x.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

f_Inv_RT(probability: number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, degFreedom1: number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, degFreedom2: number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<number>;

参数

probability
number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是与 F 累积分布相关的概率, 是介于0和1之间的数字 (含0和 1)。Is a probability associated with the F cumulative distribution, a number between 0 and 1 inclusive.

degFreedom1
number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是分子的自由度, 是1到 10 ^ 10 之间的数字, 不含 10 ^ 10。Is the numerator degrees of freedom, a number between 1 and 10^10, excluding 10^10.

degFreedom2
number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

为分母的自由度, 介于1到 10 ^ 10 之间, 不含 10 ^ 10。Is the denominator degrees of freedom, a number between 1 and 10^10, excluding 10^10.

返回

FunctionResult<number>

f_Inv(probability, degFreedom1, degFreedom2)

返回 (左尾) F 概率分布的反函数: 如果 p = f. (x,...), 则返回 a-f (p,...) = x。Returns the inverse of the (left-tailed) F probability distribution: if p = F.DIST(x,...), then F.INV(p,...) = x.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

f_Inv(probability: number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, degFreedom1: number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, degFreedom2: number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<number>;

参数

probability
number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是与 F 累积分布相关的概率, 是介于0和1之间的数字 (含0和 1)。Is a probability associated with the F cumulative distribution, a number between 0 and 1 inclusive.

degFreedom1
number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是分子的自由度, 是1到 10 ^ 10 之间的数字, 不含 10 ^ 10。Is the numerator degrees of freedom, a number between 1 and 10^10, excluding 10^10.

degFreedom2
number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

为分母的自由度, 介于1到 10 ^ 10 之间, 不含 10 ^ 10。Is the denominator degrees of freedom, a number between 1 and 10^10, excluding 10^10.

返回

FunctionResult<number>

fact(number)

返回一个数的阶乘, 等于 123 ... 多种.Returns the factorial of a number, equal to 123 ... Number.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

fact(number: number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<number>;

参数

number
number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

为要对其进行阶乘的非负数。Is the nonnegative number you want the factorial of.

返回

FunctionResult<number>

factDouble(number)

返回数字的双倍阶乘。Returns the double factorial of a number.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

factDouble(number: number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<number>;

参数

number
number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是要为其返回双阶乘的值。Is the value for which to return the double factorial.

返回

FunctionResult<number>

false()

返回逻辑值 FALSE。Returns the logical value FALSE.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

false(): FunctionResult<boolean>;

返回

FunctionResult<boolean>

find(findText, withinText, startNum)

返回另一个文本字符串中一个文本字符串的起始位置。Returns the starting position of one text string within another text string. 查找区分大小写。FIND is case-sensitive.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

find(findText: string | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, withinText: string | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, startNum?: number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<number>;

参数

findText
string | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

为要查找的文本。Is the text you want to find. 使用双引号 (空文本) 与 withinText 中的第一个字符匹配;不允许使用通配符字符。Use double quotes (empty text) to match the first character in withinText; wildcard characters not allowed.

withinText
string | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

为包含要查找的文本的文本。Is the text containing the text you want to find.

startNum
number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

指定要从其开始搜索的字符。Specifies the character at which to start the search. withinText 中的第一个字符是号为1的字符。The first character in withinText is character number 1. 如果省略, 则 startNum = 1。If omitted, startNum = 1.

返回

FunctionResult<number>

findB(findText, withinText, startNum)

在另一个文本字符串中查找一个文本字符串的起始位置。Finds the starting position of one text string within another text string. FINDB 区分大小写。FINDB is case-sensitive. 与双字节字符集 (DBCS) 一起使用。Use with double-byte character sets (DBCS).

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

findB(findText: string | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, withinText: string | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, startNum?: number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<number>;

参数

findText
string | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

为要查找的文本。Is the text you want to find.

withinText
string | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

为包含要查找的文本的文本。Is the text containing the text you want to find.

startNum
number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

指定要从其开始搜索的字符。Specifies the character at which to start the search.

返回

FunctionResult<number>

fisher(x)

返回 Fisher 转换。Returns the Fisher transformation.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

fisher(x: number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<number>;

参数

x
number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是要进行转换的值, 介于-1 和1之间, 不包括-1 和1。Is the value for which you want the transformation, a number between -1 and 1, excluding -1 and 1.

返回

FunctionResult<number>

fisherInv(y)

返回 Fisher 转换的反函数: 如果 y = Fisher (x), 则 FISHERINV (y) = x。Returns the inverse of the Fisher transformation: if y = FISHER(x), then FISHERINV(y) = x.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

fisherInv(y: number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<number>;

参数

y
number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是要对其执行反向转换的值。Is the value for which you want to perform the inverse of the transformation.

返回

FunctionResult<number>

fixed(number, decimals, noCommas)

将数字舍入到指定的小数位数, 并以包含或不带逗号的文本的形式返回结果。Rounds a number to the specified number of decimals and returns the result as text with or without commas.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

fixed(number: number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, decimals?: number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, noCommas?: boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<string>;

参数

number
number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

为要四舍五入并转换为文本的数字。Is the number you want to round and convert to text.

decimals
number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

为小数点右边的数字位数。Is the number of digits to the right of the decimal point. 如果省略, 则为小数 = 2。If omitted, Decimals = 2.

noCommas
boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是逻辑值: 不在返回的文本中显示逗号 = TRUE;在返回的文本中显示逗号 = FALSE 或省略。Is a logical value: do not display commas in the returned text = TRUE; do display commas in the returned text = FALSE or omitted.

返回

FunctionResult<string>

floor_Math(number, significance, mode)

将数字向下舍入到最接近的整数或最接近的重要性的倍数。Rounds a number down, to the nearest integer or to the nearest multiple of significance.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

floor_Math(number: number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, significance?: number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, mode?: number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<number>;

参数

number
number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

为要舍入的值。Is the value you want to round.

significance
number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是要舍入到的倍数。Is the multiple to which you want to round.

mode
number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

如果给定和非零, 此函数将向零舍入。When given and nonzero this function will round towards zero.

返回

FunctionResult<number>

floor_Precise(number, significance)

将数字向下舍入到最接近的整数或最接近的重要性的倍数。Rounds a number down, to the nearest integer or to the nearest multiple of significance.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

floor_Precise(number: number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, significance?: number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<number>;

参数

number
number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是要舍入的数字值。Is the numeric value you want to round.

significance
number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是要舍入到的倍数。Is the multiple to which you want to round.

返回

FunctionResult<number>

fv(rate, nper, pmt, pv, type)

基于固定利率和等额分期付款方式,返回某项投资的未来值。Returns the future value of an investment based on periodic, constant payments and a constant interest rate.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

fv(rate: number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, nper: number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, pmt: number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, pv?: number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, type?: number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<number>;

参数

rate
number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是每个期间的利率。Is the interest rate per period. 例如, 对每年 6% 的季度付款使用 6%/4。For example, use 6%/4 for quarterly payments at 6% APR.

nper
number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是投资中的总付款期数。Is the total number of payment periods in the investment.

pmt
number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是每个周期的付款金额;它在投资的整个生命周期中无法更改。Is the payment made each period; it cannot change over the life of the investment.

pv
number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

为现值, 或一系列未来付款现在所需的累积总和。Is the present value, or the lump-sum amount that a series of future payments is worth now. 如果省略, 则 Pv = 0。If omitted, Pv = 0.

type
number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

表示付款时间的值: 期初付款 = 1;期初付款 = 0 或省略。Is a value representing the timing of payment: payment at the beginning of the period = 1; payment at the end of the period = 0 or omitted.

返回

FunctionResult<number>

fvschedule(principal, schedule)

基于一系列复利返回本金的未来值。Returns the future value of an initial principal after applying a series of compound interest rates.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

fvschedule(principal: number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, schedule: number | string | Excel.Range | boolean | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<number>;

参数

principal
number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

为现值。Is the present value.

schedule
number | string | Excel.Range | boolean | Excel.RangeReference | Excel.FunctionResult<any>

是要应用的利率数组。Is an array of interest rates to apply.

返回

FunctionResult<number>

gamma_Dist(x, alpha, beta, cumulative)

返回 γ 分布函数值。Returns the gamma distribution.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

gamma_Dist(x: number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, alpha: number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, beta: number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, cumulative: boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<number>;

参数

x
number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

为要计算其分布的值, 非负数值。Is the value at which you want to evaluate the distribution, a nonnegative number.

alpha
number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是分布的参数, 为正数。Is a parameter to the distribution, a positive number.

beta
number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是分布的参数, 为正数。Is a parameter to the distribution, a positive number. 如果 beta = 1, 则为伽玛。DIST 返回标准伽玛分布。If beta = 1, GAMMA.DIST returns the standard gamma distribution.

cumulative
boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是逻辑值: 返回累积分布函数 = TRUE;返回概率密度函数 = FALSE 或省略。Is a logical value: return the cumulative distribution function = TRUE; return the probability mass function = FALSE or omitted.

返回

FunctionResult<number>

gamma_Inv(probability, alpha, beta)

返回伽玛累积分布的反函数: 如果 p = 伽玛。DIST (x,...), 然后是伽玛。INV (p,...) = x。Returns the inverse of the gamma cumulative distribution: if p = GAMMA.DIST(x,...), then GAMMA.INV(p,...) = x.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

gamma_Inv(probability: number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, alpha: number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, beta: number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<number>;

参数

probability
number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是与伽玛分布相关联的概率, 介于0和1之间 (含0和 1)。Is the probability associated with the gamma distribution, a number between 0 and 1, inclusive.

alpha
number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是分布的参数, 为正数。Is a parameter to the distribution, a positive number.

beta
number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是分布的参数, 为正数。Is a parameter to the distribution, a positive number. 如果 beta = 1, 则为伽玛。INV 返回标准伽玛分布的反函数。If beta = 1, GAMMA.INV returns the inverse of the standard gamma distribution.

返回

FunctionResult<number>

gamma(x)

返回伽玛函数值。Returns the Gamma function value.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

gamma(x: number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<number>;

参数

x
number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是要为其计算伽玛的值。Is the value for which you want to calculate Gamma.

返回

FunctionResult<number>

gammaLn_Precise(x)

返回伽玛函数的自然对数。Returns the natural logarithm of the gamma function.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

gammaLn_Precise(x: number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<number>;

参数

x
number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是要为其计算 GAMMALN 的值。精确值, 正数。Is the value for which you want to calculate GAMMALN.PRECISE, a positive number.

返回

FunctionResult<number>

gammaLn(x)

返回伽玛函数的自然对数。Returns the natural logarithm of the gamma function.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

gammaLn(x: number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<number>;

参数

x
number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是要为其计算 GAMMALN 的值, 为正数。Is the value for which you want to calculate GAMMALN, a positive number.

返回

FunctionResult<number>

gauss(x)

返回小于标准正态累积分布的0.5。Returns 0.5 less than the standard normal cumulative distribution.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

gauss(x: number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<number>;

参数

x
number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是要对其进行分布的值。Is the value for which you want the distribution.

返回

FunctionResult<number>

gcd(values)

返回最大公因数。Returns the greatest common divisor.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

gcd(...values: Array<number | string | Excel.Range | boolean | Excel.RangeReference | Excel.FunctionResult<any>>): FunctionResult<number>;

参数

values
Array<number | string | Excel.Range | boolean | Excel.RangeReference | Excel.FunctionResult<any>>

参数列表, 其元素为1到255值。List of parameters, whose elements are 1 to 255 values.

返回

FunctionResult<number>

geoMean(values)

返回正数值数据的数组或区域的几何平均值。Returns the geometric mean of an array or range of positive numeric data.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

geoMean(...values: Array<number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>>): FunctionResult<number>;

参数

values
Array<number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>>

参数列表, 其元素为1到255的数字或包含要计算其平均值的数字的名称、数组或引用。List of parameters, whose elements are 1 to 255 numbers or names, arrays, or references that contain numbers for which you want the mean.

返回

FunctionResult<number>

geStep(number, step)

测试数字是否大于阈值。Tests whether a number is greater than a threshold value.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

geStep(number: number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, step?: number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<number>;

参数

number
number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是要针对步骤进行测试的值。Is the value to test against step.

step
number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是临界值。Is the threshold value.

返回

FunctionResult<number>

harMean(values)

返回正数的数据集的调和平均值: reciprocals 的算术平均值的倒数平均值。Returns the harmonic mean of a data set of positive numbers: the reciprocal of the arithmetic mean of reciprocals.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

harMean(...values: Array<number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>>): FunctionResult<number>;

参数

values
Array<number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>>

参数列表, 其元素为1到255的数字或包含要计算调和平均值的数字的名称、数组或引用。List of parameters, whose elements are 1 to 255 numbers or names, arrays, or references that contain numbers for which you want the harmonic mean.

返回

FunctionResult<number>

hex2Bin(number, places)

将十六进制数转换为二进制数。Converts a Hexadecimal number to binary.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

hex2Bin(number: number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, places?: number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<number>;

参数

number
number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是要转换的十六进制数。Is the hexadecimal number you want to convert.

places
number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是要使用的字符数。Is the number of characters to use.

返回

FunctionResult<number>

hex2Dec(number)

将十六进制数转换为十进制数。Converts a hexadecimal number to decimal.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

hex2Dec(number: number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<number>;

参数

number
number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是要转换的十六进制数。Is the hexadecimal number you want to convert.

返回

FunctionResult<number>

hex2Oct(number, places)

将十六进制数转换为八进制数。Converts a hexadecimal number to octal.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

hex2Oct(number: number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, places?: number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<number>;

参数

number
number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是要转换的十六进制数。Is the hexadecimal number you want to convert.

places
number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是要使用的字符数。Is the number of characters to use.

返回

FunctionResult<number>

hlookup(lookupValue, tableArray, rowIndexNum, rangeLookup)

在表或值数组的首行查找值, 并从指定行的同一列中返回值。Looks for a value in the top row of a table or array of values and returns the value in the same column from a row you specify.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

hlookup(lookupValue: number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, tableArray: Excel.Range | number | Excel.RangeReference | Excel.FunctionResult<any>, rowIndexNum: Excel.Range | number | Excel.RangeReference | Excel.FunctionResult<any>, rangeLookup?: boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<number | string | boolean>;

参数

lookupValue
number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是要在表的第一行中找到的值, 可以是值、引用或文本字符串。Is the value to be found in the first row of the table and can be a value, a reference, or a text string.

tableArray
Excel.Range | number | Excel.RangeReference | Excel.FunctionResult<any>

是在其中查找数据的文本、数字或逻辑值的表。Is a table of text, numbers, or logical values in which data is looked up. tableArray 可以是对区域或区域名称的引用。tableArray can be a reference to a range or a range name.

rowIndexNum
Excel.Range | number | Excel.RangeReference | Excel.FunctionResult<any>

是 tableArray 中应返回匹配值的行号。Is the row number in tableArray from which the matching value should be returned. 表中的第一行值为第1行。The first row of values in the table is row 1.

rangeLookup
boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是逻辑值: 若要在首行中查找最接近的匹配项 (按升序排序) = TRUE 或省略, 则为 ; 否则为 。查找完全匹配项 = FALSE。Is a logical value: to find the closest match in the top row (sorted in ascending order) = TRUE or omitted; find an exact match = FALSE.

返回

FunctionResult<number | string | boolean>

hour(serialNumber)

将小时返回为从 0 (12:00 A.M.) 到 23 (11:00 下午5点) 的数字。Returns the hour as a number from 0 (12:00 A.M.) to 23 (11:00 P.M.).

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

hour(serialNumber: number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<number>;

参数

serialNumber
number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是 Microsoft Excel 使用的日期时间代码或时间格式的文本, 例如16:48:00 或 4:48:00 PM 的数字。Is a number in the date-time code used by Microsoft Excel, or text in time format, such as 16:48:00 or 4:48:00 PM.

返回

FunctionResult<number>

创建一个快捷方式或跳转, 用于打开存储在硬盘驱动器、网络服务器或 Internet 上的文档。Creates a shortcut or jump that opens a document stored on your hard drive, a network server, or on the Internet.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

hyperlink(linkLocation: string | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, friendlyName?: number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<number | string | boolean>;

参数

linkLocation
string | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是提供要打开的文档的路径和文件名的文本、硬盘驱动器位置、UNC 地址或 URL 路径。Is the text giving the path and file name to the document to be opened, a hard drive location, UNC address, or URL path.

friendlyName
number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

为文本或显示在单元格中的数字。Is text or a number that is displayed in the cell. 如果省略, 则单元格显示 "linkLocation" 文本。If omitted, the cell displays the linkLocation text.

返回

FunctionResult<number | string | boolean>

hypGeom_Dist(sampleS, numberSample, populationS, numberPop, cumulative)

返回超几何分布。Returns the hypergeometric distribution.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

hypGeom_Dist(sampleS: number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, numberSample: number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, populationS: number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, numberPop: number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, cumulative: boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<number>;

参数

sampleS
number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是样本中成功的次数。Is the number of successes in the sample.

numberSample
number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是示例的大小。Is the size of the sample.

populationS
number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是总体中成功的次数。Is the number of successes in the population.

numberPop
number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是总体大小。Is the population size.

cumulative
boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是逻辑值: 对于累积的分布函数, 使用 TRUE;对于 "概率密度" 函数, 使用 FALSE。Is a logical value: for the cumulative distribution function, use TRUE; for the probability density function, use FALSE.

返回

FunctionResult<number>

if(logicalTest, valueIfTrue, valueIfFalse)

检查是否满足条件, 如果为 TRUE, 则返回一个值; 如果为 FALSE, 则返回另一个值。Checks whether a condition is met, and returns one value if TRUE, and another value if FALSE.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

if(logicalTest: boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, valueIfTrue?: Excel.Range | number | string | boolean | Excel.RangeReference | Excel.FunctionResult<any>, valueIfFalse?: Excel.Range | number | string | boolean | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<number | string | boolean>;

参数

logicalTest
boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是任何可评估为 TRUE 或 FALSE 的值或表达式。Is any value or expression that can be evaluated to TRUE or FALSE.

valueIfTrue
Excel.Range | number | string | boolean | Excel.RangeReference | Excel.FunctionResult<any>

是 logicalTest 为 TRUE 时返回的值。Is the value that is returned if logicalTest is TRUE. 如果省略, 则返回 TRUE。If omitted, TRUE is returned. 最长可以嵌套7个 IF 函数。You can nest up to seven IF functions.

valueIfFalse
Excel.Range | number | string | boolean | Excel.RangeReference | Excel.FunctionResult<any>

是 logicalTest 为 FALSE 时返回的值。Is the value that is returned if logicalTest is FALSE. 如果省略, 则返回 FALSE。If omitted, FALSE is returned.

返回

FunctionResult<number | string | boolean>

imAbs(inumber)

返回复数的绝对值 (模数)。Returns the absolute value (modulus) of a complex number.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

imAbs(inumber: number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<number>;

参数

inumber
number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

为需要获取其绝对值的复数。Is a complex number for which you want the absolute value.

返回

FunctionResult<number>

imaginary(inumber)

返回复数的虚系数。Returns the imaginary coefficient of a complex number.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

imaginary(inumber: number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<number>;

参数

inumber
number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是要对其进行虚数系数的复数。Is a complex number for which you want the imaginary coefficient.

返回

FunctionResult<number>

imArgument(inumber)

返回参数 q, 以弧度表示的角。Returns the argument q, an angle expressed in radians.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

imArgument(inumber: number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<number>;

参数

inumber
number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

为需要获取其参数的复数。Is a complex number for which you want the argument.

返回

FunctionResult<number>

imConjugate(inumber)

返回复数的共轭复数。Returns the complex conjugate of a complex number.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

imConjugate(inumber: number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<number>;

参数

inumber
number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

为需要其共轭复数的复数。Is a complex number for which you want the conjugate.

返回

FunctionResult<number>

imCos(inumber)

返回复数的余弦值。Returns the cosine of a complex number.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

imCos(inumber: number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<number>;

参数

inumber
number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

为需要其余弦值的复数。Is a complex number for which you want the cosine.

返回

FunctionResult<number>

imCosh(inumber)

返回复数的双曲余弦值。Returns the hyperbolic cosine of a complex number.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

imCosh(inumber: number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<number>;

参数

inumber
number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

为需要进行双曲余弦值的复数。Is a complex number for which you want the hyperbolic cosine.

返回

FunctionResult<number>

imCot(inumber)

返回复数的余切值。Returns the cotangent of a complex number.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

imCot(inumber: number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<number>;

参数

inumber
number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

为需要其余切值的复数。Is a complex number for which you want the cotangent.

返回

FunctionResult<number>

imCsc(inumber)

返回复数的余割值。Returns the cosecant of a complex number.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

imCsc(inumber: number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<number>;

参数

inumber
number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

为需要对其余割的复数。Is a complex number for which you want the cosecant.

返回

FunctionResult<number>

imCsch(inumber)

返回复数的双曲余割值。Returns the hyperbolic cosecant of a complex number.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

imCsch(inumber: number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<number>;

参数

inumber
number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

为需要求双曲余割值的复数。Is a complex number for which you want the hyperbolic cosecant.

返回

FunctionResult<number>

imDiv(inumber1, inumber2)

返回两个复数的商。Returns the quotient of two complex numbers.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

imDiv(inumber1: number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, inumber2: number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<number>;

参数

inumber1
number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

为复数分子或被除数。Is the complex numerator or dividend.

inumber2
number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

为复数分母或除数。Is the complex denominator or divisor.

返回

FunctionResult<number>

imExp(inumber)

返回复数的指数值。Returns the exponential of a complex number.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

imExp(inumber: number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<number>;

参数

inumber
number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

为要对其使用指数的复数。Is a complex number for which you want the exponential.

返回

FunctionResult<number>

imLn(inumber)

返回复数的自然对数。Returns the natural logarithm of a complex number.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

imLn(inumber: number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<number>;

参数

inumber
number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

为需要对其进行自然对数的复数。Is a complex number for which you want the natural logarithm.

返回

FunctionResult<number>

imLog10(inumber)

返回复数的以10为底的对数。Returns the base-10 logarithm of a complex number.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

imLog10(inumber: number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<number>;

参数

inumber
number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

为要对其使用常用对数的复数。Is a complex number for which you want the common logarithm.

返回

FunctionResult<number>

imLog2(inumber)

返回复数的以2为底数的对数。Returns the base-2 logarithm of a complex number.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

imLog2(inumber: number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<number>;

参数

inumber
number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

为需要得到以2为底数的对数的复数。Is a complex number for which you want the base-2 logarithm.

返回

FunctionResult<number>

imPower(inumber, number)

返回一个复数的整数次幂。Returns a complex number raised to an integer power.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

imPower(inumber: number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, number: number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<number>;

参数

inumber
number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是要乘幂的复数。Is a complex number you want to raise to a power.

number
number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是要对其求复数的幂。Is the power to which you want to raise the complex number.

返回

FunctionResult<number>

imProduct(values)

返回1到255复数的乘积。Returns the product of 1 to 255 complex numbers.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

imProduct(...values: Array<Excel.Range | number | string | boolean | Excel.RangeReference | Excel.FunctionResult<any>>): FunctionResult<number>;

参数

values
Array<Excel.Range | number | string | boolean | Excel.RangeReference | Excel.FunctionResult<any>>

Inumber1、Inumber2,.。。介于1到255复数之间的乘法。Inumber1, Inumber2,... are from 1 to 255 complex numbers to multiply.

返回

FunctionResult<number>

imReal(inumber)

返回复数的实系数。Returns the real coefficient of a complex number.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

imReal(inumber: number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<number>;

参数

inumber
number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

为需要得到其实际系数的复数。Is a complex number for which you want the real coefficient.

返回

FunctionResult<number>

imSec(inumber)

返回复数的正割值。Returns the secant of a complex number.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

imSec(inumber: number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<number>;

参数

inumber
number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

为需要其正割值的复数。Is a complex number for which you want the secant.

返回

FunctionResult<number>

imSech(inumber)

返回复数的双曲正割值。Returns the hyperbolic secant of a complex number.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

imSech(inumber: number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<number>;

参数

inumber
number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

为需要其双曲正割值的复数。Is a complex number for which you want the hyperbolic secant.

返回

FunctionResult<number>

imSin(inumber)

返回复数的正弦值。Returns the sine of a complex number.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

imSin(inumber: number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<number>;

参数

inumber
number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

为需要其正弦值的复数。Is a complex number for which you want the sine.

返回

FunctionResult<number>

imSinh(inumber)

返回复数的双曲正弦值。Returns the hyperbolic sine of a complex number.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

imSinh(inumber: number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<number>;

参数

inumber
number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

为需要进行双曲正弦值的复数。Is a complex number for which you want the hyperbolic sine.

返回

FunctionResult<number>

imSqrt(inumber)

返回复数的平方根。Returns the square root of a complex number.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

imSqrt(inumber: number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<number>;

参数

inumber
number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

为要对其使用平方根的复数。Is a complex number for which you want the square root.

返回

FunctionResult<number>

imSub(inumber1, inumber2)

返回两个复数的差。Returns the difference of two complex numbers.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

imSub(inumber1: number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, inumber2: number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<number>;

参数

inumber1
number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是要从中减去 inumber2 的复数。Is the complex number from which to subtract inumber2.

inumber2
number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是要从 inumber1 中减去的复数。Is the complex number to subtract from inumber1.

返回

FunctionResult<number>

imSum(values)

返回复数的和。Returns the sum of complex numbers.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

imSum(...values: Array<Excel.Range | number | string | boolean | Excel.RangeReference | Excel.FunctionResult<any>>): FunctionResult<number>;

参数

values
Array<Excel.Range | number | string | boolean | Excel.RangeReference | Excel.FunctionResult<any>>

参数列表, 其中的元素是从1到255复数要相加的值。List of parameters, whose elements are from 1 to 255 complex numbers to add.

返回

FunctionResult<number>

imTan(inumber)

返回复数的正切值。Returns the tangent of a complex number.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

imTan(inumber: number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<number>;

参数

inumber
number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

为需要其切线的复数。Is a complex number for which you want the tangent.

返回

FunctionResult<number>

int(number)

将数字向下舍入到最接近的整数。Rounds a number down to the nearest integer.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

int(number: number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<number>;

参数

number
number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是要向下舍入为整数的实数数。Is the real number you want to round down to an integer.

返回

FunctionResult<number>

intRate(settlement, maturity, investment, redemption, basis)

返回完全投资型债券的利率。Returns the interest rate for a fully invested security.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

intRate(settlement: number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, maturity: number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, investment: number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, redemption: number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, basis?: number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<number>;

参数

settlement
number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是债券的结算日, 以一串日期表示。Is the security's settlement date, expressed as a serial date number.

maturity
number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

为有价证券的到期日, 表示为一串日期号。Is the security's maturity date, expressed as a serial date number.

investment
number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是投资在安全方面的金额。Is the amount invested in the security.

redemption
number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是要在到期时收到的金额。Is the amount to be received at maturity.

basis
number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是要使用的日计数基准类型。Is the type of day count basis to use.

返回

FunctionResult<number>

ipmt(rate, per, nper, pv, fv, type)

根据固定利率和等额分期付款方式, 返回某项投资在给定期间内的利息支付额。Returns the interest payment for a given period for an investment, based on periodic, constant payments and a constant interest rate.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

ipmt(rate: number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, per: number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, nper: number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, pv: number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, fv?: number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, type?: number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<number>;

参数

rate
number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是每个期间的利率。Is the interest rate per period. 例如, 对每年 6% 的季度付款使用 6%/4。For example, use 6%/4 for quarterly payments at 6% APR.

per
number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是要计算其利息的周期, 必须介于1到 Nper 之间。Is the period for which you want to find the interest and must be in the range 1 to Nper.

nper
number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

为投资中的总付款期数。Is the total number of payment periods in an investment.

pv
number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

为现值, 或一系列未来付款现在所需的累积总和。Is the present value, or the lump-sum amount that a series of future payments is worth now.

fv
number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

为未来值, 或在最后一次付款后要达到的现金余额。Is the future value, or a cash balance you want to attain after the last payment is made. 如果省略, Fv = 0。If omitted, Fv = 0.

type
number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是代表付款时间的逻辑值: 在时段结束时为 0, 在句点的开头是省略, 则为句点的开头 = 1。Is a logical value representing the timing of payment: at the end of the period = 0 or omitted, at the beginning of the period = 1.

返回

FunctionResult<number>

irr(values, guess)

返回一系列现金流的内部收益率。Returns the internal rate of return for a series of cash flows.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

irr(values: Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, guess?: number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<number>;

参数

values
Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是数组或对包含要计算其内部收益率的数字的单元格的引用。Is an array or a reference to cells that contain numbers for which you want to calculate the internal rate of return.

guess
number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是您猜测的与 IRR 结果接近的数字;如果省略, 则为 0.1 (10%)。Is a number that you guess is close to the result of IRR; 0.1 (10 percent) if omitted.

返回

FunctionResult<number>

isErr(value)

检查值是否#为不包括# # # # # #N/a 的错误 (value!, REF!, DIV/0!, NUM!, NAME?, 或 NULL!), 并返回 TRUE 或 FALSE。Checks whether a value is an error (#VALUE!, #REF!, #DIV/0!, #NUM!, #NAME?, or #NULL!) excluding #N/A, and returns TRUE or FALSE.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

isErr(value: number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<boolean>;

参数

value
number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是要测试的值。Is the value you want to test. Value 可引用单元格、公式或引用单元格、公式或值的名称。Value can refer to a cell, a formula, or a name that refers to a cell, formula, or value.

返回

FunctionResult<boolean>

isError(value)

检查某个值是否为错误 (#N/a、 #value!、 #REF!、 #DIV/0!、 #NUM!、 #NAME? 或#NULL!), 并返回 TRUE 或 FALSE。Checks whether a value is an error (#N/A, #VALUE!, #REF!, #DIV/0!, #NUM!, #NAME?, or #NULL!), and returns TRUE or FALSE.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

isError(value: number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<boolean>;

参数

value
number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是要测试的值。Is the value you want to test. Value 可引用单元格、公式或引用单元格、公式或值的名称。Value can refer to a cell, a formula, or a name that refers to a cell, formula, or value.

返回

FunctionResult<boolean>

isEven(number)

如果数字为偶数, 则返回 TRUE。Returns TRUE if the number is even.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

isEven(number: number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<number>;

参数

number
number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是要测试的值。Is the value to test.

返回

FunctionResult<number>

isFormula(reference)

检查引用是否指向包含公式的单元格, 并返回 TRUE 或 FALSE。Checks whether a reference is to a cell containing a formula, and returns TRUE or FALSE.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

isFormula(reference: Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<boolean>;

参数

reference
Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是对要测试的单元格的引用。Is a reference to the cell you want to test. 引用可以是引用单元格的单元格引用、公式或名称。Reference can be a cell reference, a formula, or name that refers to a cell.

返回

FunctionResult<boolean>

isLogical(value)

检查值是否为逻辑值 (TRUE 或 false), 并返回 TRUE 或 false。Checks whether a value is a logical value (TRUE or FALSE), and returns TRUE or FALSE.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

isLogical(value: number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<boolean>;

参数

value
number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是要测试的值。Is the value you want to test. Value 可引用单元格、公式或引用单元格、公式或值的名称。Value can refer to a cell, a formula, or a name that refers to a cell, formula, or value.

返回

FunctionResult<boolean>

isNA(value)

检查值是否为#N/a, 并返回 TRUE 或 FALSE。Checks whether a value is #N/A, and returns TRUE or FALSE.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

isNA(value: number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<boolean>;

参数

value
number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是要测试的值。Is the value you want to test. Value 可引用单元格、公式或引用单元格、公式或值的名称。Value can refer to a cell, a formula, or a name that refers to a cell, formula, or value.

返回

FunctionResult<boolean>

isNonText(value)

检查值是否不是文本 (空白单元格不是文本), 并返回 TRUE 或 FALSE。Checks whether a value is not text (blank cells are not text), and returns TRUE or FALSE.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

isNonText(value: number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<boolean>;

参数

value
number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是要测试的值: 单元格;公式;或引用的单元格、公式或值的名称。Is the value you want tested: a cell; a formula; or a name referring to a cell, formula, or value.

返回

FunctionResult<boolean>

isNumber(value)

检查某个值是否为数字, 并返回 TRUE 或 FALSE。Checks whether a value is a number, and returns TRUE or FALSE.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

isNumber(value: number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<boolean>;

参数

value
number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是要测试的值。Is the value you want to test. Value 可引用单元格、公式或引用单元格、公式或值的名称。Value can refer to a cell, a formula, or a name that refers to a cell, formula, or value.

返回

FunctionResult<boolean>

iso_Ceiling(number, significance)

将数字向上舍入到最接近的整数或最接近的重要性的倍数。Rounds a number up, to the nearest integer or to the nearest multiple of significance.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

iso_Ceiling(number: number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, significance?: number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<number>;

参数

number
number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

为要舍入的值。Is the value you want to round.

significance
number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是要舍入到的可选倍数。Is the optional multiple to which you want to round.

返回

FunctionResult<number>

isOdd(number)

如果数字为奇数, 则返回 TRUE。Returns TRUE if the number is odd.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

isOdd(number: number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<number>;

参数

number
number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是要测试的值。Is the value to test.

返回

FunctionResult<number>

isoWeekNum(date)

返回给定日期在一年中的 ISO 周数。Returns the ISO week number in the year for a given date.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

isoWeekNum(date: number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<number>;

参数

date
number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是 Microsoft Excel 用于日期和时间计算的日期时间代码。Is the date-time code used by Microsoft Excel for date and time calculation.

返回

FunctionResult<number>

ispmt(rate, per, nper, pv)

返回特定投资期内支付的利息。Returns the interest paid during a specific period of an investment.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

ispmt(rate: number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, per: number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, nper: number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, pv: number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<number>;

参数

rate
number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

每个期间的利率。Interest rate per period. 例如, 对每年 6% 的季度付款使用 6%/4。For example, use 6%/4 for quarterly payments at 6% APR.

per
number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

要计算其利息的期。Period for which you want to find the interest.

nper
number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

投资中的付款期数。Number of payment periods in an investment.

pv
number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

一系列未来付款现在的总计金额。Lump sum amount that a series of future payments is right now.

返回

FunctionResult<number>

isref(value)

检查值是否为引用, 并返回 TRUE 或 FALSE。Checks whether a value is a reference, and returns TRUE or FALSE.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

isref(value: Excel.Range | number | string | boolean | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<boolean>;

参数

value
Excel.Range | number | string | boolean | Excel.RangeReference | Excel.FunctionResult<any>

是要测试的值。Is the value you want to test. Value 可引用单元格、公式或引用单元格、公式或值的名称。Value can refer to a cell, a formula, or a name that refers to a cell, formula, or value.

返回

FunctionResult<boolean>

isText(value)

检查值是否为文本, 并返回 TRUE 或 FALSE。Checks whether a value is text, and returns TRUE or FALSE.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

isText(value: number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<boolean>;

参数

value
number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是要测试的值。Is the value you want to test. Value 可引用单元格、公式或引用单元格、公式或值的名称。Value can refer to a cell, a formula, or a name that refers to a cell, formula, or value.

返回

FunctionResult<boolean>

kurt(values)

返回一组数据的峰值。Returns the kurtosis of a data set.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

kurt(...values: Array<number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>>): FunctionResult<number>;

参数

values
Array<number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>>

参数列表, 其元素为1到255的数字或包含要计算其峰值的数字的名称、数组或引用。List of parameters, whose elements are 1 to 255 numbers or names, arrays, or references that contain numbers for which you want the kurtosis.

返回

FunctionResult<number>

large(array, k)

返回数据集中第 k 个最大值。Returns the k-th largest value in a data set. 例如, 第五个最大的数字。For example, the fifth largest number.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

large(array: number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, k: number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<number>;

参数

array
number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是要为其确定第 k 个最大值的数组或数据区域。Is the array or range of data for which you want to determine the k-th largest value.

k
number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是要返回的值在数组或单元格区域中的位置 (从大到小)。Is the position (from the largest) in the array or cell range of the value to return.

返回

FunctionResult<number>

lcm(values)

返回最小公倍数。Returns the least common multiple.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

lcm(...values: Array<number | string | Excel.Range | boolean | Excel.RangeReference | Excel.FunctionResult<any>>): FunctionResult<number>;

参数

values
Array<number | string | Excel.Range | boolean | Excel.RangeReference | Excel.FunctionResult<any>>

参数列表, 其元素为1到255要最小公倍数的值。List of parameters, whose elements are 1 to 255 values for which you want the least common multiple.

返回

FunctionResult<number>

left(text, numChars)

返回文本字符串开头的指定数量的字符。Returns the specified number of characters from the start of a text string.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

left(text: string | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, numChars?: number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<string>;

参数

text
string | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是包含要提取的字符的文本字符串。Is the text string containing the characters you want to extract.

numChars
number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

指定要提取的字符数;如果省略, 则为1。Specifies how many characters you want LEFT to extract; 1 if omitted.

返回

FunctionResult<string>

leftb(text, numBytes)

返回文本字符串开头的指定数量的字符。Returns the specified number of characters from the start of a text string. 与双字节字符集 (DBCS) 一起使用。Use with double-byte character sets (DBCS).

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

leftb(text: string | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, numBytes?: number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<string>;

参数

text
string | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是包含要提取的字符的文本字符串。Is the text string containing the characters you want to extract.

numBytes
number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

指定要返回的字符数。Specifies how many characters you want LEFT to return.

返回

FunctionResult<string>

len(text)

返回文本字符串中的字符数。Returns the number of characters in a text string.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

len(text: string | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<number>;

参数

text
string | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是要查找其长度的文本。Is the text whose length you want to find. 空格计为字符。Spaces count as characters.

返回

FunctionResult<number>

lenb(text)

返回文本字符串中的字符数。Returns the number of characters in a text string. 与双字节字符集 (DBCS) 一起使用。Use with double-byte character sets (DBCS).

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

lenb(text: string | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<number>;

参数

text
string | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是要查找其长度的文本。Is the text whose length you want to find.

返回

FunctionResult<number>

ln(number)

返回数字的自然对数。Returns the natural logarithm of a number.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

ln(number: number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<number>;

参数

number
number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

为要对其进行自然对数的正实数。Is the positive real number for which you want the natural logarithm.

返回

FunctionResult<number>

log(number, base)

按所指定的底数,返回一个数的对数。Returns the logarithm of a number to the base you specify.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

log(number: number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, base?: number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<number>;

参数

number
number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

为要对其进行对数的正实数。Is the positive real number for which you want the logarithm.

base
number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

为对数的底数;10 (如果省略)。Is the base of the logarithm; 10 if omitted.

返回

FunctionResult<number>

log10(number)

返回以 10 为底的对数。Returns the base-10 logarithm of a number.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

log10(number: number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<number>;

参数

number
number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

为需要得到10个对数的正实数。Is the positive real number for which you want the base-10 logarithm.

返回

FunctionResult<number>

logNorm_Dist(x, mean, standardDev, cumulative)

返回 x 的对数分布, 其中 ln (x) 通常使用参数均值和标准_dev 进行分布。Returns the lognormal distribution of x, where ln(x) is normally distributed with parameters Mean and Standard_dev.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

logNorm_Dist(x: number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, mean: number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, standardDev: number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, cumulative: boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<number>;

参数

x
number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是计算函数的值, 为正数。Is the value at which to evaluate the function, a positive number.

mean
number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是 ln (x) 的平均值。Is the mean of ln(x).

standardDev
number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

为 ln (x) 的标准偏差 (正数)。Is the standard deviation of ln(x), a positive number.

cumulative
boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是逻辑值: 对于累积的分布函数, 使用 TRUE;对于 "概率密度" 函数, 使用 FALSE。Is a logical value: for the cumulative distribution function, use TRUE; for the probability density function, use FALSE.

返回

FunctionResult<number>

logNorm_Inv(probability, mean, standardDev)

返回 x 的对数累积分布函数的反函数, 其中 ln (x) 通常使用参数均值和标准_dev 进行分布。Returns the inverse of the lognormal cumulative distribution function of x, where ln(x) is normally distributed with parameters Mean and Standard_dev.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

logNorm_Inv(probability: number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, mean: number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, standardDev: number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<number>;

参数

probability
number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是与对数分布相关的概率, 是介于0和1之间的数字 (包括0和 1)。Is a probability associated with the lognormal distribution, a number between 0 and 1, inclusive.

mean
number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是 ln (x) 的平均值。Is the mean of ln(x).

standardDev
number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

为 ln (x) 的标准偏差 (正数)。Is the standard deviation of ln(x), a positive number.

返回

FunctionResult<number>

lookup(lookupValue, lookupVector, resultVector)

从单行或单列区域或从一个数组中查找值。Looks up a value either from a one-row or one-column range or from an array. 提供用于向后兼容性。Provided for backward compatibility.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

lookup(lookupValue: number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, lookupVector: Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, resultVector?: Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<number | string | boolean>;

参数

lookupValue
number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是查找在 lookupVector 中搜索的值, 可以是数字、文本、逻辑值, 也可以是值的名称或引用。Is a value that LOOKUP searches for in lookupVector and can be a number, text, a logical value, or a name or reference to a value.

lookupVector
Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

为一个区域, 其中仅包含一行或一列的文本、数字或逻辑值, 以升序排列。Is a range that contains only one row or one column of text, numbers, or logical values, placed in ascending order.

resultVector
Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

为包含一个行或列的区域, 其大小与 lookupVector 相同。Is a range that contains only one row or column, the same size as lookupVector.

返回

FunctionResult<number | string | boolean>

lower(text)

将文本字符串中的所有字母转换为小写形式。Converts all letters in a text string to lowercase.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

lower(text: string | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<string>;

参数

text
string | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是要转换为小写形式的文本。Is the text you want to convert to lowercase. 不带字母字符的文本中的字符将被更改。Characters in Text that are not letters are not changed.

返回

FunctionResult<string>

match(lookupValue, lookupArray, matchType)

返回在指定方式下与指定数值匹配的数组中元素的相应位置。Returns the relative position of an item in an array that matches a specified value in a specified order.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

match(lookupValue: number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, lookupArray: number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, matchType?: number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<number>;

参数

lookupValue
number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是用于在数组、数字、文本或逻辑值中查找所需值的值, 也可以是对其中一个值的引用。Is the value you use to find the value you want in the array, a number, text, or logical value, or a reference to one of these.

lookupArray
number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是包含可能的查找值、值数组或对数组的引用的连续单元格区域。Is a contiguous range of cells containing possible lookup values, an array of values, or a reference to an array.

matchType
number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是数字1、0或-1, 指示要返回的值。Is a number 1, 0, or -1 indicating which value to return.

返回

FunctionResult<number>

max(values)

返回一组值中的最大值。Returns the largest value in a set of values. 忽略逻辑值和文本。Ignores logical values and text.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

max(...values: Array<number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>>): FunctionResult<number>;

参数

values
Array<number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>>

参数列表, 其中的元素为1到255个数字、空单元格、逻辑值或需要最大值的文本数字。List of parameters, whose elements are 1 to 255 numbers, empty cells, logical values, or text numbers for which you want the maximum.

返回

FunctionResult<number>

maxA(values)

返回一组值中的最大值。Returns the largest value in a set of values. 不忽略逻辑值和文本。Does not ignore logical values and text.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

maxA(...values: Array<number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>>): FunctionResult<number>;

参数

values
Array<number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>>

参数列表, 其中的元素为1到255个数字、空单元格、逻辑值或需要最大值的文本数字。List of parameters, whose elements are 1 to 255 numbers, empty cells, logical values, or text numbers for which you want the maximum.

返回

FunctionResult<number>

mduration(settlement, maturity, coupon, yld, frequency, basis)

返回 Macauley 的已修改持续时间, 其假定值为 $100 的有价证券。Returns the Macauley modified duration for a security with an assumed par value of $100.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

mduration(settlement: number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, maturity: number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, coupon: number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, yld: number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, frequency: number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, basis?: number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<number>;

参数

settlement
number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是债券的结算日, 以一串日期表示。Is the security's settlement date, expressed as a serial date number.

maturity
number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

为有价证券的到期日, 表示为一串日期号。Is the security's maturity date, expressed as a serial date number.

coupon
number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

为有价证券的年息票利率。Is the security's annual coupon rate.

yld
number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

为有价证券的年收益率。Is the security's annual yield.

frequency
number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

为每年的票息付款次数。Is the number of coupon payments per year.

basis
number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是要使用的日计数基准类型。Is the type of day count basis to use.

返回

FunctionResult<number>

median(values)

返回中值, 或指定的编号集中的数字。Returns the median, or the number in the middle of the set of given numbers.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

median(...values: Array<number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>>): FunctionResult<number>;

参数

values
Array<number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>>

参数列表, 其元素为1到255数字或包含要计算中间值的名称、数组或引用。List of parameters, whose elements are 1 to 255 numbers or names, arrays, or references that contain numbers for which you want the median.

返回

FunctionResult<number>

mid(text, startNum, numChars)

在给定起始位置和长度的情况下, 返回文本字符串中间的字符。Returns the characters from the middle of a text string, given a starting position and length.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

mid(text: string | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, startNum: number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, numChars: number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<string>;

参数

text
string | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是要从中提取字符的文本字符串。Is the text string from which you want to extract the characters.

startNum
number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是要提取的第一个字符的位置。Is the position of the first character you want to extract. Text 中的第一个字符是1。The first character in Text is 1.

numChars
number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

指定要从文本中返回的字符数。Specifies how many characters to return from Text.

返回

FunctionResult<string>

midb(text, startNum, numBytes)

在给定起始位置和长度的情况下, 返回文本字符串中间的字符。Returns characters from the middle of a text string, given a starting position and length. 与双字节字符集 (DBCS) 一起使用。Use with double-byte character sets (DBCS).

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

midb(text: string | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, startNum: number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, numBytes: number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<string>;

参数

text
string | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是包含要提取的字符的文本字符串。Is the text string containing the characters you want to extract.

startNum
number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是要提取在文本中的第一个字符的位置。Is the position of the first character you want to extract in text.

numBytes
number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

指定要从文本中返回的字符数。Specifies how many characters to return from text.

返回

FunctionResult<string>

min(values)

返回一组值中的最小值。Returns the smallest number in a set of values. 忽略逻辑值和文本。Ignores logical values and text.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

min(...values: Array<number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>>): FunctionResult<number>;

参数

values
Array<number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>>

参数列表, 其元素为1到255个数字、空单元格、逻辑值或需要最小值的文本编号。List of parameters, whose elements are 1 to 255 numbers, empty cells, logical values, or text numbers for which you want the minimum.

返回

FunctionResult<number>

minA(values)

返回一组值中的最小值。Returns the smallest value in a set of values. 不忽略逻辑值和文本。Does not ignore logical values and text.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

minA(...values: Array<number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>>): FunctionResult<number>;

参数

values
Array<number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>>

参数列表, 其元素为1到255个数字、空单元格、逻辑值或需要最小值的文本编号。List of parameters, whose elements are 1 to 255 numbers, empty cells, logical values, or text numbers for which you want the minimum.

返回

FunctionResult<number>

minute(serialNumber)

返回分钟, 是介于0到59之间的数字。Returns the minute, a number from 0 to 59.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

minute(serialNumber: number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<number>;

参数

serialNumber
number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是 Microsoft Excel 使用的日期时间代码或时间格式的文本 (如16:48:00 或 4:48:00 PM) 中的数字。Is a number in the date-time code used by Microsoft Excel or text in time format, such as 16:48:00 or 4:48:00 PM.

返回

FunctionResult<number>

mirr(values, financeRate, reinvestRate)

返回一系列定期现金流的内部收益率, 同时考虑投资成本和现金利率利息。Returns the internal rate of return for a series of periodic cash flows, considering both cost of investment and interest on reinvestment of cash.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

mirr(values: Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, financeRate: number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, reinvestRate: number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<number>;

参数

values
Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是数组或对单元格的引用, 这些单元格包含表示一系列付款 (负值) 和收入 (正数) 的数字。Is an array or a reference to cells that contain numbers that represent a series of payments (negative) and income (positive) at regular periods.

financeRate
number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是您在现金流量中使用的货币支付的利率。Is the interest rate you pay on the money used in the cash flows.

reinvestRate
number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是您在 reinvest 现金流时收到的利率。Is the interest rate you receive on the cash flows as you reinvest them.

返回

FunctionResult<number>

mod(number, divisor)

返回一个数除以一个除数后所得的余数。Returns the remainder after a number is divided by a divisor.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

mod(number: number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, divisor: number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<number>;

参数

number
number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是在执行除法后要计算其余数的数字。Is the number for which you want to find the remainder after the division is performed.

divisor
number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

为要除以的数字。Is the number by which you want to divide Number.

返回

FunctionResult<number>

month(serialNumber)

返回月, 是 1 (一月) 到 12 (十二月) 之间的一个数字。Returns the month, a number from 1 (January) to 12 (December).

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

month(serialNumber: number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<number>;

参数

serialNumber
number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是 Microsoft Excel 使用的日期时间代码中的数字。Is a number in the date-time code used by Microsoft Excel.

返回

FunctionResult<number>

mround(number, multiple)

返回参数按指定基数舍入后的数值。Returns a number rounded to the desired multiple.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

mround(number: number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, multiple: number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<number>;

参数

number
number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是要舍入的值。Is the value to round.

multiple
number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是要将数字舍入到的倍数。Is the multiple to which you want to round number.

返回

FunctionResult<number>

multiNomial(values)

返回一组数字的 multinomial。Returns the multinomial of a set of numbers.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

multiNomial(...values: Array<number | string | Excel.Range | boolean | Excel.RangeReference | Excel.FunctionResult<any>>): FunctionResult<number>;

参数

values
Array<number | string | Excel.Range | boolean | Excel.RangeReference | Excel.FunctionResult<any>>

参数列表, 其元素为要计算其 multinomial 的1到255个值。List of parameters, whose elements are 1 to 255 values for which you want the multinomial.

返回

FunctionResult<number>

n(value)

将非数字值转换为数字, 将日期转换为序列号, 如果为 1, 则为 1, 任何其他值都设置为 0 (零)。Converts non-number value to a number, dates to serial numbers, TRUE to 1, anything else to 0 (zero).

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

n(value: number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<number>;

参数

value
number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是要转换的值。Is the value you want converted.

返回

FunctionResult<number>

na()

返回错误值#N/A (值不可用)。Returns the error value #N/A (value not available).

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

na(): FunctionResult<number | string>;

返回

FunctionResult<number | string>

negBinom_Dist(numberF, numberS, probabilityS, cumulative)

返回负二项式分布的概率, 在第一次成功前__的数字发生次数为 f, 概率为成功的概率_为1。Returns the negative binomial distribution, the probability that there will be Number_f failures before the Number_s-th success, with Probability_s probability of a success.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

negBinom_Dist(numberF: number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, numberS: number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, probabilityS: number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, cumulative: boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<number>;

参数

numberF
number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是失败次数。Is the number of failures.

numberS
number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是成功的阈值数。Is the threshold number of successes.

probabilityS
number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是成功的概率;介于0和1之间的数字。Is the probability of a success; a number between 0 and 1.

cumulative
boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是逻辑值: 对于累积的分布函数, 使用 TRUE;对于 "概率密度" 函数, 使用 FALSE。Is a logical value: for the cumulative distribution function, use TRUE; for the probability mass function, use FALSE.

返回

FunctionResult<number>

networkDays_Intl(startDate, endDate, weekend, holidays)

使用自定义周末参数返回两个日期之间的完整工作日数。Returns the number of whole workdays between two dates with custom weekend parameters.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

networkDays_Intl(startDate: number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, endDate: number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, weekend?: number | string | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, holidays?: number | string | Excel.Range | boolean | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<number>;

参数

startDate
number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是表示开始日期的序列号。Is a serial date number that represents the start date.

endDate
number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是表示结束日期的序列号。Is a serial date number that represents the end date.

weekend
number | string | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是一个数字或字符串, 指定周末何时发生。Is a number or string specifying when weekends occur.

holidays
number | string | Excel.Range | boolean | Excel.RangeReference | Excel.FunctionResult<any>

是要从工作日历中排除的一个或多个序列号的可选集, 例如状态和联邦假日和浮动假日。Is an optional set of one or more serial date numbers to exclude from the working calendar, such as state and federal holidays and floating holidays.

返回

FunctionResult<number>

networkDays(startDate, endDate, holidays)

返回两个日期之间的完整工作日数。Returns the number of whole workdays between two dates.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

networkDays(startDate: number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, endDate: number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, holidays?: number | string | Excel.Range | boolean | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<number>;

参数

startDate
number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是表示开始日期的序列号。Is a serial date number that represents the start date.

endDate
number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是表示结束日期的序列号。Is a serial date number that represents the end date.

holidays
number | string | Excel.Range | boolean | Excel.RangeReference | Excel.FunctionResult<any>

是要从工作日历中排除的一个或多个序列号的可选集, 例如状态和联邦假日和浮动假日。Is an optional set of one or more serial date numbers to exclude from the working calendar, such as state and federal holidays and floating holidays.

返回

FunctionResult<number>

nominal(effectRate, npery)

返回年的名义利率。Returns the annual nominal interest rate.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

nominal(effectRate: number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, npery: number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<number>;

参数

effectRate
number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

为生效利率。Is the effective interest rate.

npery
number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是每年的复利期数。Is the number of compounding periods per year.

返回

FunctionResult<number>

norm_Dist(x, mean, standardDev, cumulative)

返回指定平均值和标准偏差的正态分布。Returns the normal distribution for the specified mean and standard deviation.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

norm_Dist(x: number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, mean: number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, standardDev: number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, cumulative: boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<number>;

参数

x
number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是要对其进行分布的值。Is the value for which you want the distribution.

mean
number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是分布的算术平均值。Is the arithmetic mean of the distribution.

standardDev
number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是分布的标准偏差, 正数。Is the standard deviation of the distribution, a positive number.

cumulative
boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是逻辑值: 对于累积的分布函数, 使用 TRUE;对于 "概率密度" 函数, 使用 FALSE。Is a logical value: for the cumulative distribution function, use TRUE; for the probability density function, use FALSE.

返回

FunctionResult<number>

norm_Inv(probability, mean, standardDev)

返回指定平均值和标准偏差的正态累积分布函数的反函数。Returns the inverse of the normal cumulative distribution for the specified mean and standard deviation.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

norm_Inv(probability: number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, mean: number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, standardDev: number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<number>;

参数

probability
number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是对应于正态分布的概率, 介于0和1之间 (含0和 1)。Is a probability corresponding to the normal distribution, a number between 0 and 1 inclusive.

mean
number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是分布的算术平均值。Is the arithmetic mean of the distribution.

standardDev
number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是分布的标准偏差, 正数。Is the standard deviation of the distribution, a positive number.

返回

FunctionResult<number>

norm_S_Dist(z, cumulative)

返回标准正态分布 (其平均值为零, 标准偏差为 1)。Returns the standard normal distribution (has a mean of zero and a standard deviation of one).

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

norm_S_Dist(z: number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, cumulative: boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<number>;

参数

z
number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是要对其进行分布的值。Is the value for which you want the distribution.

cumulative
boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是要返回的函数的逻辑值: 累积分布函数 = TRUE;概率密度函数 = FALSE。Is a logical value for the function to return: the cumulative distribution function = TRUE; the probability density function = FALSE.

返回

FunctionResult<number>

norm_S_Inv(probability)

返回标准正态累积分布 (其平均值为零, 标准偏差为 1) 的反函数。Returns the inverse of the standard normal cumulative distribution (has a mean of zero and a standard deviation of one).

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

norm_S_Inv(probability: number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<number>;

参数

probability
number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是对应于正态分布的概率, 介于0和1之间 (含0和 1)。Is a probability corresponding to the normal distribution, a number between 0 and 1 inclusive.

返回

FunctionResult<number>

not(logical)

将 FALSE 更改为 true, 或将 true 更改为 FALSE。Changes FALSE to TRUE, or TRUE to FALSE.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

not(logical: boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<boolean>;

参数

logical
boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是可计算结果为 TRUE 或 FALSE 的值或表达式。Is a value or expression that can be evaluated to TRUE or FALSE.

返回

FunctionResult<boolean>

now()

返回日期和时间格式的当前日期和时间。Returns the current date and time formatted as a date and time.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

now(): FunctionResult<number>;

返回

FunctionResult<number>

nper(rate, pmt, pv, fv, type)

基于固定利率及等额分期付款方式,返回某项投资的总期数。Returns the number of periods for an investment based on periodic, constant payments and a constant interest rate.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

nper(rate: number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, pmt: number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, pv: number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, fv?: number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, type?: number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<number>;

参数

rate
number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是每个期间的利率。Is the interest rate per period. 例如, 对每年 6% 的季度付款使用 6%/4。For example, use 6%/4 for quarterly payments at 6% APR.

pmt
number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是每个周期的付款金额;它在投资的整个生命周期中无法更改。Is the payment made each period; it cannot change over the life of the investment.

pv
number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

为现值, 或一系列未来付款现在所需的累积总和。Is the present value, or the lump-sum amount that a series of future payments is worth now.

fv
number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

为未来值, 或在最后一次付款后要达到的现金余额。Is the future value, or a cash balance you want to attain after the last payment is made. 如果省略, 则使用零。If omitted, zero is used.

type
number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是逻辑值: 期初付款 = 1;期初付款 = 0 或省略。Is a logical value: payment at the beginning of the period = 1; payment at the end of the period = 0 or omitted.

返回

FunctionResult<number>

npv(rate, values)

返回基于贴现率和一系列未来付款 (负值) 和收入 (正值) 的投资净现值。Returns the net present value of an investment based on a discount rate and a series of future payments (negative values) and income (positive values).

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

npv(rate: number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, ...values: Array<number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>>): FunctionResult<number>;

参数

rate
number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是一段时间内的折扣率。Is the rate of discount over the length of one period.

values
Array<number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>>

参数列表, 其元素为1到254的支出和收入, 在每个时间段的结束时间内均匀分布和发生。List of parameters, whose elements are 1 to 254 payments and income, equally spaced in time and occurring at the end of each period.

返回

FunctionResult<number>

numberValue(text, decimalSeparator, groupSeparator)

以独立于区域设置的方式将文本转换为数字。Converts text to number in a locale-independent manner.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

numberValue(text: string | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, decimalSeparator?: string | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, groupSeparator?: string | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<number>;

参数

text
string | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是代表要转换的数字的字符串。Is the string representing the number you want to convert.

decimalSeparator
string | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是用作字符串中的小数分隔符的字符。Is the character used as the decimal separator in the string.

groupSeparator
string | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是用作字符串中的组分隔符的字符。Is the character used as the group separator in the string.

返回

FunctionResult<number>

oct2Bin(number, places)

将八进制数转换为二进制数。Converts an octal number to binary.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

oct2Bin(number: number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, places?: number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<number>;

参数

number
number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是要转换的八进制数。Is the octal number you want to convert.

places
number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是要使用的字符数。Is the number of characters to use.

返回

FunctionResult<number>

oct2Dec(number)

将八进制数转换为十进制数。Converts an octal number to decimal.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

oct2Dec(number: number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<number>;

参数

number
number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是要转换的八进制数。Is the octal number you want to convert.

返回

FunctionResult<number>

oct2Hex(number, places)

将八进制数转换为十六进制数。Converts an octal number to hexadecimal.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

oct2Hex(number: number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, places?: number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<number>;

参数

number
number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是要转换的八进制数。Is the octal number you want to convert.

places
number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是要使用的字符数。Is the number of characters to use.

返回

FunctionResult<number>

odd(number)

将正数值向上和负数向下舍入到最接近的奇数整数。Rounds a positive number up and negative number down to the nearest odd integer.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

odd(number: number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<number>;

参数

number
number | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是要舍入的值。Is the value to round.

返回

FunctionResult<number>

oddFPrice(settlement, maturity, issue, firstCoupon, rate, yld, redemption, frequency, basis)

返回第一期为奇数的债券的 $100 的价格值。Returns the price per $100 face value of a security with an odd first period.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

oddFPrice(settlement: number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, maturity: number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, issue: number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, firstCoupon: number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, rate: number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, yld: number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, redemption: number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, frequency: number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, basis?: number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<number>;

参数

settlement
number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是债券的结算日, 以一串日期表示。Is the security's settlement date, expressed as a serial date number.

maturity
number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

为有价证券的到期日, 表示为一串日期号。Is the security's maturity date, expressed as a serial date number.

issue
number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是债券的发行日, 表示为一串日期号。Is the security's issue date, expressed as a serial date number.

firstCoupon
number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是有价证券的第一个优惠券日期, 表示为一串日期。Is the security's first coupon date, expressed as a serial date number.

rate
number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

为有价证券的利率。Is the security's interest rate.

yld
number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

为有价证券的年收益率。Is the security's annual yield.

redemption
number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是有价证券的清偿价值 (每个 $100) 的值。Is the security's redemption value per $100 face value.

frequency
number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

为每年的票息付款次数。Is the number of coupon payments per year.

basis
number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是要使用的日计数基准类型。Is the type of day count basis to use.

返回

FunctionResult<number>

oddFYield(settlement, maturity, issue, firstCoupon, rate, pr, redemption, frequency, basis)

返回第一期为奇数的有价证券的收益率。Returns the yield of a security with an odd first period.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

oddFYield(settlement: number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, maturity: number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, issue: number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, firstCoupon: number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, rate: number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, pr: number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, redemption: number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, frequency: number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, basis?: number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<number>;

参数

settlement
number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是债券的结算日, 以一串日期表示。Is the security's settlement date, expressed as a serial date number.

maturity
number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

为有价证券的到期日, 表示为一串日期号。Is the security's maturity date, expressed as a serial date number.

issue
number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是债券的发行日, 表示为一串日期号。Is the security's issue date, expressed as a serial date number.

firstCoupon
number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是有价证券的第一个优惠券日期, 表示为一串日期。Is the security's first coupon date, expressed as a serial date number.

rate
number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

为有价证券的利率。Is the security's interest rate.

pr
number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

为有价证券的价格。Is the security's price.

redemption
number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是有价证券的清偿价值 (每个 $100) 的值。Is the security's redemption value per $100 face value.

frequency
number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

为每年的票息付款次数。Is the number of coupon payments per year.

basis
number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是要使用的日计数基准类型。Is the type of day count basis to use.

返回

FunctionResult<number>

oddLPrice(settlement, maturity, lastInterest, rate, yld, redemption, frequency, basis)

返回与前一期为奇数的有价证券的每 $100 的价格值。Returns the price per $100 face value of a security with an odd last period.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

oddLPrice(settlement: number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, maturity: number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, lastInterest: number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, rate: number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, yld: number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, redemption: number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, frequency: number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>, basis?: number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<number>;

参数

settlement
number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是债券的结算日, 以一串日期表示。Is the security's settlement date, expressed as a serial date number.

maturity
number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

为有价证券的到期日, 表示为一串日期号。Is the security's maturity date, expressed as a serial date number.

lastInterest
number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

为有价证券的最后一个付息日, 表示为一串日期号。Is the security's last coupon date, expressed as a serial date number.

rate
number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

为有价证券的利率。Is the security's interest rate.

yld
number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

为有价证券的年收益率。Is the security's annual yield.

redemption
number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是有价证券的清偿价值 (每个 $100) 的值。Is the security's redemption value per $100 face value.

frequency
number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

为每年的票息付款次数。Is the number of coupon payments per year.

basis
number | string | boolean | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>

是要使用的日计数基准类型。Is the type of day count basis to use.

返回

FunctionResult<number>

oddLYield(settlement, maturity, lastInterest, rate, pr, redemption, frequency, basis)