Name

pivotfield.Function [= xlConsolidationFunction]

Synopsis

For data fields, sets or returns the function used to calculate the value displayed in the data area. Can be one of these settings:

xlAverage

xlCount

xlCountNums

xlMax

xlMin

xlProduct

xlStDev

xlStDevP

xlSum

xlUnknown

xlVar

xlVarP

Get Programming Excel with VBA and .NET now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.