From b3cfbf219fdcfcc3c4faa2216d67f810f8825c50 Mon Sep 17 00:00:00 2001 From: "shichida.masatsugu" Date: Mon, 26 Oct 2026 13:36:04 +0900 Subject: [PATCH] update function descriptions to match actual behavior Co-Authored-By: Claude Opus 5.5 --- lib/xls_function/locales/en.yml | 114 ++++++++++++++++---------------- lib/xls_function/locales/ja.yml | 114 ++++++++++++++++---------------- 2 files changed, 114 insertions(+), 114 deletions(-) diff --git a/lib/xls_function/locales/en.yml b/lib/xls_function/locales/en.yml index daa207e..54fadc2 100644 --- a/lib/xls_function/locales/en.yml +++ b/lib/xls_function/locales/en.yml @@ -1,63 +1,63 @@ en: xls_function: descriptions: - abs: ABS(number) Returns the absolute value of a number. - and: AND(logical1, [logical2], ...) returns TRUE if all its arguments evaluate to TRUE, and returns FALSE if one or more arguments evaluate to FALSE. - asc: ASC(text) For Double-byte character set (DBCS) languages, the function changes full-width (double-byte) characters to half-width (single-byte) characters. - char: CHAR(number) Returns the character specified by a number. - clean: CLEAN(text) Removes all nonprintable characters from text. - code: CODE(text) Returns a numeric code for the first character in a text string. - concat: CONCAT(text1, [text2],…) Combines the text from multiple ranges and/or strings. - datevalue: DATEVALUE(date_text) Converts a date that is stored as text to a serial number that Excel recognizes as a date. - date: DATE(year,month,day) Returns the sequential serial number that represents a particular date. - day: DAY(serial_number) Returns the day of a date, represented by a serial number. The day is given as an integer ranging from 1 to 31. - dbcs: DBCS(text) Converts half-width (single-byte) letters within a character string to full-width (double-byte) characters. The name of the function (and the characters that it converts) depends upon your language settings. - edate: EDATE(start_date, months) Returns the serial number that represents the date that is the indicated number of months before or after a specified date (the start_date). - eomonth: EOMONTH(start_date, months) Returns the serial number for the last day of the month that is the indicated number of months before or after start_date. - exact: EXACT(text1, text2) Compares two text strings and returns TRUE if they are exactly the same, FALSE otherwise. - find: FIND(find_text, within_text, [start_num]) Locate one text string within a second text string, and return the number of the starting position of the first text string from the first character of the second text string. Always counts each character, whether single-byte or double-byte, as 1, no matter what the default language setting is. - fixed: FIXED(number, [decimals], [no_commas]) Rounds a number to the specified number of decimals, formats the number in decimal format using a period and commas, and returns the result as text. - hour: HOUR(serial_number) Returns the hour of a time value. The hour is given as an integer, ranging from 0 (12:00 A.M.) to 23 (11:00 P.M.). - if: IF(logical_test, value_if_true, [value_if_false]) Use the IF function to return one value if a condition is true and another value if it's false. - ifs: IFS(logical_test1, value_if_true1, [logical_test2, value_if_true2], [logical_test3, value_if_true3],…) Checks whether one or more conditions are met, and returns a value that corresponds to the first TRUE condition. - int: INT(number) Rounds a number down to the nearest integer. - iserror: ISERROR(value) Returns TRUE if value refers to any error value. - isnumber: ISNUMBER(value) Returns TRUE if value refers to a number. - lambda: LAMBDA([parameter1, parameter2, …,] calculation) Use a LAMBDA function to create custom, reusable functions and call them by a friendly name. *Do not use this directly. - left: LEFT(text, [num_chars]) Returns the first character or characters in a text string, based on the number of characters you specify. - len: LEN(text) Returns the number of characters in a text string. - let: LET(name1, name_value1, calculation_or_name2, [name_value2, calculation_or_name3...]) Assigns names to calculation results. This allows storing intermediate calculations, values, or defining names inside a formula. - lower: LOWER(text) Converts all uppercase letters in a text string to lowercase. - mid: MID(text, start_num, num_chars) Returns a specific number of characters from a text string, starting at the position you specify, based on the number of characters you specify. - minute: MINUTE(serial_number) Returns the minutes of a time value. The minute is given as an integer, ranging from 0 to 59. - month: MONTH(serial_number) Returns the month of a date represented by a serial number. The month is given as an integer, ranging from 1 (January) to 12 (December). - not: NOT(logical) Reverses the value of its argument. - now: NOW() Returns the serial number of the current date and time. - or: OR(logical1, [logical2], ...) Returns TRUE if any of its arguments evaluate to TRUE, and returns FALSE if all of its arguments evaluate to FALSE. - power: POWER(number, power) Returns the result of a number raised to a power. - proper: Capitalizes the first letter in a text string and any other letters in text that follow any character other than a letter. Converts all other letters to lowercase letters. - replace: REPLACE(old_text, start_num, num_chars, new_text) Replaces part of a text string, based on the number of characters you specify, with a different text string. - rept: REPT(text, number_times) Repeats text a given number of times. - right: RIGHT(text,[num_chars]) Returns the last character or characters in a text string, based on the number of characters you specify. - rounddown: ROUNDDOWN(number, num_digits) Rounds a number down, toward zero. - roundup: ROUNDUP(number, num_digits) Rounds a number up, away from 0 (zero). - round: ROUND(number, num_digits) Rounds a number to a specified number of digits. - second: SECOND(serial_number) Returns the seconds of a time value. The second is given as an integer in the range 0 (zero) to 59. - sign: SIGN(number) Determines the sign of a number. Returns 1 if the number is positive, zero (0) if the number is 0, and -1 if the number is negative. - sqrt: SQRT(number) Returns a positive square root. - substitute: SUBSTITUTE(text, old_text, new_text, [instance_num]) Substitutes new_text for old_text in a text string. - text: TEXT(value, format_text) Lets you change the way a number appears by applying formatting to it with format codes. - time: TIME(hour, minute, second) Returns the decimal number for a particular time. - timevalue: TIMEVALUE(time_text) Returns the decimal number of the time represented by a text string. - today: TODAY() Returns the serial number of the current date. - trim: TRIM(text) Removes all spaces from text except for single spaces between words. - trunc: TRUNC(number, [num_digits]) Truncates a number to an integer by removing the fractional part of the number. - unichar: UNICHAR(number) Returns the Unicode character that is referenced by the given numeric value. - unicode: UNICODE(text) Returns the number (code point) corresponding to the first character of the text. - upper: UPPER(text) Converts text to uppercase. - value: VALUE(text) Converts a text string that represents a number to a number. - year: YEAR(serial_number) Returns the year corresponding to a date. The year is returned as an integer in the range 1900-9999. - switch: SWITCH(Value to switch, Value to match1...[2-126], Value to return if there's a match1...[2-126], Value to return if there's no match) Where you can evaluate up to 126 matching values and results. + abs: ABS(number) Returns the absolute value of a number, that is, the number without its sign. + and: AND(condition1, [condition2], ...) Returns TRUE if all conditions are TRUE, and FALSE if any of them is FALSE. Conditions are checked from left to right, and the remaining conditions are not evaluated once a FALSE is found. + asc: ASC(text) Converts full-width letters, digits, symbols, spaces, and katakana to half-width. + char: CHAR(number) Returns the ASCII character for a character code (0-127). Use UNICHAR for Unicode characters such as Japanese. + clean: CLEAN(text) Removes control characters that are not displayed on screen, such as line breaks and tabs, from text. + code: CODE(text) Returns the character code (Unicode code point) of the first character as a number. + concat: CONCAT(text1, [text2], ...) Joins multiple strings into one string. + datevalue: DATEVALUE(date_text) Converts a date string such as "2026/10/19" to a value that can be calculated as a date (serial number). + date: DATE(year, month, day) Creates a date (serial number) from year, month, and day numbers. If the month or day is out of range, it carries over to the following month or day. + day: DAY(date) Returns the day of a date as an integer from 1 to 31. The date can be a date value or a string such as "2026/10/19". + dbcs: DBCS(text) Converts half-width uppercase letters, digits, and katakana to full-width. + edate: EDATE(start_date, months) Returns the date (serial number) on the same day the specified number of months after the start date (before it if negative). If that day does not exist, the last day of the month is returned. + eomonth: EOMONTH(start_date, months) Returns the last day of the month (serial number) the specified number of months after the start date (before it if negative). Useful for calculating due dates such as "end of next month". + exact: EXACT(text1, text2) Returns TRUE if the two strings match exactly, and FALSE otherwise. Uppercase and lowercase letters are distinguished. + find: FIND(find_text, within_text, [start_num]) Searches within_text for find_text and returns the position where it is first found, counting from the beginning. Each character counts as 1, whether full-width or half-width. Returns an error if it is not found. + fixed: FIXED(number, [decimals], [no_commas]) Rounds a number to the specified number of decimals (2 if omitted) and returns it as text with a comma every 3 digits. If no_commas is TRUE, commas are not added. + hour: HOUR(time) Returns the hour of a time as an integer from 0 to 23. The time can be a time value or a string such as "13:30". + if: IF(condition, value_if_true, value_if_false) Returns value_if_true if the condition is TRUE, and value_if_false if it is FALSE. Specify all three arguments. + ifs: IFS(condition1, value1, [condition2, value2], ...) Checks the conditions in order and returns the value for the first condition that is TRUE. Returns empty if no condition is TRUE. Lets you write multiple branches without nesting IF. + int: INT(number) Removes the decimal part to make an integer. Negative numbers become the smaller integer. + iserror: ISERROR(value) Returns TRUE if the value is an error, and FALSE otherwise. Combined with IF, you can return a different value when an error occurs. + isnumber: ISNUMBER(value) Returns TRUE if the value is a number, and FALSE otherwise. A string containing only digits is not treated as a number and returns FALSE. + lambda: LAMBDA([parameter1, parameter2, ...], calculation) Defines a reusable custom function. *This function is for internal use. Do not use it directly in formulas. + left: LEFT(text, num_chars) Returns the specified number of characters from the beginning of the text. num_chars cannot be omitted. + len: LEN(text) Returns the number of characters in the text. Full-width and half-width characters each count as 1. + let: LET(name1, value1, [name2, value2, ...], calculation) Assigns names to values or intermediate results so they can be used in the final calculation. Saves you from writing the same calculation more than once. + lower: LOWER(text) Converts all letters to lowercase. + mid: MID(text, start_num, num_chars) Returns the specified number of characters starting at start_num (the first character is 1). + minute: MINUTE(time) Returns the minute of a time as an integer from 0 to 59. + month: MONTH(date) Returns the month of a date as an integer from 1 to 12. + not: NOT(logical) Changes TRUE to FALSE and FALSE to TRUE. + now: NOW() Returns the current date and time as a serial number. + or: OR(condition1, [condition2], ...) Returns TRUE if any condition is TRUE, and FALSE if all are FALSE. Conditions are checked from left to right, and the remaining conditions are not evaluated once a TRUE is found. + power: POWER(number, power) Returns the number raised to the power. + proper: PROPER(text) Capitalizes the first letter of each word and converts all other letters to lowercase. + replace: REPLACE(old_text, start_num, num_chars, new_text) Replaces the specified number of characters starting at start_num with new_text. Unlike SUBSTITUTE, it replaces by position rather than by matching text. + rept: REPT(text, number_times) Returns the text repeated the specified number of times. Returns an empty string if number_times is 0. + right: RIGHT(text, num_chars) Returns the specified number of characters from the end of the text. num_chars cannot be omitted. + rounddown: ROUNDDOWN(number, num_digits) Rounds a number down to the specified number of digits. num_digits 0 gives an integer, 1 gives one decimal place, and -3 gives units of 1,000. + roundup: ROUNDUP(number, num_digits) Rounds a number up to the specified number of digits. num_digits 0 gives an integer, 1 gives one decimal place, and -3 gives units of 1,000. + round: ROUND(number, num_digits) Rounds a number to the specified number of digits. num_digits 0 gives an integer, 1 gives one decimal place, and -3 gives units of 1,000. + second: SECOND(time) Returns the second of a time as an integer from 0 to 59. + sign: SIGN(number) Returns the sign of a number. Returns 1 if it is positive, 0 if it is 0, and -1 if it is negative. + sqrt: SQRT(number) Returns the positive square root. Returns an error if the number is negative. + substitute: SUBSTITUTE(text, old_text, new_text, [instance_num]) Replaces old_text in the text with new_text. If instance_num is specified, only that occurrence is replaced (all occurrences if omitted). + text: TEXT(value, format_text) Converts a number or date to text in a display format such as "#,##0" or "yyyy/mm/dd". + time: TIME(hour, minute, second) Creates a time (serial number) from hour, minute, and second numbers. + timevalue: TIMEVALUE(time_text) Converts a time string such as "13:30" to a value that can be calculated as a time (serial number). + today: TODAY() Returns the current date as a serial number. + trim: TRIM(text) Removes leading and trailing spaces, and collapses consecutive spaces within the text into one. Full-width spaces are included. + trunc: TRUNC(number, [num_digits]) Truncates a number to the specified number of digits. If num_digits is omitted, returns an integer. + unichar: UNICHAR(number) Returns the character for the given Unicode code point (number). + unicode: UNICODE(text) Returns the Unicode code point of the first character as a number. + upper: UPPER(text) Converts all letters to uppercase. + value: VALUE(text) Converts a string that represents a number to a number. Strings with commas such as "1,234" can also be converted. + year: YEAR(date) Returns the year of a date as an integer. + switch: SWITCH(expression, value1, result1, [value2, result2, ...], [default]) Compares the expression with value1, value2, ... in order and returns the result for the first matching value. If nothing matches, returns the default given as the last argument, or an error if no default is given. errors: out_of_range: Value is out of range. %{value} missing_target: Missing %{target} in %{source}. diff --git a/lib/xls_function/locales/ja.yml b/lib/xls_function/locales/ja.yml index 6c9c766..a640bff 100644 --- a/lib/xls_function/locales/ja.yml +++ b/lib/xls_function/locales/ja.yml @@ -1,63 +1,63 @@ ja: xls_function: descriptions: - abs: ABS(数値) 数値の絶対値を返します。 - and: AND(条件1, [条件2], ...) すべての引数が TRUE と評価された場合は TRUE を返し、1 つ以上の引数が FALSE と評価された場合は FALSE を返します。 - asc: ASC(文字列) 2 バイト文字セット (DBCS) 言語の場合、全角 (2 バイト) 文字を半角 (1 バイト) 文字に変更します。 - char: CHAR(数値) 数値で指定された文字を返します。 - clean: CLEAN(文字列) 印刷できない文字を文字列からすべて削除します。 - code: CODE(文字列) テキスト文字列内の先頭文字の数値コードを返します。 - concat: CONCAT(テキスト1, [テキスト2],…) 複数の範囲や文字列のテキストを結合します。 - datevalue: DATEVALUE(日付文字列) 文字列として格納された日付を、Excel で日付として認識できるシリアル値に変換します。 - date: DATE(年,月,日) 特定の日付を表す連続したシリアル値を返します。 - day: DAY(シリアル値) シリアル番号で表された、日付の日情報を返します。 日情報は 1 ~ 31 の範囲内の整数で示されます。 - dbcs: DBCS(文字列) 文字列内の半角 (1 バイト) の英数カナ文字を全角 (2 バイト) の文字に変換します。 - edate: EDATE(開始日, 月) 開始日から起算して、指定された月数だけ前または後の日付に対応するシリアル値を返します。 - eomonth: EOMONTH(開始日, 月) 開始日から起算して、指定された月数だけ前または後の月の最終日に対応するシリアル値を返します。 - exact: EXACT(文字列 1, 文字列 2) 2 つの文字列を比較して、まったく同じである場合は TRUE を、そうでない場合は FALSE を返します。 - find: FIND(検索文字列, 対象, [開始位置]) 指定された文字列を他の文字列の中で検索し、その文字列が最初に現れる位置を左端から数え、その番号を返します。既定の言語の設定に関係なく、1 バイト文字も 2 バイト文字も、各文字が常に 1 つとして数えられます。 - fixed: FIXED(数値, [桁数], [桁区切り]) 指定した桁数に四捨五入し、結果をピリオド (.) とカンマ (,) を使って書式設定した文字列に変換して返します。 - hour: HOUR(シリアル値) 時刻から時間の値を返します。 戻り値は 0 (午前 0 時) ~ 23 (午後 11 時) の範囲の整数となります。 - if: IF(論理式, [値が真の場合], [値が偽の場合]) IF 関数を使うと、条件が true または false の場合に、それぞれ別の値を返すことができます。 - ifs: IFS(logical_test1, value_if_true1, [logical_test2, value_if_true2], [logical_test3, value_if_true3],…) 1 つ以上の条件が満たされているかどうかをチェックして、最初の TRUE 条件に対応する値を返します。 - int: INT(数値) 指定された数値を最も近い整数に切り捨てます。 - iserror: ISERROR(テストの対象) テストの対象が任意のエラー値を参照するとき TRUE を返します。 - isnumber: ISNUMBER(テストの対象) テストの対象が数値を参照するとき TRUE を返します。 - lambda: LAMBDA([parameter1, parameter2, ...,] 計算) LAMBDA 関数を使用して、カスタムで再利用可能な関数を作成し、フレンドリ名で呼び出します。※直接利用しないでください。 - left: LEFT(文字列, [文字数]) 文字列の先頭から指定された数の文字を返します。 - len: LEN(文字列) 文字列の文字数を返します。 - let: LET (name1、name_value1、calculation_or_name2、[name_value2、calculation_or_name3...]) 計算結果に名前を割り当てます。 これにより、中間計算、値、定義名などを数式内に格納できます。 - lower: LOWER(文字列) 文字列に含まれる英大文字をすべて小文字に変換します。 - mid: MID(文字列, 開始位置, 文字数) 文字列の指定された位置から指定された文字数の文字を返します。 - minute: MINUTE(シリアル値) 時刻の分を返します。 戻り値は 0 (分) ~ 59 (分) の範囲の整数となります。 - month: MONTH(シリアル値) データに含まれる月をシリアル値で返します。 戻り値は 1 (月) ~ 12 (月) の範囲の整数となります。 - not: NOT(論理値) 引数の値を反転させます。 - now: NOW() 現在の日付と時刻に対応するシリアル値を返します。 - or: OR(論理式1, [論理式2], ...) いずれかの引数が TRUE と評価された場合は TRUE を返し、すべての引数が FALSE と評価された場合は FALSE を返します。 - power: POWER(数値, 指数) 数値のべき乗を返します。 - proper: PROPER(文字列) 英字文字列の単語の先頭の文字、および記号の次の文字を大文字に変換します。 それ以外の英字はすべて小文字にします。 - replace: REPLACE(文字列, 開始位置, 文字数, 置換文字列) 文字列に含まれる、指定された文字数の文字を別の文字に置き換えます。 - rept: REPT(文字列, 繰り返し回数) 文字列を指定された回数だけ繰り返して表示します。 - right: RIGHT(文字列,[文字数]) 文字列の末尾 (右端) から指定された文字数の文字を返します。 - rounddown: ROUNDDOWN(数値, 桁数) 数値を指定された桁数で切り捨てます。 - roundup: ROUNDUP(数値, 桁数) 数値を指定された桁数に切り上げます。 - round: ROUND(数値, 桁数) 数値を四捨五入して指定された桁数にします。 - second: SECOND(シリアル値) 時刻の秒を返します。 戻り値は 0 (秒) ~ 59 (秒) の範囲の整数となります。 - sign: SIGN(数値) 数値の正負を調べます。 戻り値は、数値が正の数のときは 1、0 のときは 0、負の数のときは -1 となります。 - sqrt: SQRT(数値) 正の平方根を返します。 - substitute: SUBSTITUTE(文字列, 検索文字列, 置換文字列, [置換対象]) 文字列に含まれる検索文字列を置換文字列へ置換します。 - text: TEXT(value, format_text) 表示形式コードを使用して数値に書式設定を適用することで、数値の表示方法を変更することができます。 - time: TIME(時, 分, 秒) 指定した時刻に対応する小数を返します。 - timevalue: TIMEVALUE(時刻文字列) 文字列で表された時刻を小数に変換します。 - today: TODAY() 現在の日付に対応するシリアル値を返します。 - trim: TRIM(文字列) 各単語間のスペースは 1 つ残し、不要なスペースをすべて削除します。 - trunc: TRUNC(数値, [桁数]) 数値の小数部を切り捨てて、整数または指定した桁数に変換します。 - unichar: UNICHAR(数値) 指定された数値により参照される Unicode 文字を返します。 - unicode: UNICODE(文字列) 文字列の最初の文字に対応する番号 (コード ポイント) を返します。 - upper: UPPER(文字列) 文字列を大文字に変換します。 - value: VALUE(文字列) 数値を表す文字列を数値に変換します。 - year: YEAR(シリアル値) 日付に対応する年を返します。 戻り値は、1900 (年) ~ 9999 (年) の範囲の整数となります。 - switch: SWITCH(交換する値, 一致する値1...[2-126], 一致する値1...[2-126] がある場合に返す値, 一致する値がない場合に返す値) 最大 126 個の一致する値と結果を評価することができます + abs: ABS(数値) 数値の符号を取り除いた絶対値を返します。 + and: AND(条件1, [条件2], ...) すべての条件が TRUE のとき TRUE を、1つでも FALSE があれば FALSE を返します。左から順に調べ、FALSE が見つかった時点で残りの条件は評価しません。 + asc: ASC(文字列) 全角の英数字・記号・スペース・カタカナを半角に変換します。 + char: CHAR(数値) 文字コード(0~127)に対応する ASCII 文字を返します。日本語などの Unicode 文字には UNICHAR を使ってください。 + clean: CLEAN(文字列) 改行やタブなど、画面に表示されない制御文字を文字列から取り除きます。 + code: CODE(文字列) 先頭の1文字の文字コード(Unicode のコードポイント)を数値で返します。 + concat: CONCAT(文字列1, [文字列2], ...) 複数の文字列をつなげて1つの文字列にします。 + datevalue: DATEVALUE(日付文字列) "2026/10/19" のような日付の文字列を、日付として計算できる値(シリアル値)に変換します。 + date: DATE(年, 月, 日) 年・月・日の数値から日付(シリアル値)を作ります。月や日が範囲を超えた場合は翌月・翌日に繰り越されます。 + day: DAY(日付) 日付の「日」を 1~31 の整数で返します。日付には日付の値のほか、"2026/10/19" のような文字列も指定できます。 + dbcs: DBCS(文字列) 半角の英大文字・数字・カタカナを全角に変換します。 + edate: EDATE(開始日, 月数) 開始日から指定した月数だけ後(負の数なら前)の同じ日の日付(シリアル値)を返します。その日が存在しない場合は月末日になります。 + eomonth: EOMONTH(開始日, 月数) 開始日から指定した月数だけ後(負の数なら前)の月の末日(シリアル値)を返します。「翌月末」などの支払期日の計算に使えます。 + exact: EXACT(文字列1, 文字列2) 2つの文字列が完全に一致すれば TRUE、そうでなければ FALSE を返します。英字の大文字・小文字は区別します。 + find: FIND(検索文字列, 対象, [開始位置]) 対象の文字列の中から検索文字列を探し、最初に見つかった位置を先頭から数えた番号で返します。全角・半角に関係なく1文字を1と数えます。見つからない場合はエラーになります。 + fixed: FIXED(数値, [桁数], [桁区切りなし]) 数値を指定した桁数(省略時は2)に四捨五入し、3桁ごとにカンマを入れた文字列にします。桁区切りなしに TRUE を指定するとカンマを付けません。 + hour: HOUR(時刻) 時刻の「時」を 0~23 の整数で返します。時刻には時刻の値のほか、"13:30" のような文字列も指定できます。 + if: IF(条件, 条件が真の場合の値, 条件が偽の場合の値) 条件が TRUE なら真の場合の値を、FALSE なら偽の場合の値を返します。3つの引数はすべて指定してください。 + ifs: IFS(条件1, 値1, [条件2, 値2], ...) 条件を先頭から順に調べ、最初に TRUE になった条件に対応する値を返します。どの条件も TRUE にならない場合は空になります。IF を入れ子にせずに複数の条件分岐を書けます。 + int: INT(数値) 小数点以下を切り捨てて整数にします。負の数はより小さい整数になります。 + iserror: ISERROR(値) 値がエラーなら TRUE、そうでなければ FALSE を返します。IF と組み合わせると、エラー時に別の値を返せます。 + isnumber: ISNUMBER(値) 値が数値なら TRUE、そうでなければ FALSE を返します。数字だけの文字列は数値とみなされず FALSE になります。 + lambda: LAMBDA([引数1, 引数2, ...], 計算式) 再利用できる独自の関数を定義します。※ 内部利用のための関数です。式の中で直接使わないでください。 + left: LEFT(文字列, 文字数) 文字列の先頭から指定した文字数分を取り出します。文字数は省略できません。 + len: LEN(文字列) 文字列の文字数を返します。全角・半角とも1文字と数えます。 + let: LET(名前1, 値1, [名前2, 値2, ...], 計算式) 値や途中の計算結果に名前を付け、最後の計算式の中でその名前を使えるようにします。同じ計算を何度も書かずに済みます。 + lower: LOWER(文字列) 英字をすべて小文字にします。 + mid: MID(文字列, 開始位置, 文字数) 文字列の開始位置(先頭が1)から指定した文字数分を取り出します。 + minute: MINUTE(時刻) 時刻の「分」を 0~59 の整数で返します。 + month: MONTH(日付) 日付の「月」を 1~12 の整数で返します。 + not: NOT(論理値) TRUE を FALSE に、FALSE を TRUE に反転します。 + now: NOW() 現在の日付と時刻をシリアル値で返します。 + or: OR(条件1, [条件2], ...) いずれかの条件が TRUE なら TRUE を、すべて FALSE なら FALSE を返します。左から順に調べ、TRUE が見つかった時点で残りの条件は評価しません。 + power: POWER(数値, 指数) 数値を指数乗した値を返します。 + proper: PROPER(文字列) 英単語の先頭の文字を大文字に、それ以外の英字を小文字にします。 + replace: REPLACE(文字列, 開始位置, 文字数, 置換文字列) 文字列の開始位置から指定した文字数分を置換文字列に置き換えます。文字ではなく位置で置き換える点が SUBSTITUTE と異なります。 + rept: REPT(文字列, 繰り返し回数) 文字列を指定した回数くり返した文字列を返します。回数が 0 のときは空文字列になります。 + right: RIGHT(文字列, 文字数) 文字列の末尾から指定した文字数分を取り出します。文字数は省略できません。 + rounddown: ROUNDDOWN(数値, 桁数) 数値を指定した桁数で切り捨てます。桁数 0 で整数、1 で小数第1位、-3 で千円単位になります。 + roundup: ROUNDUP(数値, 桁数) 数値を指定した桁数で切り上げます。桁数 0 で整数、1 で小数第1位、-3 で千円単位になります。 + round: ROUND(数値, 桁数) 数値を指定した桁数で四捨五入します。桁数 0 で整数、1 で小数第1位、-3 で千円単位になります。 + second: SECOND(時刻) 時刻の「秒」を 0~59 の整数で返します。 + sign: SIGN(数値) 数値の符号を返します。正の数なら 1、0 なら 0、負の数なら -1 です。 + sqrt: SQRT(数値) 正の平方根を返します。負の数を指定するとエラーになります。 + substitute: SUBSTITUTE(文字列, 検索文字列, 置換文字列, [置換対象]) 文字列に含まれる検索文字列を置換文字列に置き換えます。置換対象に数値を指定すると、その順番に現れたものだけを置き換えます(省略時はすべて)。 + text: TEXT(値, 表示形式) 数値や日付を、"#,##0" や "yyyy/mm/dd" のような表示形式の文字列に変換します。 + time: TIME(時, 分, 秒) 時・分・秒の数値から時刻(シリアル値)を作ります。 + timevalue: TIMEVALUE(時刻文字列) "13:30" のような時刻の文字列を、時刻として計算できる値(シリアル値)に変換します。 + today: TODAY() 現在の日付をシリアル値で返します。 + trim: TRIM(文字列) 先頭と末尾のスペースを削除し、文字列の途中に連続するスペースは1つにまとめます。全角スペースも対象です。 + trunc: TRUNC(数値, [桁数]) 数値を指定した桁数で切り捨てます。桁数を省略すると整数になります。 + unichar: UNICHAR(数値) Unicode のコードポイント(数値)に対応する文字を返します。 + unicode: UNICODE(文字列) 先頭の1文字の Unicode コードポイントを数値で返します。 + upper: UPPER(文字列) 英字をすべて大文字にします。 + value: VALUE(文字列) 数値を表す文字列を数値に変換します。"1,234" のようにカンマが含まれていても変換できます。 + year: YEAR(日付) 日付の「年」を整数で返します。 + switch: SWITCH(式, 値1, 結果1, [値2, 結果2, ...], [一致しない場合の結果]) 式の値を値1、値2…と順に比べ、最初に一致した値に対応する結果を返します。どれにも一致しないときは最後に指定した「一致しない場合の結果」を返し、それも指定されていなければエラーになります。 errors: out_of_range: 範囲外の値が指定されています。%{value} missing_target: 文字列%{source}中に%{target}が見つかりません。