Files
help/helpcontent2/source/text/scalc/guide/value_with_name.xhp
Ivo Hinkelmann ce003d1b51 INTEGRATION: CWS hcscalc01 (1.4.70); FILE MERGED
2006/02/15 09:49:53 ufi 1.4.70.1: 15.2.
2006-06-29 08:57:06 +00:00

94 lines
6.1 KiB
XML
Executable File

<?xml version="1.0" encoding="UTF-8"?>
<!--
***********************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: value_with_name.xhp,v $
*
* $Revision: 1.5 $
*
* last change: $Author: ihi $ $Date: 2006-06-29 09:57:06 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
*
*
* GNU Lesser General Public License Version 2.1
* =============================================
* Copyright 2005 by Sun Microsystems, Inc.
* 901 San Antonio Road, Palo Alto, CA 94303, USA
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License version 2.1, as published by the Free Software Foundation.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston,
* MA 02111-1307 USA
*
************************************************************************
-->
<helpdocument version="1.0">
<meta>
<topic id="textscalcguidevalue_with_namexml" indexer="include" status="PUBLISH">
<title id="tit" xml-lang="en-US">Naming Cells</title>
<filename>/text/scalc/guide/value_with_name.xhp</filename>
</topic>
<history>
<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
<lastedited date="2006-02-14T12:54:05">converted from old format - fpe</lastedited>
</history>
</meta>
<body>
<bookmark xml-lang="en-US" branch="index" id="bm_id3147434"><bookmark_value>cells; defining names</bookmark_value>
<bookmark_value>names; defining for cells</bookmark_value>
<bookmark_value>values; defining names</bookmark_value>
<bookmark_value>constants definition</bookmark_value>
<bookmark_value>variables; defining names</bookmark_value>
<bookmark_value>cell ranges; defining names</bookmark_value>
<bookmark_value>defining;names for cell ranges</bookmark_value>
<bookmark_value>formulas; defining names</bookmark_value>
<bookmark_value>addressing; by defined names</bookmark_value>
<bookmark_value>cell names; defining/addressing</bookmark_value>
<bookmark_value>references; by defined names</bookmark_value>
</bookmark><comment>mw changed index entry "defining;..."</comment><comment>mw copied three index entries from Calc guide address_byname, deleted "cell names;in formulas" and changed the remaining "cell names;..."entry.</comment><comment>mw changed "names;...", "addressing;..." and "references,..." entries.</comment>
<paragraph role="heading" id="hd_id3147434" xml-lang="en-US" level="1" l10n="U" oldref="1"><variable id="value_with_name"><link href="text/scalc/guide/value_with_name.xhp" name="Naming Cells">Naming Cells</link>
</variable></paragraph>
<paragraph role="paragraph" id="par_id5489364" xml-lang="en-US" l10n="NEW">A good way of making the references to cells and cell ranges in formulas legible is to give the ranges names. For example, you can name the range A1:B2 <emph>Start</emph>. You can then write a formula such as "=SUM(Start)". Even after you insert or delete rows or columns, $[officename] still correctly assigns the ranges identified by name. Range names must not contain any spaces.</paragraph>
<paragraph role="paragraph" id="par_id953398" xml-lang="en-US" l10n="NEW">For example, it is much easier to read a formula for sales tax if you can write "= Amount * Tax_rate" instead of "= A5 * B12". In this case, you would name cell A5 "Amount" and cell B12 "Tax_rate."</paragraph>
<paragraph role="paragraph" id="par_id4889675" xml-lang="en-US" l10n="NEW">Use the <emph>Define Names</emph> dialog to define names for formulas or parts of formulas you need more often. In order to specify range names,</paragraph>
<list type="ordered">
<listitem>
<paragraph role="listitem" id="par_id3153954" xml-lang="en-US" l10n="U" oldref="3">Select a cell or range of cells, then choose <emph>Insert - Names - Define</emph>. The <emph>Define Names</emph> dialog appears.</paragraph>
</listitem>
<listitem>
<paragraph role="listitem" id="par_id3156283" xml-lang="en-US" l10n="U" oldref="4">Type the name of the selected area in the <emph>Name</emph> field. Click <emph>Add</emph>. The newly defined name appears in the list below. Click OK to close the dialog.</paragraph>
</listitem>
</list>
<paragraph role="paragraph" id="par_id5774101" xml-lang="en-US" l10n="NEW">You can also name other cell ranges in this dialog by entering the name in the field and then selecting the respective cells.</paragraph>
<paragraph role="paragraph" id="par_id3154942" xml-lang="en-US" l10n="U" oldref="5">If you type the name in a formula, after the first few characters entered you will see the entire name as a tip.</paragraph>
<list type="unordered">
<listitem>
<paragraph role="listitem" id="par_id3154510" xml-lang="en-US" l10n="U" oldref="6">Press the Enter key in order to accept the name from the tip.</paragraph>
</listitem>
<listitem>
<paragraph role="listitem" id="par_id3150749" xml-lang="en-US" l10n="U" oldref="7">If more than one name starts with the same characters, you can scroll through all the names using the Tab key.<comment>mw copied contents from Calc guide address_byname.xhp</comment></paragraph>
</listitem>
</list>
<section id="relatedtopics">
<paragraph role="paragraph" id="par_id3153711" xml-lang="en-US" l10n="U" oldref="8"><link href="text/scalc/01/04070100.xhp" name="Insert - Names - Define">Insert - Names - Define</link></paragraph>
<embed href="text/scalc/guide/goalseek.xhp#goalseek"/>
<embed href="text/scalc/guide/relativ_absolut_ref.xhp#relativ_absolut_ref"/>
<embed href="text/scalc/guide/address_auto.xhp#address_auto"/><comment>mw deleted one EMBED paragraph and copied two EMBED paragraphs from Calc guide address_byname.xhp</comment>
</section>
</body>
</helpdocument>