Files
help/helpcontent2/source/text/scalc/guide/cellreferences.xhp
Ivo Hinkelmann 3c43db5cfc INTEGRATION: CWS hcscalc01 (1.3.70); FILE MERGED
2006/05/29 14:51:04 ufi 1.3.70.1: *** empty log message ***
2006-06-29 08:50:09 +00:00

101 lines
6.0 KiB
XML
Executable File

<?xml version="1.0" encoding="UTF-8"?>
<!--
***********************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: cellreferences.xhp,v $
*
* $Revision: 1.4 $
*
* last change: $Author: ihi $ $Date: 2006-06-29 09:50:09 $
*
* 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="textscalcguidecellreferencesxml" indexer="include" status="PUBLISH">
<title id="tit" xml-lang="en-US">Referencing a Cell in Another Document</title>
<filename>/text/scalc/guide/cellreferences.xhp</filename>
</topic>
<history>
<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
<lastedited date="2006-05-16T11:37:42">converted from old format - fpe</lastedited>
</history>
</meta>
<body>
<bookmark xml-lang="en-US" branch="index" id="bm_id3147436"><bookmark_value>sheet references</bookmark_value>
<bookmark_value>references; to cells in another document</bookmark_value>
<bookmark_value>cells; operating in another document</bookmark_value>
</bookmark><comment>mw made "sheet references;" a one level entry</comment>
<paragraph role="heading" id="hd_id3147436" xml-lang="en-US" level="1" l10n="CHG" oldref="9"><variable id="cellreferences"><link href="text/scalc/guide/cellreferences.xhp" name="Referencing Other Sheets">Referencing Other Sheets</link>
</variable></paragraph>
<paragraph role="paragraph" id="par_id9663075" xml-lang="en-US" l10n="NEW">In a sheet cell you can show a reference to a cell in another sheet.</paragraph>
<list type="ordered">
<listitem>
<paragraph role="listitem" id="par_id2078005" xml-lang="en-US" l10n="NEW">Open a new, empty spreadsheet.</paragraph>
</listitem>
<listitem>
<paragraph role="listitem" id="par_id4943693" xml-lang="en-US" l10n="NEW">By way of example, enter the following formula in cell A1 of Sheet1:</paragraph>
<paragraph role="listitem" id="par_id9064302" xml-lang="en-US" l10n="NEW">=Sheet2.A1</paragraph>
</listitem>
<listitem>
<paragraph role="listitem" id="par_id7609790" xml-lang="en-US" l10n="NEW">Click the <emph>Sheet 2</emph> tab at the bottom of the spreadsheet. Set the cursor in cell A1 there and enter text or a number.</paragraph>
</listitem>
<listitem>
<paragraph role="listitem" id="par_id809961" xml-lang="en-US" l10n="NEW">If you switch back to Sheet1, you will see the same content in cell A1 there. If the contents of Sheet2.A1 change, then the contents of Sheet1.A1 also change.</paragraph>
</listitem>
</list>
<paragraph role="paragraph" id="par_id1879329" xml-lang="en-US" l10n="NEW">In the same way, a reference can also be made to a cell from another document provided that this document has already been saved as a file.</paragraph>
<list type="ordered">
<listitem>
<paragraph role="listitem" id="par_id5949278" xml-lang="en-US" l10n="NEW">Choose <emph>File - Open</emph>, to load an existing spreadsheet document.</paragraph>
</listitem>
<listitem>
<paragraph role="listitem" id="par_id8001953" xml-lang="en-US" l10n="NEW">Choose <emph>File - New</emph>, to open a new spreadsheet document. Set the cursor in the cell where you want to insert the external data and enter an equals sign to indicate that you want to begin a formula.</paragraph>
</listitem>
<listitem>
<paragraph role="listitem" id="par_id8571123" xml-lang="en-US" l10n="NEW">Now switch to the document you have just loaded. Click the cell with the data that you want to insert in the new document.</paragraph>
</listitem>
<listitem>
<paragraph role="listitem" id="par_id8261665" xml-lang="en-US" l10n="NEW">Switch back to the new spreadsheet. In the input line you will now see how $[officename] Calc has added the reference to the formula for you. </paragraph>
<paragraph role="listitem" id="par_id5888241" xml-lang="en-US" l10n="NEW">The reference to a cell of another document contains the name of the other document in single inverted commas, then a hash #, then the name of the sheet of the other document, followed by a point and the name of the cell.</paragraph>
</listitem>
<listitem>
<paragraph role="listitem" id="par_id7697683" xml-lang="en-US" l10n="NEW">Confirm the formula by clicking the green check mark.</paragraph>
</listitem>
<listitem>
<paragraph role="listitem" id="par_id7099826" xml-lang="en-US" l10n="NEW">If you drag the box in the lower right corner of the active cell to select a range of cells, $[officename] automatically inserts the corresponding references in the adjacent cells. As a result, the sheet name is preceded with a "$" sign to designate it as an absolute reference.</paragraph>
</listitem>
</list>
<paragraph role="paragraph" id="par_id674459" xml-lang="en-US" l10n="NEW">If you examine the name of the other document in this formula, you will notice that it is written as a <link href="text/shared/00/00000002.xhp#url" name="URL">URL</link>. This means that you can also enter a URL from the Internet.</paragraph>
<section id="relatedtopics">
<embed href="text/scalc/guide/cellreferences_url.xhp#cellreferences_url"/>
</section>
</body>
</helpdocument>