summaryrefslogtreecommitdiff
path: root/helpcontent2/source/text/scalc/guide/formula_copy.xhp
blob: b1c94084dc29f4848aec35462cee26bd7d98b6b1 (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
77
78
79
80
81
82
83
84
85
86
87
88
<?xml version="1.0" encoding="UTF-8"?>


<!--
 ***********************************************************************
 *
 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
 *
 * Copyright 2000, 2010 Oracle and/or its affiliates.
 *
 * OpenOffice.org - a multi-platform office productivity suite
 *
 * This file is part of OpenOffice.org.
 *
 * OpenOffice.org is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Lesser General Public License version 3
 * only, as published by the Free Software Foundation.
 *
 * OpenOffice.org 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 version 3 for more details
 * (a copy is included in the LICENSE file that accompanied this code).
 *
 * You should have received a copy of the GNU Lesser General Public License
 * version 3 along with OpenOffice.org.  If not, see
 * <http://www.openoffice.org/license.html>
 * for a copy of the LGPLv3 License.
 *
 ************************************************************************
 -->
	
<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>
<lastedited date="2006-04-18T14:55:39">converted from old format - fpe</lastedited>
</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" l10n="U" oldref="54"><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" l10n="U" oldref="11">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" l10n="U" oldref="30">Select the cell containing the formula.</paragraph>
</listitem>
<listitem>
<paragraph role="listitem" id="par_id3154319" xml-lang="en-US" l10n="U" oldref="31">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" l10n="U" oldref="32">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" l10n="U" oldref="33">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" l10n="U" oldref="34">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" l10n="U" oldref="12">Select the cell containing the formula.</paragraph>
</listitem>
<listitem>
<paragraph role="listitem" id="par_id3154018" xml-lang="en-US" l10n="U" oldref="13">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" l10n="U" oldref="14">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" l10n="U" oldref="15">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" l10n="U" oldref="53">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>