1*b1cdbd2cSJim Jagielski<?xml version="1.0" encoding="UTF-8"?> 2*b1cdbd2cSJim Jagielski<helpdocument version="1.0"> 3*b1cdbd2cSJim Jagielski 4*b1cdbd2cSJim Jagielski<!--*********************************************************** 5*b1cdbd2cSJim Jagielski * 6*b1cdbd2cSJim Jagielski * Licensed to the Apache Software Foundation (ASF) under one 7*b1cdbd2cSJim Jagielski * or more contributor license agreements. See the NOTICE file 8*b1cdbd2cSJim Jagielski * distributed with this work for additional information 9*b1cdbd2cSJim Jagielski * regarding copyright ownership. The ASF licenses this file 10*b1cdbd2cSJim Jagielski * to you under the Apache License, Version 2.0 (the 11*b1cdbd2cSJim Jagielski * "License"); you may not use this file except in compliance 12*b1cdbd2cSJim Jagielski * with the License. You may obtain a copy of the License at 13*b1cdbd2cSJim Jagielski * 14*b1cdbd2cSJim Jagielski * http://www.apache.org/licenses/LICENSE-2.0 15*b1cdbd2cSJim Jagielski * 16*b1cdbd2cSJim Jagielski * Unless required by applicable law or agreed to in writing, 17*b1cdbd2cSJim Jagielski * software distributed under the License is distributed on an 18*b1cdbd2cSJim Jagielski * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 19*b1cdbd2cSJim Jagielski * KIND, either express or implied. See the License for the 20*b1cdbd2cSJim Jagielski * specific language governing permissions and limitations 21*b1cdbd2cSJim Jagielski * under the License. 22*b1cdbd2cSJim Jagielski * 23*b1cdbd2cSJim Jagielski ***********************************************************--> 24*b1cdbd2cSJim Jagielski 25*b1cdbd2cSJim Jagielski 26*b1cdbd2cSJim Jagielski 27*b1cdbd2cSJim Jagielski 28*b1cdbd2cSJim Jagielski<meta> 29*b1cdbd2cSJim Jagielski <topic id="textscalcguideaddress_autoxml" indexer="include" status="PUBLISH"> 30*b1cdbd2cSJim Jagielski <title xml-lang="en-US" id="tit">Recognizing Names as Addressing</title> 31*b1cdbd2cSJim Jagielski <filename>/text/scalc/guide/address_auto.xhp</filename> 32*b1cdbd2cSJim Jagielski </topic> 33*b1cdbd2cSJim Jagielski </meta> 34*b1cdbd2cSJim Jagielski <body> 35*b1cdbd2cSJim Jagielski<bookmark xml-lang="en-US" branch="index" id="bm_id3148797"><bookmark_value>automatic addressing in tables</bookmark_value> 36*b1cdbd2cSJim Jagielski <bookmark_value>natural language addressing</bookmark_value> 37*b1cdbd2cSJim Jagielski <bookmark_value>formulas; using row/column labels</bookmark_value> 38*b1cdbd2cSJim Jagielski <bookmark_value>text in cells; as addressing</bookmark_value> 39*b1cdbd2cSJim Jagielski <bookmark_value>addressing; automatic</bookmark_value> 40*b1cdbd2cSJim Jagielski <bookmark_value>name recognition on/off</bookmark_value> 41*b1cdbd2cSJim Jagielski <bookmark_value>row headers;using in formulas</bookmark_value> 42*b1cdbd2cSJim Jagielski <bookmark_value>column headers;using in formulas</bookmark_value> 43*b1cdbd2cSJim Jagielski <bookmark_value>columns; finding labels automatically</bookmark_value> 44*b1cdbd2cSJim Jagielski <bookmark_value>rows; finding labels automatically</bookmark_value> 45*b1cdbd2cSJim Jagielski <bookmark_value>recognizing; column and row labels</bookmark_value> 46*b1cdbd2cSJim Jagielski</bookmark><comment>mw changes "names;..." entry to "text in cells;..."</comment><comment>mw inserted three index entries from text/shared/optionen/01060500.xhp. Changed "finding;..." entry to "recognizing;..." entry. Adding (Calc) is no longer necessary in this file.</comment> 47*b1cdbd2cSJim Jagielski<paragraph xml-lang="en-US" id="hd_id3148797" role="heading" level="1" l10n="U" 48*b1cdbd2cSJim Jagielski oldref="20"><variable id="address_auto"><link href="text/scalc/guide/address_auto.xhp" name="Recognizing Names as Addressing">Recognizing Names as Addressing</link> 49*b1cdbd2cSJim Jagielski</variable></paragraph> 50*b1cdbd2cSJim Jagielski <paragraph xml-lang="en-US" id="par_id3152597" role="paragraph" l10n="CHG" oldref="21">You can use cells with text to refer to the rows or to the columns that contain the cells.</paragraph> 51*b1cdbd2cSJim Jagielski<comment>removed table as a workaround for issue 108715</comment> 52*b1cdbd2cSJim Jagielski <paragraph xml-lang="en-US" id="par_id3156283" role="paragraph" l10n="E"> 53*b1cdbd2cSJim Jagielski<image id="img_id3154942" src="res/helpimg/names_as_addressing.png" width="2.1291in" height="0.8709in" localize="true"><alt xml-lang="en-US" id="alt_id3154942">Example spreadsheet</alt> 54*b1cdbd2cSJim Jagielski </image></paragraph> 55*b1cdbd2cSJim Jagielski 56*b1cdbd2cSJim Jagielski <paragraph xml-lang="en-US" id="par_id3154512" role="paragraph" l10n="CHG" oldref="22">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.</paragraph> 57*b1cdbd2cSJim Jagielski <paragraph xml-lang="en-US" id="par_id3155443" role="paragraph" l10n="CHG" oldref="24">This function is active by default. To turn this function off, choose <emph><switchinline select="sys"><caseinline select="MAC">%PRODUCTNAME - Preferences</caseinline><defaultinline>Tools - Options</defaultinline></switchinline> - %PRODUCTNAME Calc - Calculate</emph> and clear the <emph>Automatically find column and row labels</emph> check box.</paragraph> 58*b1cdbd2cSJim Jagielski <paragraph xml-lang="en-US" id="par_id3149210" role="tip" l10n="CHG" oldref="37">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, <item type="literal">'Harry\'s Bar'.</item> 59*b1cdbd2cSJim Jagielski</paragraph> 60*b1cdbd2cSJim Jagielski <section id="relatedtopics"><comment>mw changed reference to deleted Calc guide address_byname.xhp to refer to Calc guide value_with_name.xhp</comment><comment>UFI: changed embedvar links to embed links</comment><embed href="text/scalc/guide/value_with_name.xhp#value_with_name"/> 61*b1cdbd2cSJim Jagielski <embed href="text/scalc/01/04070400.xhp#define_label_range"/> 62*b1cdbd2cSJim Jagielski <embed href="text/scalc/guide/relativ_absolut_ref.xhp#relativ_absolut_ref"/> 63*b1cdbd2cSJim Jagielski </section> 64*b1cdbd2cSJim Jagielski </body> 65*b1cdbd2cSJim Jagielski</helpdocument>