免費轉換器

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 在您的瀏覽器中本地運行。您的資料永遠不會離開您的設備,從而可以安全地檢查敏感或機密資訊。
結果的可靠性如何?
該工具遵循行業標準規則和最佳實踐。結果對於一般使用和開發是可靠的。出於合規或審計目的,請始終使用官方工具或專業審查進行驗證。
我可以用它來從事專業工作嗎?
是的。此分析遵循行業標準,適合個人和專業用途。這是在正式審核之前發現常見問題的快速方法。