1<?xml version="1.0" encoding="UTF-8"?>
2
3<!--***********************************************************
4 *
5 * Licensed to the Apache Software Foundation (ASF) under one
6 * or more contributor license agreements.  See the NOTICE file
7 * distributed with this work for additional information
8 * regarding copyright ownership.  The ASF licenses this file
9 * to you under the Apache License, Version 2.0 (the
10 * "License"); you may not use this file except in compliance
11 * with the License.  You may obtain a copy of the License at
12 *
13 *   http://www.apache.org/licenses/LICENSE-2.0
14 *
15 * Unless required by applicable law or agreed to in writing,
16 * software distributed under the License is distributed on an
17 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
18 * KIND, either express or implied.  See the License for the
19 * specific language governing permissions and limitations
20 * under the License.
21 *
22 ***********************************************************-->
23
24<helpdocument version="1.0">
25<meta>
26<topic id="textscalc0112050100xml" indexer="include" status="PUBLISH">
27<title id="tit" xml-lang="en-US">1st, 2nd, 3rd Group</title>
28<filename>/text/scalc/01/12050100.xhp</filename>
29</topic>
30</meta>
31<body>
32<section id="gruppe">
33<bookmark xml-lang="en-US" branch="hid/SC_HID_SCPAGE_SUBT_GROUP2" id="bm_id3147335" localize="false"/>
34<bookmark xml-lang="en-US" branch="hid/SC_HID_SCPAGE_SUBT_GROUP3" id="bm_id3150085" localize="false"/>
35<bookmark xml-lang="en-US" branch="hid/SC_HID_SCPAGE_SUBT_GROUP1" id="bm_id3153252" localize="false"/>
36<paragraph role="heading" id="hd_id3149784" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/scalc/01/12050100.xhp" name="1st, 2nd, 3rd Group">1st, 2nd, 3rd Group</link></paragraph>
37<paragraph role="paragraph" id="par_id3145068" xml-lang="en-US" l10n="U" oldref="2"><ahelp hid="HID_SCPAGE_SUBT_GROUP1">Specify the settings for up to three subtotal groups. Each tab has the same layout.</ahelp></paragraph>
38</section>
39<section id="howtoget">
40<embed href="text/scalc/00/00000412.xhp#dntezd"/>
41</section>
42<paragraph role="paragraph" id="par_id3148797" xml-lang="en-US" l10n="U" oldref="3">To insert subtotal values into a table:</paragraph>
43<list type="ordered">
44<listitem>
45<paragraph role="listitem" id="par_id3154908" xml-lang="en-US" l10n="U" oldref="13">Ensure that the columns of the table have labels.</paragraph>
46</listitem>
47<listitem>
48<paragraph role="listitem" id="par_id3153968" xml-lang="en-US" l10n="U" oldref="4">Select the table or the area in the table that you want to calculate subtotals for, and then choose <emph>Data - Subtotals</emph>.</paragraph>
49</listitem>
50<listitem>
51<paragraph role="listitem" id="par_id3161831" xml-lang="en-US" l10n="U" oldref="5">In the <emph>Group By</emph> box, select the column that you want to add the subtotals to.</paragraph>
52</listitem>
53<listitem>
54<paragraph role="listitem" id="par_id3153188" xml-lang="en-US" l10n="U" oldref="6">In the <emph>Calculate subtotals for</emph> box, select the check boxes for the columns containing the values that you want to subtotal.</paragraph>
55</listitem>
56<listitem>
57<paragraph role="listitem" id="par_id3152460" xml-lang="en-US" l10n="U" oldref="14">In the <emph>Use function</emph> box, select the function that you want to use to calculate the subtotals.</paragraph>
58</listitem>
59<listitem>
60<paragraph role="listitem" id="par_id3154321" xml-lang="en-US" l10n="U" oldref="15">Click <emph>OK</emph>.</paragraph>
61</listitem>
62</list>
63<bookmark xml-lang="en-US" branch="hid/SC_HID_SC_SUBT_GROUP" id="bm_id3163713" localize="false"/>
64<paragraph role="heading" id="hd_id3156441" xml-lang="en-US" level="2" l10n="U" oldref="7">Group by</paragraph>
65<paragraph role="paragraph" id="par_id3154013" xml-lang="en-US" l10n="U" oldref="8"><ahelp hid="HID_SC_SUBT_GROUP">Select the column that you want to control the subtotal calculation process. If the contents of the selected column change, the subtotals are automatically recalculated.</ahelp></paragraph>
66<bookmark xml-lang="en-US" branch="hid/SC_HID_SCPAGE_SUBT_GROUP" id="bm_id3154492" localize="false"/>
67<bookmark xml-lang="en-US" branch="hid/SC_HID_SC_SUBT_COLS" id="bm_id3149379" localize="false"/>
68<paragraph role="heading" id="hd_id3154943" xml-lang="en-US" level="2" l10n="U" oldref="9">Calculate subtotals for</paragraph>
69<paragraph role="paragraph" id="par_id3147125" xml-lang="en-US" l10n="U" oldref="10"><ahelp hid="HID_SC_SUBT_COLS">Select the column(s) containing the values that you want to subtotal.</ahelp></paragraph>
70<bookmark xml-lang="en-US" branch="hid/SC_HID_SC_SUBT_FUNC" id="bm_id3149413" localize="false"/>
71<paragraph role="heading" id="hd_id3156283" xml-lang="en-US" level="2" l10n="U" oldref="11">Use function</paragraph>
72<paragraph role="paragraph" id="par_id3145647" xml-lang="en-US" l10n="U" oldref="12"><ahelp hid="HID_SC_SUBT_FUNC">Select the mathematical function that you want to use to calculate the subtotals.</ahelp></paragraph>
73</body>
74</helpdocument>
75