From 77ac257cd73c3420134ac68abd53da5d389286f6 Mon Sep 17 00:00:00 2001 From: Eike Rathke Date: Mon, 28 Nov 2022 20:25:53 +0100 Subject: Adjust using label names to reality Escaping a single quote with a backslash (\') was always wrong, and meanwhile the finding labels automatically feature was deactivated per default long time ago. Change-Id: I58057c36d1b7a23c60670e1972608a6b86ca7a07 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/143415 Reviewed-by: Eike Rathke Tested-by: Jenkins --- source/text/scalc/guide/address_auto.xhp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'source/text') diff --git a/source/text/scalc/guide/address_auto.xhp b/source/text/scalc/guide/address_auto.xhp index 03a55b5aca..0679b7aa7f 100644 --- a/source/text/scalc/guide/address_auto.xhp +++ b/source/text/scalc/guide/address_auto.xhp @@ -46,8 +46,9 @@ You can use cells with text to refer to the rows or to the columns that contain the cells.removed table as a workaround for issue 108715 Example spreadsheet In the example spreadsheet, you can use the string 'Column One' in a formula to refer to the cell range B3 to B5, or 'Column Two' for the cell range C2 to C5. You can also use 'Row One' for the cell range B3 to D3, or 'Row Two' for the cell range B4 to D4. The result of a formula that uses a cell name, for example, SUM('Column One'), is 600. -This function is active by default. To turn this function off, choose %PRODUCTNAME - PreferencesTools - Options - %PRODUCTNAME Calc - Calculate and clear the Automatically find column and row labels check box. -If you want a name to be automatically recognized by Calc, the name must start with a letter and be composed of alphanumeric characters. If you enter the name in the formula yourself, enclose the name in single quotation marks ('). If a single quotation mark appears in a name, you must enter a backslash in front of the quotation mark, for example, 'Harry\'s Bar'. +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 %PRODUCTNAME - PreferencesTools - Options - %PRODUCTNAME 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'.
mw changed reference to deleted Calc guide address_byname.xhp to refer to Calc guide value_with_name.xhpUFI: changed embedvar links to embed links -- cgit