Contents

# 辨識作為編排位址的名稱

您可以使用具有文字的儲存格以表示包含這些儲存格的列或欄。

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.

在範例試算表中，您可以在公式中使用字串 'Column One' 以表示儲存格範圍 B3 至 B5 或 'Column Two' 以表示儲存格範圍 C2 至 C5。您也可以使用 'Row One' 表示儲存格範圍 B3 至 D3 或 'Row Two' 表示儲存格範圍 B4 至 D4。使用儲存格名稱的公式結果，例如 SUM('Column One') 為 600。

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 - Preferences Tools - Options - 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.

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'.

相關主題

命名儲存格

Define Label Range

位址和參照, 絕對和相對

Please support us!