免费转换器

Airtable 公式 测试工具

使用内置函数参考,测试和验证 Airtable 公式语法

示例公式

Full name from first and last

CONCATENATE({First Name}, ' ', {Last Name})

Days until deadline

DATETIME_DIFF({Deadline}, TODAY(), 'days')

Status check with IF

IF({Status} = 'Done', 'Complete', 'In Progress')

Uppercase email domain

UPPER(MID({Email}, FIND('@', {Email}) + 1, LEN({Email})))

Round to 2 decimal places

ROUND({Amount} * 1.08, 2)

Year from date field

YEAR({Created Date})

Combined error check

IF(ISERROR({Field}), 'Error', {Field})

Months between two dates

DATETIME_DIFF({End Date}, {Start Date}, 'months')

函数参考

Text

CONCATENATECONCATENATE(text1, [text2, ...])

Joins several text strings into one string.

FINDFIND(stringToFind, whereToSearch, [startFromPosition])

Finds an occurrence of a string within another string.

LEFTLEFT(string, howMany)

Returns specified number of characters from the start of a string.

LENLEN(string)

Returns the length of a string.

LOWERLOWER(string)

Converts all characters to lowercase.

MIDMID(string, whereToStart, count)

Returns the middle portion of a string.

REPLACEREPLACE(string, startCharacter, numberOfCharacters, replacement)

Replaces part of a string with a different string.

RIGHTRIGHT(string, howMany)

Returns specified number of characters from the end of a string.

SUBSTITUTESUBSTITUTE(string, oldText, newText, [index])

Replaces occurrences of a substring within a string.

TRIMTRIM(string)

Removes leading and trailing whitespace from a string.

UPPERUPPER(string)

Converts all characters to uppercase.

Numeric

ABSABS(number)

Returns the absolute value of a number.

AVERAGEAVERAGE(number1, [number2, ...])

Returns the average of the numbers.

CEILINGCEILING(number, [significance])

Rounds a number up to the nearest multiple of significance.

COUNTCOUNT(number1, [number2, ...])

Returns the count of numeric items.

FLOORFLOOR(number, [significance])

Rounds a number down to the nearest multiple of significance.

INTINT(number)

Returns the integer part of a number.

MAXMAX(number1, [number2, ...])

Returns the largest of the given numbers.

MINMIN(number1, [number2, ...])

Returns the smallest of the given numbers.

MODMOD(number, divisor)

Returns the remainder of a number divided by a divisor.

POWERPOWER(base, exponent)

Returns the result of raising the base to the given power.

ROUNDROUND(number, [precision])

Rounds a number to the given precision.

SQRTSQRT(number)

Returns the square root of a number.

SUMSUM(number1, [number2, ...])

Sums the given numbers.

Date

CREATED_TIMECREATED_TIME()

Returns the date and time a record was created.

DATE_FORMATDATE_FORMAT(date, format)

Formats a date according to the given format string.

DATEADDDATEADD(date, number, units)

Adds specified units to a date.

DATETIME_DIFFDATETIME_DIFF(date1, date2, units)

Returns the difference between two dates in the given units.

DATETIME_FORMATDATETIME_FORMAT(date, [format])

Formats a datetime to a string.

NOWNOW()

Returns the current date and time.

TODAYTODAY()

Returns the current date.

YEARYEAR(date)

Returns the year portion of a date.

MONTHMONTH(date)

Returns the month portion of a date (1–12).

DAYDAY(date)

Returns the day portion of a date (1–31).

Logical

ANDAND(expr1, [expr2, ...])

Returns true if all of the expressions are true.

IFIF(condition, valueIfTrue, valueIfFalse)

Returns one of two values depending on whether the condition is true or false.

ISERRORISERROR(expr)

Returns true if the expression produces an error.

NOTNOT(expr)

Reverses the boolean value of an expression.

OROR(expr1, [expr2, ...])

Returns true if at least one of the expressions is true.

SWITCHSWITCH(expr, [pattern, result, ...], [default])

Evaluates an expression against a list of patterns and returns a matching result.

Record

RECORD_IDRECORD_ID()

Returns the ID of the current record.

LOOKUPLOOKUP(linkedRecordField, fieldInLinkedRecord)

Looks up values from a linked record field.

ROLLUPROLLUP(linkedRecordField, aggregation)

Aggregates values from a linked record field.

Array

ARRAY_JOINARRAY_JOIN(array, [separator])

Joins array values into a string with an optional separator.

ARRAY_UNIQUEARRAY_UNIQUE(array)

Returns unique values from an array.

关于 Airtable 配方测试仪

使用 Airtable 配方测试仪分析和验证您的数据。通过详细报告获取即时反馈,突出显示问题、警告和改进建议。所有分析都在您的浏览器本地运行,以实现完全隐私和快速结果。

如何使用

  1. 在输入区域中输入或粘贴您要检查的数据。
  2. 单击分析/检查按钮运行验证。
  3. 查看详细结果以及突出的问题和建议。
  4. 修复所有报告的问题并重新检查以验证改进。

常见问题解答

Airtable 配方测试仪检查什么?
该工具根据既定标准和最佳实践进行全面分析。它可以识别错误、潜在问题,并提出改进建议,并为每个发现提供清晰的解释。
我的数据是否发送到服务器进行分析?
不会。所有分析都使用 JavaScript 在您的浏览器中本地运行。您的数据永远不会离开您的设备,从而可以安全地检查敏感或机密信息。
结果的可靠性如何?
该工具遵循行业标准规则和最佳实践。结果对于一般使用和开发来说是可靠的。出于合规或审计目的,请始终使用官方工具或专业审查进行验证。
我可以用它来从事专业工作吗?
是的。该分析遵循行业标准,适合个人和专业用途。这是在正式审核之前发现常见问题的快速方法。