XlAllocationMethod Enumeration (Excel)

Office 2013 and later
GitHub-Mark-64px

Contribute to this content

Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA documentation.

Specifies the method to use to allocate values when performing what-if analysis on a PivotTable report based on an OLAP data source.

Name

Value

Description

xlEqualAllocation

1

Use equal allocation.

xlWeightedAllocation

2

Use weighted allocation.

If the AllocationMethod property is set to xlWeightedAllocation, you can optionally specify the weight expression to use by setting the AllocationWeightExpression property.

Show: