名前を参照として使う

テキストを含むセルを、そのセルを含む行や列の参照用として使用できます。

If the resulting cell is below or above another cell containing text, LibreOffice Calc assumes the text as a column label, else LibreOffice Calc assumes the text as a row label.

Example spreadsheet

ここでは、数式で文字列'列 1' をセル範囲 B3B5 に、'列 2' をセル範囲 C2C5、というように参照できます。また、セル範囲 B3D3 に対して '行 1'、セル範囲 B4D4 に対して '行 2' も使用できます。セル名を使用する数式 (SUM('列 1') など) は、600 を返します。

warning

Automatically finding labels is a legacy feature and deactivated by default as it can produce nondeterministic behavior depending on actual document content. To turn this function on, choose - LibreOffice Calc - Calculate and mark the Automatically find column and row labels check box.


Using defined labels instead is always possible and behaves similar but in a defined way.

tip

If you enter a label name in the formula yourself, enclose the name in single quotation marks ('). If a single quotation mark appears in a name, you must double it, for example, 'Harry''s Bar'.


ご支援をお願いします!