summaryrefslogtreecommitdiffstats
path: root/source/text/scalc/guide/formula_copy.xhp
blob: 0a1fe693d83ebafe308a0127d5a5adff2faa95dd (plain)
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
<?xml version="1.0" encoding="UTF-8"?>


<!--
 * 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 .
 -->
	
<helpdocument version="1.0">
<meta>
<topic id="textscalcguideformula_copyxml" indexer="include" status="PUBLISH">
<title id="tit" xml-lang="en-US">Copying Formulas</title>
<filename>/text/scalc/guide/formula_copy.xhp</filename>
</topic>
<history>
<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
</history>
</meta>
<body>
<bookmark xml-lang="en-US" branch="index" id="bm_id3151113"><bookmark_value>formulas; copying and pasting</bookmark_value>
<bookmark_value>copying; formulas</bookmark_value>
<bookmark_value>pasting;formulas</bookmark_value>
</bookmark><comment>mw added "pasting;" and changed "formulas;"</comment>
<paragraph role="heading" id="hd_id3151113" xml-lang="en-US" level="1"><variable id="formula_copy"><link href="text/scalc/guide/formula_copy.xhp" name="Copying Formulas">Copying Formulas</link>
</variable></paragraph>
<section id="copytext">
<paragraph role="paragraph" id="par_id3156424" xml-lang="en-US">There are various ways to copy a formula. One suggested method is:</paragraph>
<list type="ordered">
<listitem>
<paragraph role="listitem" id="par_id3150439" xml-lang="en-US">Select the cell containing the formula.</paragraph>
</listitem>
<listitem>
<paragraph role="listitem" id="par_id3154319" xml-lang="en-US">Choose <emph>Edit - Copy</emph>, or press <switchinline select="sys"><caseinline select="MAC">Command</caseinline><defaultinline>Ctrl</defaultinline></switchinline>+C to copy it.</paragraph>
</listitem>
<listitem>
<paragraph role="listitem" id="par_id3159155" xml-lang="en-US">Select the cell into which you want the formula to be copied.</paragraph>
</listitem>
<listitem>
<paragraph role="listitem" id="par_id3153728" xml-lang="en-US">Choose <emph>Edit - Paste</emph>, or press <switchinline select="sys"><caseinline select="MAC">Command</caseinline><defaultinline>Ctrl</defaultinline></switchinline>+V. The formula will be positioned in the new cell.</paragraph>
</listitem>
</list>
<paragraph role="paragraph" id="par_id3149961" xml-lang="en-US">If you want to copy a formula into multiple cells, there is a quick and easy way to copy into adjacent cell areas:</paragraph>
<list type="ordered">
<listitem>
<paragraph role="listitem" id="par_id3149400" xml-lang="en-US">Select the cell containing the formula.</paragraph>
</listitem>
<listitem>
<paragraph role="listitem" id="par_id3154018" xml-lang="en-US">Position the mouse on the bottom right of the highlighted border of the cell, and continue holding down the mouse button until the pointer changes to a cross-hair symbol.</paragraph>
</listitem>
<listitem>
<paragraph role="listitem" id="par_id3150749" xml-lang="en-US">With the mouse button pressed, drag it down or to the right over all the cells into which you want to copy the formula.</paragraph>
</listitem>
<listitem>
<paragraph role="listitem" id="par_id3153714" xml-lang="en-US">When you release the mouse button, the formula will be copied into the cells and automatically adjusted.</paragraph>
</listitem>
</list>
<paragraph role="paragraph" id="par_id3156385" xml-lang="en-US">If you do not want values and texts to be automatically adjusted, then hold down the <switchinline select="sys"><caseinline select="MAC">Command</caseinline><defaultinline>Ctrl</defaultinline></switchinline> key when dragging. Formulas, however, are always adjusted accordingly.</paragraph>
</section>
<section id="relatedtopics">
<embed href="text/scalc/guide/relativ_absolut_ref.xhp#relativ_absolut_ref"/>
</section>
</body>
</helpdocument>