LibreOffice 26.2 ヘルプ
Names in Calc can contain letters, numeric characters, and the underline character. Names must start with a letter or an underline character.
使用できる特殊文字:
下線 (_)
セル参照と同じ名前は決して使用しないでください。たとえば、A1 という名前は、左最上部のセルへのセル参照であるため、無効です。
Names must not start with the letters C or R followed by a number; also single characters C and R are not allowed as names. See the ADDRESS function for more information.
Names for cell ranges must not include blanks. Blanks are allowed within names for sheets and documents.
数式でセルまたはセル範囲に対する参照を指定する場合、範囲の名前を使用するとその参照がわかりやすくなります。 たとえば、範囲 A1:B2 に Start という名前を付けることができます。 名前の設定が終わると、数式を "=SUM(Start)" のように記述できます。 行または列の挿入または削除を行なったあとでも、LibreOffice は名前によって指定されている範囲を正確に割り当てます。 範囲名には決してスペースを含めないでください。
たとえば、売上税の数式として「= A5 * B12」ではなく「= Amount * Tax_rate」と入力できると、はるかにわかりやすくなります。 このケースでは、セル A5 に「Amount」、セル B12 に「Tax_rate」という名前をつけます。
頻繁に使用する数式または数式の一部に名前を定義するには、名前の指定 ダイアログを使用します。 範囲名を指定するには、
Select a cell or range of cells, then choose Sheet - Named Ranges and Expressions - Define. The Define Names dialog appears.
フィールド 名前 に選択した場所の名前を入力します。追加 をクリックします。「名前」フィールドの下にあるリストに、新たに指定した名前が表示されます。「OK」をクリックして、ダイアログを閉じます。
このダイアログでは、フィールドに名前を入力して対応するセルを選択することにより、ほかのセル範囲に名前を付けることもできます。
この名前を数式に入力しようと最初の数文字を入力すると、名前の候補が入力ヘルプとして表示されます。
入力ヘルプに表示された名前を使う場合は、Enterキーを押します。
If more than one name starts with the same characters, you can scroll forward through all the names using the CommandCtrl + Tab keys and backward using the Shift + CommandCtrl + Tab keys.
You can assign a simpler or more familiar name to a long or complex formula expression.
Choose Sheet - Named Ranges and Expressions - Define. The Define Names dialog appears.
Enter the name for the formula expression in the Name field.
Enter the formula expression in the Range or formula expression box. For example, if you have named your formula HYP, you can enter the expression SQRT(A1*A1 + B1*B1) to compute the distance between two points on a plane. Do not precede the expression with an equal sign (=).
Click Add. The newly defined name appears in the list below. Click OK to close the dialog.
Enter the name of the named formula in the desired cell. The cell value is the result of the formula expression. For example, enter =HYP() to compute the formula above. Note that you cannot directly pass parameters to named formulas.
Naming conventions apply to named formulas. Absolute and relative references are respected. For example, when the named formula is copied and pasted.