File: cellreferences.xhp

package info (click to toggle)
libreoffice 1%3A4.3.3-2
  • links: PTS, VCS
  • area: main
  • in suites: jessie-kfreebsd
  • size: 2,684,980 kB
  • sloc: cpp: 4,023,702; java: 364,016; xml: 216,714; ansic: 74,602; perl: 34,443; python: 30,231; yacc: 12,179; makefile: 8,979; objc: 8,923; sh: 8,742; cs: 6,594; lex: 2,218; asm: 1,472; pascal: 925; awk: 807; php: 104; csh: 40; sed: 5
file content (85 lines) | stat: -rw-r--r-- 6,321 bytes parent folder | download | duplicates (10)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
<?xml version="1.0" encoding="UTF-8"?>
<helpdocument version="1.0">
	
<!--
 * This file is part of the LibreOffice project.
 *
 * This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
 *
 * This file incorporates work covered by the following license notice:
 *
 *   Licensed to the Apache Software Foundation (ASF) under one or more
 *   contributor license agreements. See the NOTICE file distributed
 *   with this work for additional information regarding copyright
 *   ownership. The ASF licenses this file to you under the Apache
 *   License, Version 2.0 (the "License"); you may not use this file
 *   except in compliance with the License. You may obtain a copy of
 *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
 -->
 
	
<meta>
      <topic id="textscalcguidecellreferencesxml" indexer="include" status="PUBLISH">
         <title xml-lang="en-US" id="tit">Referencing a Cell in Another Document</title>
         <filename>/text/scalc/guide/cellreferences.xhp</filename>
      </topic>
   </meta>
   <body>
<bookmark xml-lang="en-US" branch="index" id="bm_id3147436"><bookmark_value>sheet references</bookmark_value>
      <bookmark_value>references; to cells in other sheets/documents</bookmark_value>
      <bookmark_value>cells; operating in another document</bookmark_value>
      <bookmark_value>documents;references</bookmark_value>
</bookmark><comment>mw made "sheet references;" a one level entry</comment><comment>MW changed "references;" and added "documents;"</comment>
<paragraph xml-lang="en-US" id="hd_id3147436" role="heading" 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 xml-lang="en-US" id="par_id9663075" role="paragraph" l10n="NEW">In a sheet cell you can show a reference to a cell in another sheet.</paragraph>
      <paragraph xml-lang="en-US" id="par_id1879329" role="paragraph" 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>
      <paragraph xml-lang="en-US" id="hd_id7122409" role="heading" level="2" l10n="NEW">To Reference a Cell in the Same Document</paragraph>
      <list type="ordered">
         <listitem>
            <paragraph xml-lang="en-US" id="par_id2078005" role="listitem" l10n="NEW">Open a new, empty spreadsheet.</paragraph>
         </listitem>
         <listitem>
            <paragraph xml-lang="en-US" id="par_id4943693" role="listitem" l10n="NEW">By way of example, enter the following formula in cell A1 of Sheet1:</paragraph>
            <paragraph xml-lang="en-US" id="par_id9064302" role="listitem" l10n="NEW">
               <item type="literal">=Sheet2.A1</item>
            </paragraph>
         </listitem>
         <listitem>
            <paragraph xml-lang="en-US" id="par_id7609790" role="listitem" 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 xml-lang="en-US" id="par_id809961" role="listitem" 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 xml-lang="en-US" id="hd_id9209570" role="heading" level="2" l10n="NEW">To Reference a Cell in Another Document</paragraph>
      <list type="ordered">
         <listitem>
            <paragraph xml-lang="en-US" id="par_id5949278" role="listitem" l10n="NEW">Choose <emph>File - Open</emph>, to load an existing spreadsheet document.</paragraph>
         </listitem>
         <listitem>
            <paragraph xml-lang="en-US" id="par_id8001953" role="listitem" 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 xml-lang="en-US" id="par_id8571123" role="listitem" 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 xml-lang="en-US" id="par_id8261665" role="listitem" 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 xml-lang="en-US" id="par_id5888241" role="listitem" 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 xml-lang="en-US" id="par_id7697683" role="listitem" l10n="NEW">Confirm the formula by clicking the green check mark.</paragraph>
         </listitem>
         <listitem>
            <paragraph xml-lang="en-US" id="par_id7099826" role="listitem" 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 xml-lang="en-US" id="par_id674459" role="paragraph" 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>