1cdf0e10cSrcweir<?xml version="1.0" encoding="UTF-8"?>
2*44904c58Smseidel
3ce44d6c1SAndrew Rist<!--***********************************************************
4*44904c58Smseidel *
5ce44d6c1SAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one
6ce44d6c1SAndrew Rist * or more contributor license agreements.  See the NOTICE file
7ce44d6c1SAndrew Rist * distributed with this work for additional information
8ce44d6c1SAndrew Rist * regarding copyright ownership.  The ASF licenses this file
9ce44d6c1SAndrew Rist * to you under the Apache License, Version 2.0 (the
10ce44d6c1SAndrew Rist * "License"); you may not use this file except in compliance
11ce44d6c1SAndrew Rist * with the License.  You may obtain a copy of the License at
12*44904c58Smseidel *
13ce44d6c1SAndrew Rist *   http://www.apache.org/licenses/LICENSE-2.0
14*44904c58Smseidel *
15ce44d6c1SAndrew Rist * Unless required by applicable law or agreed to in writing,
16ce44d6c1SAndrew Rist * software distributed under the License is distributed on an
17ce44d6c1SAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
18ce44d6c1SAndrew Rist * KIND, either express or implied.  See the License for the
19ce44d6c1SAndrew Rist * specific language governing permissions and limitations
20ce44d6c1SAndrew Rist * under the License.
21*44904c58Smseidel *
22ce44d6c1SAndrew Rist ***********************************************************-->
23ce44d6c1SAndrew Rist
24*44904c58Smseidel<helpdocument version="1.0">
25cdf0e10cSrcweir<meta>
26*44904c58Smseidel<topic id="textscalcguideconsolidatexml" indexer="include" status="PUBLISH">
27*44904c58Smseidel<title xml-lang="en-US" id="tit">Consolidating Data</title>
28*44904c58Smseidel<filename>/text/scalc/guide/consolidate.xhp</filename>
29*44904c58Smseidel</topic>
30*44904c58Smseidel</meta>
31*44904c58Smseidel<body>
32*44904c58Smseidel<bookmark xml-lang="en-US" branch="index" id="bm_id3150791">
33*44904c58Smseidel<bookmark_value>consolidating data</bookmark_value>
34*44904c58Smseidel<bookmark_value>ranges; combining</bookmark_value>
35*44904c58Smseidel<bookmark_value>combining;cell ranges</bookmark_value>
36*44904c58Smseidel<bookmark_value>tables; combining</bookmark_value>
37*44904c58Smseidel<bookmark_value>data; merging cell ranges</bookmark_value>
38*44904c58Smseidel<bookmark_value>merging;data ranges</bookmark_value>
39cdf0e10cSrcweir</bookmark><comment>mw deleted "values;"</comment>
40cdf0e10cSrcweir<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>
41cdf0e10cSrcweir</variable></paragraph>
42*44904c58Smseidel<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>
43*44904c58Smseidel<paragraph xml-lang="en-US" id="hd_id892056" role="heading" level="2" l10n="NEW">To Combine Cell Contents</paragraph>
44*44904c58Smseidel<list type="ordered">
45*44904c58Smseidel<listitem>
46*44904c58Smseidel<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>
47*44904c58Smseidel</listitem>
48*44904c58Smseidel<listitem>
49*44904c58Smseidel<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>
50*44904c58Smseidel</listitem>
51*44904c58Smseidel<listitem>
52*44904c58Smseidel<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>
53*44904c58Smseidel<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>
54*44904c58Smseidel</listitem>
55*44904c58Smseidel<listitem>
56*44904c58Smseidel<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>
57*44904c58Smseidel</listitem>
58*44904c58Smseidel<listitem>
59*44904c58Smseidel<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>
60*44904c58Smseidel</listitem>
61*44904c58Smseidel<listitem>
62*44904c58Smseidel<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>
63*44904c58Smseidel<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>
64*44904c58Smseidel</listitem>
65*44904c58Smseidel<listitem>
66*44904c58Smseidel<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>
67*44904c58Smseidel</listitem>
68*44904c58Smseidel<listitem>
69*44904c58Smseidel<paragraph xml-lang="en-US" id="par_id3149315" role="listitem" l10n="U" oldref="15">Click <emph>OK</emph> to consolidate the ranges.</paragraph>
70*44904c58Smseidel</listitem>
71*44904c58Smseidel</list>
72*44904c58Smseidel<paragraph xml-lang="en-US" id="par_idN107DE" role="heading" level="2" l10n="NEW">Additional Settings</paragraph>
73*44904c58Smseidel<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>
74*44904c58Smseidel<list type="unordered">
75*44904c58Smseidel<listitem>
76*44904c58Smseidel<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>
77*44904c58Smseidel<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>
78*44904c58Smseidel</listitem>
79*44904c58Smseidel</list>
80*44904c58Smseidel<list type="unordered">
81*44904c58Smseidel<listitem>
82*44904c58Smseidel<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>
83*44904c58Smseidel<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>
84*44904c58Smseidel<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>
85*44904c58Smseidel</listitem>
86*44904c58Smseidel</list>
87*44904c58Smseidel<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>
88*44904c58Smseidel<section id="relatedtopics">
89*44904c58Smseidel<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>
90*44904c58Smseidel</section>
91*44904c58Smseidel</body>
92*44904c58Smseidel</helpdocument>
93