# GrapeCity.Documents.Excel.SubtotalType

## Content

<div class="doc-site-dotnet-api-container">




  <h1 id="GrapeCity_Documents_Excel_SubtotalType" data-uid="GrapeCity.Documents.Excel.SubtotalType" class="text-break">SubtotalType Enum
</h1>
  <div class="markdown level0 summary"><p>Specifies the type of subtotal for the specified pivot field.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <h6><strong>Namespace</strong>: <a class="xref" href="GrapeCity.Documents.Excel.html">GrapeCity.Documents.Excel</a></h6>
  <h6><strong>Assembly</strong>: DS.Documents.Excel.dll</h6>
  <h5 id="GrapeCity_Documents_Excel_SubtotalType_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">[Flags]
public enum SubtotalType</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">&lt;Flags&gt;
Public Enum SubtotalType</code></pre>
  </div>
  <h3 id="fields">Fields
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    <thead>
    </thead></thead><tbody>
      <tr>
        <td id="GrapeCity_Documents_Excel_SubtotalType_Automatic">Automatic</td>
        <td><p>Specifies that the subtotal type is the same as the value of PivotDataConsolidationFunction.
If Automatic is used, all other subtotals should be removed.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Excel_SubtotalType_Average">Average</td>
        <td><p>Specifies the average.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Excel_SubtotalType_Count">Count</td>
        <td><p>Specifies the number of values.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Excel_SubtotalType_CountNums">CountNums</td>
        <td><p>Specifies the number of numeric values.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Excel_SubtotalType_Max">Max</td>
        <td><p>Specifies the maximum.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Excel_SubtotalType_Min">Min</td>
        <td><p>Specifies the minimum.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Excel_SubtotalType_None">None</td>
        <td><p>Specifies no subtotal is used.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Excel_SubtotalType_Product">Product</td>
        <td><p>Specifies the product.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Excel_SubtotalType_StdDev">StdDev</td>
        <td><p>Specifies StdDev.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Excel_SubtotalType_StdDevP">StdDevP</td>
        <td><p>Specifies StdDevP.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Excel_SubtotalType_Sum">Sum</td>
        <td><p>Specifies sum.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Excel_SubtotalType_Var">Var</td>
        <td><p>Specifies Var.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Excel_SubtotalType_VarP">VarP</td>
        <td><p>Specifies VarP.</p>
</td>
      </tr>
    </tbody>
  </table>
</div>
