<?xml version="1.0" encoding="UTF-8"?>

<!--***********************************************************
 *
 * 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
 *
 * Unless required by applicable law or agreed to in writing,
 * software distributed under the License is distributed on an
 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 * KIND, either express or implied.  See the License for the
 * specific language governing permissions and limitations
 * under the License.
 *
 ***********************************************************-->

<helpdocument version="1.0">
<meta>
<topic id="textscalc0112050000xml" indexer="include" status="PUBLISH">
<title xml-lang="en-US" id="tit">Subtotals</title>
<filename>/text/scalc/01/12050000.xhp</filename>
</topic>
</meta>
<body>
<bookmark xml-lang="en-US" branch="hid/.uno:DataSubTotals" id="bm_id1614637" localize="false"/><!-- HID added by script -->
<bookmark branch="hid/.uno:DataSubTotals" xml-lang="en-US" id="bm_id3154515"/>
<paragraph role="heading" level="1" id="hd_id3153822" l10n="U" xml-lang="en-US">Subtotals</paragraph>
<paragraph l10n="U" role="paragraph" id="par_id3145119" xml-lang="en-US"><variable id="teilergebnisse"><ahelp hid=".uno:DataSubTotals" visibility="visible">Calculates subtotals for the columns that you select.</ahelp></variable> $[officename] uses the SUM function to automatically calculate the subtotal and grand total values in a labeled range. You can also use other functions to perform the calculation. $[officename] automatically recognizes a defined database area when you place the cursor in it.</paragraph>
<section id="howtoget">
<embed href="text/scalc/00/00000412.xhp#dntegs"/>
</section>
<paragraph role="paragraph" id="par_id3153896" l10n="U" xml-lang="en-US">For example, you can generate a sales summary for a certain postal code based on data from a client database.</paragraph>
<embed href="text/scalc/01/12050100.xhp#gruppe"/>
<embed href="text/scalc/01/12050200.xhp#optionen"/>
<embed href="text/shared/00/00000001.xhp#zurueck"/>
<paragraph role="heading" level="2" id="hd_id3163708" l10n="U" xml-lang="en-US">Delete</paragraph>
<paragraph role="paragraph" id="par_id3154125" l10n="U" xml-lang="en-US">Deletes the subtotal rows in the selected area.</paragraph>
</body>
</helpdocument>
