編輯

共用方式為


XlPivotFieldCalculation Enum

Definition

Specifies the type of calculation performed by a data PivotField when a custom calculation is used.

public enum class XlPivotFieldCalculation
public enum XlPivotFieldCalculation
Public Enum XlPivotFieldCalculation
Inheritance
XlPivotFieldCalculation

Fields

Name Value Description
xlNoAdditionalCalculation -4143

No calculation.

xlDifferenceFrom 2

The difference from the value of the Base item in the Base field.

xlPercentOf 3

Percentage of the value of the Base item in the Base field.

xlPercentDifferenceFrom 4

Percentage difference from the value of the Base item in the Base field.

xlRunningTotal 5

Data for successive items in the Base field as a running total.

xlPercentOfRow 6

Percentage of the total for the row or category.

xlPercentOfColumn 7

Percentage of the total for the column or series.

xlPercentOfTotal 8

Percentage of the grand total of all the data or data points in the report.

xlIndex 9

Data calculated as ((value in cell) x (Grand Total of Grand Totals)) / ((Grand Row Total) x (Grand Column Total))

xlPercentOfParentRow 10

Percentage of the total of the parent row.

xlPercentOfParentColumn 11

Percentage of the total of the parent column.

xlPercentOfParent 12

Percentage of the total of the specified parent Base field.

xlPercentRunningTotal 13

Percentatge of the running total of the specified Base field.

xlRankAscending 14

Rank smallest to largest.

xlRankDecending 15

Rank largest to smallest.

Applies to