merge the formfield patch from ooo-build
[ooovba.git] / helpcontent2 / source / text / scalc / guide / consolidate.xhp
blob79f02fbbb848424b1cfc7adfc30d59917fd3c671
1 <?xml version="1.0" encoding="UTF-8"?>
2 <helpdocument version="1.0">
4 <!--
5 ***********************************************************************
7 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
8 *
9 * Copyright 2008 by Sun Microsystems, Inc.
11 * OpenOffice.org - a multi-platform office productivity suite
13 * $RCSfile: soffice2xmlhelp.xsl,v $
14 * $Revision: 1.10 $
16 * This file is part of OpenOffice.org.
18 * OpenOffice.org is free software: you can redistribute it and/or modify
19 * it under the terms of the GNU Lesser General Public License version 3
20 * only, as published by the Free Software Foundation.
22 * OpenOffice.org is distributed in the hope that it will be useful,
23 * but WITHOUT ANY WARRANTY; without even the implied warranty of
24 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
25 * GNU Lesser General Public License version 3 for more details
26 * (a copy is included in the LICENSE file that accompanied this code).
28 * You should have received a copy of the GNU Lesser General Public License
29 * version 3 along with OpenOffice.org. If not, see
30 * <http://www.openoffice.org/license.html>
31 * for a copy of the LGPLv3 License.
33 ************************************************************************
34 -->
37 <meta>
38 <topic id="textscalcguideconsolidatexml" indexer="include" status="PUBLISH">
39 <title xml-lang="en-US" id="tit">Consolidating Data</title>
40 <filename>/text/scalc/guide/consolidate.xhp</filename>
41 </topic>
42 </meta>
43 <body>
44 <bookmark xml-lang="en-US" branch="index" id="bm_id3150791"><bookmark_value>consolidating data</bookmark_value>
45 <bookmark_value>ranges; combining</bookmark_value>
46 <bookmark_value>combining;cell ranges</bookmark_value>
47 <bookmark_value>tables; combining</bookmark_value>
48 <bookmark_value>data; merging cell ranges</bookmark_value>
49 <bookmark_value>merging;data ranges</bookmark_value>
50 </bookmark><comment>mw deleted "values;"</comment>
51 <paragraph xml-lang="en-US" id="hd_id3150791" role="heading" level="1" l10n="U" oldref="5"><variable id="consolidate"><link href="text/scalc/guide/consolidate.xhp" name="Consolidating Data">Consolidating Data</link>
52 </variable></paragraph>
53 <paragraph xml-lang="en-US" id="par_id3153191" role="paragraph" l10n="U" oldref="34">During consolidation, the contents of the cells from several sheets will be combined in one place.</paragraph>
54 <paragraph xml-lang="en-US" id="hd_id892056" role="heading" level="2" l10n="NEW">To Combine Cell Contents</paragraph>
55 <list type="ordered">
56 <listitem>
57 <paragraph xml-lang="en-US" id="par_id3151073" role="listitem" l10n="U" oldref="6">Open the document that contains the cell ranges to be consolidated.</paragraph>
58 </listitem>
59 <listitem>
60 <paragraph xml-lang="en-US" id="par_id3154513" role="listitem" l10n="U" oldref="7">Choose <item type="menuitem">Data - Consolidate</item> to open the <emph>Consolidate</emph> dialog.</paragraph>
61 </listitem>
62 <listitem>
63 <paragraph xml-lang="en-US" id="par_id3147345" role="listitem" l10n="U" oldref="8">From the <emph>Source data area</emph> box select a source cell range to consolidate with other areas.</paragraph>
64 <paragraph xml-lang="en-US" id="par_id3149209" role="listitem" l10n="U" oldref="9">If the range is not named, click in the field next to the <emph>Source data area</emph>. A blinking text cursor appears. Type a reference for the first source data range or select the range with the mouse.</paragraph>
65 </listitem>
66 <listitem>
67 <paragraph xml-lang="en-US" id="par_id3155529" role="listitem" l10n="U" oldref="10">Click <emph>Add</emph> to insert the selected range in the <emph>Consolidation areas</emph> field.</paragraph>
68 </listitem>
69 <listitem>
70 <paragraph xml-lang="en-US" id="par_id3153816" role="listitem" l10n="U" oldref="11">Select additional ranges and click <emph>Add</emph> after each selection.</paragraph>
71 </listitem>
72 <listitem>
73 <paragraph xml-lang="en-US" id="par_id3157983" role="listitem" l10n="U" oldref="12">Specify where you want to display the result by selecting a target range from the <emph>Copy results to</emph> box.</paragraph>
74 <paragraph xml-lang="en-US" id="par_id3150215" role="listitem" l10n="U" oldref="13">If the target range is not named, click in the field next to <emph>Copy results to</emph> and enter the reference of the target range. Alternatively, you can select the range using the mouse or position the cursor in the top left cell of the target range.</paragraph>
75 </listitem>
76 <listitem>
77 <paragraph xml-lang="en-US" id="par_id3153813" role="listitem" l10n="U" oldref="14">Select a function from the <emph>Function</emph> box. The function specifies how the values of the consolidation ranges are linked. The "Sum" function is the default setting.</paragraph>
78 </listitem>
79 <listitem>
80 <paragraph xml-lang="en-US" id="par_id3149315" role="listitem" l10n="U" oldref="15">Click <emph>OK</emph> to consolidate the ranges.</paragraph>
81 </listitem>
82 </list>
83 <paragraph xml-lang="en-US" id="par_idN107DE" role="heading" level="2" l10n="NEW">Additional Settings</paragraph>
84 <paragraph xml-lang="en-US" id="par_id3147250" role="paragraph" l10n="U" oldref="16">Click <emph>More</emph> in the <emph>Consolidate</emph> dialog to display additional settings:</paragraph>
85 <list type="unordered">
86 <listitem>
87 <paragraph xml-lang="en-US" id="par_id3156400" role="listitem" l10n="U" oldref="17">Select <emph>Link to source data</emph> to insert the formulas that generate the results in the target range, rather than the actual results. If you link the data, any values modified in the source range are automatically updated in the target range.</paragraph>
88 <paragraph xml-lang="en-US" id="par_id3150538" role="listitem" l10n="U" oldref="18">The corresponding cell references in the target range are inserted in consecutive rows, which are automatically ordered and then hidden from view. Only the final result, based on the selected function, is displayed.</paragraph>
89 </listitem>
90 </list>
91 <list type="unordered">
92 <listitem>
93 <paragraph xml-lang="en-US" id="par_id3149945" role="listitem" l10n="U" oldref="19">Under <emph>Consolidate by</emph>, select either <emph>Row labels</emph> or <emph>Column labels</emph> if the cells of the source data range are not to be consolidated corresponding to the identical position of the cell in the range, but instead according to a matching row label or column label.</paragraph>
94 <paragraph xml-lang="en-US" id="par_id3157871" role="listitem" l10n="U" oldref="20">To consolidate by row labels or column labels, the label must be contained in the selected source ranges.</paragraph>
95 <paragraph xml-lang="en-US" id="par_id3150478" role="note" l10n="U" oldref="21">The text in the labels must be identical, so that rows or columns can be accurately matched. If the row or column label does not match any that exist in the target range, it will be appended as a new row or column.</paragraph>
96 </listitem>
97 </list>
98 <paragraph xml-lang="en-US" id="par_id3147468" role="paragraph" l10n="U" oldref="22">The data from the consolidation ranges and target range will be saved when you save the document. If you later open a document in which consolidation has been defined, this data will again be available.</paragraph>
99 <section id="relatedtopics">
100 <paragraph xml-lang="en-US" id="par_id3153039" role="paragraph" l10n="U" oldref="33"><link href="text/scalc/01/12070000.xhp" name="Data - Consolidate">Data - Consolidate</link></paragraph>
101 </section>
102 </body>
103 </helpdocument>