Module
Contents
Index 🔎︎
\<bookmark_value\>automatic addressing in tables\</bookmark_value\>\<bookmark_value\>natural language addressing\</bookmark_value\>\<bookmark_value\>formulas; using row/column labels\</bookmark_value\>\<bookmark_value\>text in cells; as addressing\</bookmark_value\>\<bookmark_value\>addressing; automatic\</bookmark_value\>\<bookmark_value\>name recognition on/off\</bookmark_value\>\<bookmark_value\>row headers;using in formulas\</bookmark_value\>\<bookmark_value\>column headers;using in formulas\</bookmark_value\>\<bookmark_value\>columns; finding labels automatically\</bookmark_value\>\<bookmark_value\>rows; finding labels automatically\</bookmark_value\>\<bookmark_value\>recognizing; column and row labels\</bookmark_value\>

# Recognizing Names as Addressing

You can use cells with text to refer to the rows or to the columns that contain the cells.

In the example spreadsheet, you can use the string \<item type=\"literal\"\>'Column One'\</item\> in a formula to refer to the cell range \<item type=\"literal\"\>B3\</item\> to \<item type=\"literal\"\>B5\</item\>, or \<item type=\"literal\"\>'Column Two'\</item\> for the cell range \<item type=\"literal\"\>C2\</item\> to \<item type=\"literal\"\>C5\</item\>. You can also use \<item type=\"literal\"\>'Row One'\</item\> for the cell range \<item type=\"literal\"\>B3\</item\> to \<item type=\"literal\"\>D3\</item\>, or \<item type=\"literal\"\>'Row Two'\</item\> for the cell range \<item type=\"literal\"\>B4\</item\> to \<item type=\"literal\"\>D4\</item\>. The result of a formula that uses a cell name, for example, \<item type=\"literal\"\>SUM('Column One')\</item\>, is 600.

This function is active by default. To turn this function off, choose LibreOffice - Preferences Tools - Options
- LibreOffice 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'.

Related Topics

Naming Cells

Define Label Range

Addresses and References, Absolute and Relative