函数

Odoo 试算表支持大多数试算表解决方案中的公式和函数。本页面按类别列出了可用的函数。Odoo 专属函数既包含在相关类别中,也包含在专门的Odoo类别中:

注解

在导出电子表格时,包含与 Excel 不兼容的函数的公式会被其评估结果取代。

数组

名称和参数

说明或链接

ARRAY.CONSTRAIN(input_range, rows, columns)

返回限制为特定宽度和高度的结果数组(与 Excel 不兼容)

CHOOSECOLS(array, col_num, [col_num2, …])

Excel CHOOSECOLS 文章

CHOOSEROWS(array, row_num, [row_num2, …])

Excel CHOOSEROWS 文章

EXPAND(array, rows, [columns], [pad_with])

Excel EXPAND 文章

FLATTEN(范围, [范围2, …])

将一个或多个范围内的所有值平铺到单列中(与 Excel 不兼容)

频率(数据、类别)

`Excel FREQUENCY 函数文章<https://support.microsoft.com/office/frequency-function-44e3be2b-eca0-42cd-a3f7-fd9ea898fdb9>`_

HSTACK(范围, [范围2, …])

`Excel HSTACK 函数文章<https://support.microsoft.com/office/hstack-function-98c4ab76-10fe-4b4f-8d5f-af1c125fe8c2>`_

MDETERM(square_matrix)

`Excel MDETERM 函数文章<https://support.microsoft.com/office/mdeterm-function-e7bfa857-3834-422b-b871-0ffd03717020>`_

MINVERSE(square_matrix)

Excel MINVERSE 函数文章

MMULT(matrix1, matrix2)

Excel MMULT 函数文章

SUMPRODUCT(范围, [范围2, …])

Excel SUMPRODUCT 函数文章

SUMX2MY2(array_x, array_y)

Excel SUMX2MY2 函数文章

SUMX2PY2(array_x, array_y)

`Excel SUMX2PY2 函数文章<https://support.microsoft.com/office/sumx2py2-function-826b60b4-0aa2-4e5e-81d2-be704d3d786f>`_

SUMXMY2(array_x, array_y)

Excel SUMXMY2 函数文章

TOCOL(array, [ignore], [scan_by_column])

Excel TOCOL 函数文章

TOROW(array, [ignore], [scan_by_column])

Excel TOROW 函数文章

TRANSPOSE(范围)

Excel TRANSPOSE 函数文章

VSTACK(范围, [范围2, …])

`Excel VSTACK 函数文章<https://support.microsoft.com/office/vstack-function-a4b86897-be0f-48fc-adca-fcc10d795a9c>`_

WRAPCOLS(range, wrap_count, [pad_with])

Excel WRAPCOLS 函数文章

WRAPROWS(range, wrap_count, [pad_with])

Excel WRAPROWS 函数文章

数据库

名称和参数

说明或链接

DAVERAGE(数据库、字段、标准)

`Excel DAVERAGE 函数文章<https://support.microsoft.com/office/daverage-function-a6a2d5ac-4b4b-48cd-a1d8-7b37834e5aee>`_

DCOUNT(数据库、字段、标准)

Excel DCOUNT 函数文章

DCOUNTA(数据库、字段、标准)

`Excel DCOUNTA 函数文章<https://support.microsoft.com/office/dcounta-function-00232a6d-5a66-4a01-a25b-c1653fda1244>`_

DGET(数据库、字段、标准)

Excel DGET 函数文章

DMAX(数据库、字段、标准)

Excel DMAX 函数文章

DMIN(数据库、字段、标准)

Excel DMIN 函数文章

DPRODUCT(数据库、字段、标准)

Excel DPRODUCT 函数文章

DSTDEV(数据库、字段、标准)

Excel DSTDEV 函数文章

DSTDEVP(数据库、字段、标准)

Excel DSTDEVP 函数文章

DSUM(数据库、字段、标准)

Excel DSUM 函数文章

DVAR(数据库、字段、标准)

Excel DVAR 函数文章

DVARP(数据库、字段、标准)

Excel DVARP 函数文章

日期

名称和参数

说明或链接

日期(年、月、日)

Excel DATE 函数文章

DATEDIF(开始_日期、结束_日期、单位)

Excel DATEDIF 函数文章

DATEVALUE(日期_字符串)

Excel DATEVALUE 函数文章

天(日期)

Excel DAY 函数文章

DAYS(end_date, start_date)

Excel DAYS 函数文章

DAYS360(start_date, end_date, [method])

Excel DAYS360 文章

EDATE(start_date, months)

Excel EDATE 文章

EOMONTH(start_date, months)

Excel EOMONTH 文章

小时(时间)

Excel 小时文章

ISOWEEKNUM(日期)

Excel ISOWEEKNUM 文章

分钟(时间)

Excel 分钟文章

月份(日期)

Excel 月份文章

MONTH.END(date)

日期所在月份之后一个月的最后一天(与 Excel 不兼容)

MONTH.START(date)

日期所在月份之前一个月的第一天(与 Excel 不兼容)

NETWORKDAYS(start_date, end_date, [holidays])

Excel NETWORKDAYS 文章

NETWORKDAYS.INTL(start_date, end_date, [weekend], [holidays])

Excel NETWORKDAYS.INTL 文章

NOW()

Excel NOW 文章

QUARTER(date)

特定日期所属的年度季度(与 Excel 不兼容)

QUARTER.END(date)

特定日期所在季度的最后一天(不兼容 Excel)

QUARTER.START(date)

特定日期所在季度的第一天(不兼容 Excel)

SECOND(time)

Excel SECOND 文章

TIME(hour, minute, second)

Excel TIME 文章

TIMEVALUE(time_string)

Excel TIMEVALUE 文章

TODAY()

Excel TODAY 文章

WEEKDAY(date, [type])

Excel WEEKDAY 文章

WEEKNUM(date, [type])

Excel WEEKNUM 文章

WORKDAY(start_date, num_days, [holidays])

Excel WORKDAY 文章

WORKDAY.INTL(start_date, num_days, [weekend], [holidays])

Excel WORKDAY.INTL 文章

YEAR(date)

Excel YEAR 文章

YEAR.END(date)

特定日期所在年份的最後一天(與 Excel 不相容)

YEAR.START(date)

特定日期所在年份的第一天(與 Excel 不相容)

YEARFRAC(start_date, end_date, [day_count_convention])

兩個日期之間的確切年數(與 Excel 不相容)

工程

名称和参数

说明或链接

DELTA(number1, [number2])

Excel DELTA 文章

筛选

名称和参数

说明或链接

FILTER(range, condition1, [condition2, …])

Excel FILTER 文章

ODOO.FILTER.VALUE(filter_name)

返回試算表篩選器的當前值(與 Excel 不相容)

SORT(range, [sort_column, …], [is_ascending, …])

Excel SORT 文章

UNIQUE(range, [by_column], [exactly_once])

Excel UNIQUE 文章

财务

名称和参数

说明或链接

ACCRINTM(issue, maturity, rate, redemption, [day_count_convention])

Excel ACCRINTM 文章

AMORLINC(cost, purchase_date, first_period_end, salvage, period, rate, [day_count_convention])

`Excel AMORLINC 文章<https://support.microsoft.com/office/amorlinc-function-7d417b45-f7f5-4dba-a0a5-3451a81079a8>`_

COUPDAYBS(settlement, maturity, frequency, [day_count_convention])

`Excel COUPDAYBS 文章<https://support.microsoft.com/office/coupdaybs-function-eb9a8dfb-2fb2-4c61-8e5d-690b320cf872>`_

COUPDAYS(settlement, maturity, frequency, [day_count_convention])

`Excel COUPDAYS 文章<https://support.microsoft.com/office/coupdays-function-cc64380b-315b-4e7b-950c-b30b0a76f671>`_

COUPDAYSNC(settlement, maturity, frequency, [day_count_convention])

`Excel COUPDAYSNC 文章<https://support.microsoft.com/office/coupdaysnc-function-5ab3f0b2-029f-4a8b-bb65-47d525eea547>`_

COUPNCD(settlement, maturity, frequency, [day_count_convention])

`Excel COUPNCD 文章<https://support.microsoft.com/office/coupncd-function-fd962fef-506b-4d9d-8590-16df5393691f>`_

COUPNUM(settlement, maturity, frequency, [day_count_convention])

`Excel COUPNUM 文章<https://support.microsoft.com/office/coupnum-function-a90af57b-de53-4969-9c99-dd6139db2522>`_

COUPPCD(settlement, maturity, frequency, [day_count_convention])

`Excel COUPPCD 文章<https://support.microsoft.com/office/couppcd-function-2eb50473-6ee9-4052-a206-77a9a385d5b3>`_

CUMIPMT(rate, number_of_periods, present_value, first_period, last_period, [end_or_beginning])

`Excel CUMIPMT 文章<https://support.microsoft.com/office/cumipmt-function-61067bb0-9016-427d-b95b-1a752af0e606>`_

CUMPRINC(rate, number_of_periods, present_value, first_period, last_period, [end_or_beginning])

`Excel CUMPRINC 文章<https://support.microsoft.com/office/cumprinc-function-94a4516d-bd65-41a1-bc16-053a6af4c04d>`_

DB(cost, salvage, life, period, [month])

`Excel DB 文章<https://support.microsoft.com/office/db-function-354e7d28-5f93-4ff1-8a52-eb4ee549d9d7>`_

DDB(cost, salvage, life, period, [factor])

`Excel DDB 文章<https://support.microsoft.com/office/ddb-function-519a7a37-8772-4c96-85c0-ed2c209717a5>`_

DISC(settlement, maturity, price, redemption, [day_count_convention])

`Excel DISC 文章<https://support.microsoft.com/office/disc-function-71fce9f3-3f05-4acf-a5a3-eac6ef4daa53>`_

DOLLARDE(fractional_price, unit)

`Excel DOLLARDE 文章<https://support.microsoft.com/office/dollarde-function-db85aab0-1677-428a-9dfd-a38476693427>`_

DOLLARFR(decimal_price, unit)

`Excel DOLLARFR 文章<https://support.microsoft.com/office/dollarfr-function-0835d163-3023-4a33-9824-3042c5d4f495>`_

DURATION(settlement, maturity, rate, yield, frequency, [day_count_convention])

`Excel DURATION 文章<https://support.microsoft.com/office/duration-function-b254ea57-eadc-4602-a86a-c8e369334038>`_

EFFECT(nominal_rate, periods_per_year)

`Excel EFFECT 文章<https://support.microsoft.com/office/effect-function-910d4e4c-79e2-4009-95e6-507e04f11bc4>`_

FV(rate, number_of_periods, payment_amount, [present_value], [end_or_beginning])

`Excel FV 文章<https://support.microsoft.com/office/fv-function-2eef9f44-a084-4c61-bdd8-4fe4bb1b71b3>`_

FVSCHEDULE(principal, rate_schedule)

`Excel FVSCHEDULE 文章<https://support.microsoft.com/office/fvschedule-function-bec29522-bd87-4082-bab9-a241f3fb251d>`_

INTRATE(settlement, maturity, investment, redemption, [day_count_convention])

`Excel INTRATE 文章<https://support.microsoft.com/office/intrate-function-5cb34dde-a221-4cb6-b3eb-0b9e55e1316f>`_

IPMT(rate, period, number_of_periods, present_value, [future_value], [end_or_beginning])

`Excel IPMT 文章<https://support.microsoft.com/office/ipmt-function-5cce0ad6-8402-4a41-8d29-61a0b054cb6f>`_

IRR(cashflow_amounts, [rate_guess])

Excel IRR 文章

ISPMT(rate, period, number_of_periods, present_value)

Excel ISPMT 文章

MDURATION(settlement, maturity, rate, yield, frequency, [day_count_convention])

Excel MDURATION 文章

MIRR(cashflow_amounts, financing_rate, reinvestment_return_rate)

Excel MIRR 文章

NOMINAL(effective_rate, periods_per_year)

Excel NOMINAL 文章

NPER(rate, payment_amount, present_value, [future_value], [end_or_beginning])

Excel NPER 文章

NPV(discount, cashflow1, [cashflow2, …])

Excel NPV 文章

ODOO.ACCOUNT.GROUP(type)

返回给定组的会计科目 ID(与 Excel 不兼容)

ODOO.BALANCE(account_codes, date_range, [offset], [company_id], [include_unposted])

返回指定科目和期间的总余额(不兼容Excel)

ODOO.BALANCE.TAG(account_tag_ids, [date_range], [offset], [company_id], [include_unposted])

返回指定标签和期间的账户余额(与 Excel 不兼容)

ODOO.CREDIT(account_codes, date_range, [offset], [company_id], [include_unposted])

返回指定账户和期间的信用总额(与 Excel 不兼容)

ODOO.CURRENCY.RATE(currency_from, currency_to, [date])

接受两个货币代码作为参数,并以浮点数形式返回从第一个货币到第二个货币的汇率(与 Excel 不兼容)

ODOO.DEBIT(account_codes, date_range, [offset], [company_id], [include_unposted])

返回指定账户和期间的借记总额(与 Excel 不兼容)

ODOO.FISCALYEAR.END(day, [company_id])

返回包含所提供日期的会计年度的结束日期(与 Excel 不兼容)

ODOO.FISCALYEAR.START(day, [company_id])

返回包含所提供日期的会计年度的开始日期(与 Excel 不兼容)

ODOO.PARTNER.BALANCE(partner_ids, [account_codes], [date_range], [offset], [company_id], [include_unposted])

返回指定账户和期间的合作伙伴余额(与 Excel 不兼容)

ODOO.RESIDUAL([account_codes], [date_range], [offset], [company_id], [include_unposted])

返回指定账户和期间的剩余金额(与 Excel 不兼容)

PDURATION(rate, present_value, future_value)

Excel PDURATION 文章

PMT(rate, number_of_periods, present_value, [future_value], [end_or_beginning])

Excel PMT 文章

PPMT(rate, period, number_of_periods, present_value, [future_value], [end_or_beginning])

Excel PPMT 文章

PRICE(settlement, maturity, rate, yield, redemption, frequency, [day_count_convention])

Excel PRICE 文章

PRICEDISC(settlement, maturity, discount, redemption, [day_count_convention])

Excel PRICEDISC 文章

PRICEMAT(settlement, maturity, issue, rate, yield, [day_count_convention])

Excel PRICEMAT 文章

PV(rate, number_of_periods, payment_amount, [future_value], [end_or_beginning])

Excel PV 文章

RATE(number_of_periods, payment_per_period, present_value, [future_value], [end_or_beginning], [rate_guess])

Excel RATE 文章

RECEIVED(settlement, maturity, investment, discount, [day_count_convention])

Excel RECEIVED 文章

RRI(number_of_periods, present_value, future_value)

Excel RRI 文章

SLN(cost, salvage, life)

Excel SLN 文章

SYD(cost, salvage, life, period)

Excel SYD 文章

TBILLEQ(settlement, maturity, discount)

Excel TBILLEQ 文章

TBILLPRICE(settlement, maturity, discount)

Excel TBILLPRICE 文章

TBILLYIELD(settlement, maturity, price)

Excel TBILLYIELD 文章

VDB(cost, salvage, life, start, end, [factor], [no_switch])

Excel VDB 文章

XIRR(cashflow_amounts, cashflow_dates, [rate_guess])

Excel XIRR 文章

XNPV(discount, cashflow_amounts, cashflow_dates)

Excel XNPV 文章

YIELD(settlement, maturity, rate, price, redemption, frequency, [day_count_convention])

Excel YIELD 文章

YIELDDISC(settlement, maturity, price, redemption, [day_count_convention])

Excel YIELDDISC 文章

YIELDMAT(settlement, maturity, issue, rate, price, [day_count_convention])

Excel YIELDMAT 文章

信息

名称和参数

说明或链接

CELL(info_type, reference)

Excel CELL 文章

ISBLANK(value)

Excel IS 文章

ISERR(value)

Excel IS 文章

ISERROR(value)

Excel IS 文章

ISLOGICAL(value)

Excel IS 文章

ISNA(value)

Excel IS 文章

ISNONTEXT(value)

Excel IS 文章

ISNUMBER(value)

Excel IS 文章

ISTEXT(value)

Excel IS 文章

NA()

Excel NA 文章

逻辑

名称和参数

说明或链接

AND(logical_expression1, [logical_expression2, …])

Excel AND 文章

FALSE()

Excel FALSE 文章

IF(logical_expression, value_if_true, [value_if_false])

Excel IF 文章

IFERROR(value, [value_if_error])

Excel IFERROR 文章

IFNA(value, [value_if_error])

Excel IFNA 文章

IFS(condition1, value1, [condition2, …], [value2, …])

Excel IFS 文章

NOT(logical_expression)

Excel NOT 文章

OR(logical_expression1, [logical_expression2, …])

Excel OR 文章

SWITCH(expression, case1, value1, [case2, …], [value2, …], [default])

Excel SWITCH 文章

TRUE()

Excel TRUE 文章

XOR(logical_expression1, [logical_expression2, …])

Excel XOR 文章

查找

名称和参数

说明或链接

ADDRESS(row, column, [absolute_relative_mode], [use_a1_notation], [sheet])

Excel ADDRESS 文章

COLUMN([cell_reference])

Excel COLUMN 文章

COLUMNS(range)

Excel COLUMNS 文章

HLOOKUP(search_key, range, index, [is_sorted])

Excel HLOOKUP 文章

INDEX(reference, row, column)

Excel INDEX 文章

INDIRECT(reference, [use_a1_notation])

Excel INDIRECT 文章

LOOKUP(search_key, search_array, [result_range])

Excel LOOKUP 文章

MATCH(search_key, range, [search_type])

Excel MATCH 文章

OFFSET(reference, rows, cols, [height], [width])

Excel OFFSET 文章

PIVOT(pivot_id, [row_count], [include_total], [include_column_titles], [column_count])

创建数据透视表(与 Excel 不兼容)

PIVOT.HEADER(pivot_id, [domain_field_name, …], [domain_value, …])

返回数据透视表的标题(与 Excel 不兼容)

PIVOT.VALUE(pivot_id, measure_name, [domain_field_name, …], [domain_value, …])

返回数据透视表中的值(与 Excel 不兼容)

ROW([cell_reference])

Excel ROW 文章

ROWS(range)

Excel ROWS 文章

VLOOKUP(search_key, range, index, [is_sorted])

Excel VLOOKUP 文章

XLOOKUP(search_key, lookup_range, return_range, [if_not_found], [match_mode], [search_mode])

Excel XLOOKUP 文章

数学

名称和参数

说明或链接

ABS(value)

Excel ABS 文章

ACOS(value)

Excel ACOS 文章

ACOSH(value)

Excel ACOSH 文章

ACOT(value)

Excel ACOT 文章

ACOTH(value)

Excel ACOTH 文章

ASIN(value)

Excel ASIN 文章

ASINH(value)

Excel ASINH 文章

ATAN(value)

Excel ATAN 文章

ATAN2(x, y)

Excel ATAN2 文章

ATANH(value)

Excel ATANH 文章

CEILING(value, [factor])

Excel CEILING 文章

CEILING.MATH(number, [significance], [mode])

Excel CEILING.MATH 文章

CEILING.PRECISE(number, [significance])

Excel CEILING.PRECISE 文章

COS(angle)

Excel COS 文章

COSH(value)

Excel COSH 文章

COT(angle)

Excel COT 文章

COTH(value)

Excel COTH 文章

COUNTBLANK(value1, [value2, …])

Excel COUNTBLANK 文章

COUNTIF(range, criterion)

Excel COUNTIF 文章

COUNTIFS(criteria_range1, criterion1, [criteria_range2, …], [criterion2, …])

Excel COUNTIFS 文章

CSC(angle)

Excel CSC 文章

CSCH(value)

Excel CSCH 文章

DECIMAL(value, base)

Excel DECIMAL 文章

DEGREES(angle)

Excel DEGREES 文章

EXP(value)

Excel EXP 文章

FLOOR(value, [factor])

Excel FLOOR 文章

FLOOR.MATH(number, [significance], [mode])

Excel FLOOR.MATH 文章

FLOOR.PRECISE(number, [significance])

Excel FLOOR.PRECISE 文章

INT(value)

Excel INT 文章

ISEVEN(value)

Excel ISEVEN 文章

ISO.CEILING(number, [significance])

Excel ISO.CEILING 文章

ISODD(value)

Excel ISODD 文章

LN(value)

Excel LN 文章

LOG(value, [base])

返回给定底数的数字对数(与 Excel 不兼容)

MOD(dividend, divisor)

Excel MOD 文章

MUNIT(dimension)

Excel MUNIT 文章

ODD(value)

Excel ODD 文章

PI()

Excel PI 文章

POWER(base, exponent)

Excel POWER 文章

PRODUCT(factor1, [factor2, …])

Excel PRODUCT 文章

RAND()

Excel RAND 文章

RANDARRAY([rows], [columns], [min], [max], [whole_number])

Excel RANDARRAY 文章

RANDBETWEEN(low, high)

Excel RANDBETWEEN 文章

ROUND(value, [places])

Excel ROUND 文章

ROUNDDOWN(value, [places])

Excel ROUNDDOWN 文章

ROUNDUP(value, [places])

Excel ROUNDUP 文章

SEC(angle)

Excel SEC 文章

SECH(value)

Excel SECH 文章

SEQUENCE(rows, [columns], [start], ][step])

Excel SEQUENCE 文章

SIN(angle)

Excel SIN 文章

SINH(value)

Excel SINH 文章

SQRT(value)

Excel SQRT 文章

SUBTOTAL(function_code, ref1, [ref2, …])

Excel SUBTOTAL 文章

SUM(value1, [value2, …])

Excel SUM 文章

SUMIF(criteria_range, criterion, [sum_range])

Excel SUMIF 文章

SUMIFS(sum_range, criteria_range1, criterion1, [criteria_range2, …], [criterion2, …])

Excel SUMIFS 文章

TAN(angle)

Excel TAN 文章

TANH(value)

Excel TANH 文章

TRUNC(value, [places])

Excel TRUNC 文章

操作员

名称和参数

说明或链接

ADD(value1, value2)

兩個數字的總和(與 Excel 不相容)

CONCAT(value1, value2)

Excel CONCAT 文章

DIVIDE(dividend, divisor)

一個數字除以另一個數字(與 Excel 不相容)

EQ(value1, value2)

等於(與 Excel 不相容)

GT(value1, value2)

嚴格大於(與 Excel 不相容)

GTE(value1, value2)

大於或等於(與 Excel 不相容)

LT(value1, value2)

小於(與 Excel 不相容)

LTE(value1, value2)

小於或等於(與 Excel 不相容)

MINUS(value1, value2)

兩個數字的差(與 Excel 不相容)

MULTIPLY(factor1, factor2)

兩個數字的乘積(與 Excel 不相容)

NE(value1, value2)

不等於(與 Excel 不相容)

POW(base, exponent)

一個數字的冪次(與 Excel 不相容)

UMINUS(value)

带有符号反转的数字(与Excel不兼容)

UNARY.PERCENT(percentage)

作为百分比解释的值(与Excel不兼容)

UPLUS(value)

指定的数字,保持不变(与Excel不兼容)

解析器

名称和参数

说明或链接

CONVERT(number, from_unit, to_unit)

Excel CONVERT 文章

统计

名称和参数

说明或链接

AVEDEV(value1, [value2, …])

Excel AVEDEV 文章

AVERAGE(value1, [value2, …])

Excel AVERAGE 文章

AVERAGEA(value1, [value2, …])

Excel AVERAGEA 文章

AVERAGEIF(criteria_range, criterion, [average_range])

Excel AVERAGEIF 文章

AVERAGEIFS(average_range, criteria_range1, criterion1, [criteria_range2, …], [criterion2, …])

Excel AVERAGEIFS 文章

AVERAGE.WEIGHTED(values, weights, [additional_values, …], [additional_weights, …])

加权平均(与Excel不兼容)

CORREL(data_y, data_x)

Excel CORREL 文章

COUNT(value1, [value2, …])

Excel COUNT 文章

COUNTA(value1, [value2, …])

Excel COUNTA 文章

COVAR(data_y, data_x)

Excel COVAR 文章

COVARIANCE.P(data_y, data_x)

Excel COVARIANCE.P 文章

COVARIANCE.S(data_y, data_x)

Excel COVARIANCE.S 文章

FORECAST(x, data_y, data_x)

Excel FORECAST 文章

GROWTH(known_data_y, [known_data_x], [new_data_x], [b])

将点拟合到指数增长趋势(与 Excel 不兼容)

INTERCEPT(data_y, data_x)

Excel INTERCEPT 文章

LARGE(data, n)

Excel LARGE 文章

LINEST(data_y, [data_x], [calculate_b], [verbose])

Excel LINEST 文章

LOGEST(data_y, [data_x], [calculate_b], [verbose])

Excel LOGEST 文章

MATTHEWS(data_x, data_y)

计算数据集的马修斯相关系数(与 Excel 不兼容)

MAX(value1, [value2, …])

Excel MAX 文章

MAXA(value1, [value2, …])

Excel MAXA 文章

MAXIFS(range, criteria_range1, criterion1, [criteria_range2, …], [criterion2, …])

Excel MAXIFS 文章

MEDIAN(value1, [value2, …])

Excel MEDIAN 文章

MIN(value1, [value2, …])

Excel MIN 文章

MINA(value1, [value2, …])

Excel MINA 文章

MINIFS(range, criteria_range1, criterion1, [criteria_range2, …], [criterion2, …])

Excel MINIFS 文章

PEARSON(data_y, data_x)

Excel PEARSON 文章

PERCENTILE(data, percentile)

Excel PERCENTILE 文章

PERCENTILE.EXC(data, percentile)

Excel PERCENTILE.EXC 文章

PERCENTILE.INC(data, percentile)

Excel PERCENTILE.INC 文章

POLYFIT.COEFFS(data_y, data_x, order, [intercept])

计算数据集的多项式回归系数(与 Excel 不兼容)

POLYFIT.FORECAST(x, data_y, data_x, order, [intercept])

通过计算数据集的多项式回归来预测值(与 Excel 不兼容)

QUARTILE(data, quartile_number)

Excel QUARTILE 文章

QUARTILE.EXC(data, quartile_number)

Excel QUARTILE.EXC 文章

QUARTILE.INC(data, quartile_number)

Excel QUARTILE.INC 文章

RANK(value, data, [is_ascending])

Excel RANK 文章

RSQ(data_y, data_x)

Excel RSQ 文章

SLOPE(data_y, data_x)

Excel SLOPE 文章

SMALL(data, n)

`Excel SMALL 文章<https://support.microsoft.com/office/small-function-17da8222-7c82-42b2-961b-14c45384df07>`_

SPEARMAN(data_y, data_x)

计算数据集的斯皮尔曼等级相关系数(与 Excel 不兼容)

STDEV(value1, [value2, …])

`Excel STDEV 文章<https://support.microsoft.com/office/stdev-function-51fecaaa-231e-4bbb-9230-33650a72c9b0>`_

STDEV.P(value1, [value2, …])

`Excel STDEV.P 文章<https://support.microsoft.com/office/stdev-p-function-6e917c05-31a0-496f-ade7-4f4e7462f285>`_

STDEV.S(value1, [value2, …])

`Excel STDEV.S 文章<https://support.microsoft.com/office/stdev-s-function-7d69cf97-0c1f-4acf-be27-f3e83904cc23>`_

STDEVA(value1, [value2, …])

`Excel STDEVA 文章<https://support.microsoft.com/office/stdeva-function-5ff38888-7ea5-48de-9a6d-11ed73b29e9d>`_

STDEVP(value1, [value2, …])

`Excel STDEVP 文章<https://support.microsoft.com/office/stdevp-function-1f7c1c88-1bec-4422-8242-e9f7dc8bb195>`_

STDEVPA(value1, [value2, …])

`Excel STDEVPA 文章<https://support.microsoft.com/office/stdevpa-function-5578d4d6-455a-4308-9991-d405afe2c28c>`_

STEYX(data_y, data_x)

`Excel STEYX 文章<https://support.microsoft.com/office/steyx-function-6ce74b2c-449d-4a6e-b9ac-f9cef5ba48ab>`_

TREND(known_data_y, [known_data_x], [new_data_x], [b])

通过最小二乘法拟合点到线性趋势(与 Excel 不兼容)

VAR(value1, [value2, …])

Excel VAR article

VAR.P(value1, [value2, …])

Excel VAR.P article

VAR.S(value1, [value2, …])

Excel VAR.S article

VARA(value1, [value2, …])

Excel VARA article

VARP(value1, [value2, …])

Excel VARP article

VARPA(value1, [value2, …])

Excel VARPA article

文本

名称和参数

说明或链接

CHAR(table_number)

Excel CHAR article

CLEAN(text)

Excel CLEAN article

CONCATENATE(string1, [string2, …])

Excel CONCATENATE article

EXACT(string1, string2)

Excel EXACT article

FIND(search_for, text_to_search, [starting_at])

Excel FIND 文章

JOIN(delimiter, value_or_array1, [value_or_array2, …])

使用分隔符连接数组元素(与 Excel 不兼容)

LEFT(text, [number_of_characters])

Excel LEFT 文章

LEN(text)

Excel LEN 文章

LOWER(text)

Excel LOWER 文章

MID(text, starting_at, extract_length)

Excel MID 文章

PROPER(text_to_capitalize)

Excel PROPER 文章

REPLACE(text, position, length, new_text)

Excel REPLACE 文章

REGEXEXTRACT(text, pattern, [return_mode], [case_sensitivity])

Excel REGEXEXTRACT 文章

RIGHT(text, [number_of_characters])

Excel RIGHT 文章

SEARCH(search_for, text_to_search, [starting_at])

Excel SEARCH 文章

SPLIT(text, delimiter, [split_by_each], [remove_empty_text])

按特定字符分隔符拆分文本(与 Excel 不兼容)

SUBSTITUTE(text_to_search, search_for, replace_with, [occurrence_number])

Excel SUBSTITUTE 文章

TEXT(number, format)

Excel TEXT 文章

TEXTAFTER(text, delimiter, [instance_num], [match_mode], [match_end], [if_not_found])

Excel TEXTAFTER文章

TEXTBEFORE(text, delimiter, [instance_num], [match_mode], [match_end], [if_not_found])

Excel TEXTBEFORE文章

TEXTJOIN(delimiter, ignore_empty, text1, [text2, …])

Excel TEXTJOIN 文章

TEXTSPLIT(text, col_delimiter, [row_delimiter], [ignore_empty], [match_mode], [pad_with])

Excel TEXTSPLIT文章

TRIM(text)

Excel TRIM 文章

UPPER(text)

Excel UPPER 文章

VALUE(text)

Excel VALUE 文章

网络

名称和参数

说明或链接

HYPERLINK(url, [link_label])

Excel HYPERLINK 文章

Odoo 专用函数

本节包含直接与 Odoo 数据库交互的函数。

数组

名称和参数

说明或链接

ARRAY.CONSTRAIN(input_range, rows, columns)

返回限制为特定宽度和高度的结果数组(与 Excel 不兼容)

FLATTEN(范围, [范围2, …])

将一个或多个范围内的所有值平铺到单列中(与 Excel 不兼容)

日期

名称和参数

说明或链接

MONTH.END(date)

日期所在月份之后一个月的最后一天(与 Excel 不兼容)

MONTH.START(date)

日期所在月份之前一个月的第一天(与 Excel 不兼容)

QUARTER(date)

特定日期所属的年度季度(与 Excel 不兼容)

QUARTER.END(date)

特定日期所在季度的最后一天(不兼容 Excel)

QUARTER.START(date)

特定日期所在季度的第一天(不兼容 Excel)

YEAR.END(date)

特定日期所在年份的最後一天(與 Excel 不相容)

YEAR.START(date)

特定日期所在年份的第一天(與 Excel 不相容)

YEARFRAC(start_date, end_date, [day_count_convention])

兩個日期之間的確切年數(與 Excel 不相容)

财务

名称和参数

说明或链接

ODOO.ACCOUNT.GROUP(type)

返回给定组的会计科目 ID(与 Excel 不兼容)

ODOO.BALANCE(account_codes, date_range, [offset], [company_id], [include_unposted])

返回指定科目和期间的总余额(不兼容Excel)

ODOO.BALANCE.TAG(account_tag_ids, [date_range], [offset], [company_id], [include_unposted])

返回指定标签和期间的账户余额(与 Excel 不兼容)

ODOO.CREDIT(account_codes, date_range, [offset], [company_id], [include_unposted])

返回指定账户和期间的信用总额(与 Excel 不兼容)

ODOO.CURRENCY.RATE(currency_from, currency_to, [date])

接受两个货币代码作为参数,并以浮点数形式返回从第一个货币到第二个货币的汇率(与 Excel 不兼容)

ODOO.DEBIT(account_codes, date_range, [offset], [company_id], [include_unposted])

返回指定账户和期间的借记总额(与 Excel 不兼容)

ODOO.FISCALYEAR.START(day, [company_id])

返回包含所提供日期的会计年度的开始日期(与 Excel 不兼容)

ODOO.FISCALYEAR.END(day, [company_id])

返回包含所提供日期的会计年度的结束日期(与 Excel 不兼容)

ODOO.PARTNER.BALANCE(partner_ids, [account_codes], [date_range], [offset], [company_id], [include_unposted])

返回指定账户和期间的合作伙伴余额(与 Excel 不兼容)

ODOO.RESIDUAL([account_codes], [date_range], [offset], [company_id], [include_unposted])

返回指定账户和期间的剩余金额(与 Excel 不兼容)

查找

名称和参数

说明或链接

PIVOT(pivot_id, [row_count], [include_total], [include_column_titles], [column_count])

创建数据透视表(与 Excel 不兼容)

PIVOT.HEADER(pivot_id, [domain_field_name, …], [domain_value, …])

返回数据透视表的标题(与 Excel 不兼容)

PIVOT.VALUE(pivot_id, measure_name, [domain_field_name, …], [domain_value, …])

返回数据透视表中的值(与 Excel 不兼容)

数学

名称和参数

说明或链接

COUNTUNIQUE(value1, [value2, …])

计算区域中唯一值的数量(与 Excel 不兼容)

COUNTUNIQUEIFS(range, criteria_range1, criterion1, [criteria_range2, …], [criterion2, …])

计算范围内唯一值的数量,按一组条件筛选(与 Excel 不兼容)

杂项

名称和参数

说明或链接

FORMAT.LARGE.NUMBER(value, [unit])

应用大数字格式(与 Excel 不相容)

ODOO.LIST(list_id, index, field_name)

从列表中返回值(与 Excel 不相容)

ODOO.LIST.HEADER(list_id, field_name)

返回列表的标题(与 Excel 不相容)

操作员

名称和参数

说明或链接

ADD(value1, value2)

兩個數字的總和(與 Excel 不相容)

DIVIDE(dividend, divisor)

一個數字除以另一個數字(與 Excel 不相容)

EQ(value1, value2)

等於(與 Excel 不相容)

GT(value1, value2)

嚴格大於(與 Excel 不相容)

GTE(value1, value2)

大於或等於(與 Excel 不相容)

LT(value1, value2)

小於(與 Excel 不相容)

LTE(value1, value2)

小於或等於(與 Excel 不相容)

MINUS(value1, value2)

兩個數字的差(與 Excel 不相容)

MULTIPLY(factor1, factor2)

兩個數字的乘積(與 Excel 不相容)

NE(value1, value2)

不等於(與 Excel 不相容)

POW(base, exponent)

一個數字的冪次(與 Excel 不相容)

UMINUS(value)

带有符号反转的数字(与Excel不兼容)

UNARY.PERCENT(percentage)

作为百分比解释的值(与Excel不兼容)

UPLUS(value)

指定的数字,保持不变(与Excel不兼容)

统计

名称和参数

说明或链接

AVERAGE.WEIGHTED(values, weights, [additional_values, …], [additional_weights, …])

加权平均(与Excel不兼容)

GROWTH(known_data_y, [known_data_x], [new_data_x], [b])

将点拟合到指数增长趋势(与 Excel 不兼容)

MATTHEWS(data_x, data_y)

计算数据集的马修斯相关系数(与 Excel 不兼容)

POLYFIT.COEFFS(data_y, data_x, order, [intercept])

计算数据集的多项式回归系数(与 Excel 不兼容)

POLYFIT.FORECAST(x, data_y, data_x, order, [intercept])

通过计算数据集的多项式回归来预测值(与 Excel 不兼容)

SPEARMAN(data_y, data_x)

计算数据集的斯皮尔曼等级相关系数(与 Excel 不兼容)

TREND(known_data_y, [known_data_x], [new_data_x], [b])

通过最小二乘法拟合点到线性趋势(与 Excel 不兼容)

文本

名称和参数

说明或链接

JOIN(delimiter, value_or_array1, [value_or_array2, …])

使用分隔符连接数组元素(与 Excel 不兼容)