Article ID: 820742 - Last Review: January 11, 2006 - Revision: 2.7 Description of the limits of PivotTable reports in Excel
For a Microsoft Excel 2000 version of this article, see 211517
(http://support.microsoft.com/kb/211517/
)
.
On This PageSUMMARY This article discusses some of the limits of PivotTable
reports in Microsoft Excel. MORE INFORMATION PivotTable reports are interactive tables that quickly
summarize, or cross-tabulate, large amounts of data. In a PivotTable report,
you can rotate the rows and columns to see different summaries of the source
data, filter the data by displaying different pages, or display the details for
areas of interest. What Are the Limits of PivotTable Reports?The following limits apply to PivotTable reports.Maximum SizeThere is no fixed maximum size. The maximum size is typically limited only by the available memory on your computer.Column and Row Field LimitsColumn and row fields are typically limited only by the available memory on your computer.Maximum Number of RecordsThere is no fixed maximum number of records that you can use when you create a PivotTable report.Column FieldsThe product of the number of items in all column fields in a PivotTable cannot exceed 32,768. For example, if you create a PivotTable that contains five column fields, the fields contain 10, 5, 2, 40, and 3 items respectively. The product of these values is 10 x 5 x 2 x 40 x 3, or 12,000. If you try to add one more field that contains three items, the product would be 12,000 x 3, or 36,000. Because this number exceeds the maximum product of the items, you receive the following error message:Not enough memory to completely display PivotTable.
Row FieldsThe product of the number of items in all row fields in a PivotTable cannot exceed 2^31 (2 raised to the 31st power), or approximately 2.1 billion items. The same logic that applies to column fields also applies to row fields.In practice, creating a PivotTable report from an external database that contains a very large number of records can strain the performance of the workstation that Excel is running on. It may take a very long time to create the PivotTable report. If you are creating a PivotTable report from a very large database, you may want to use server page fields in your PivotTable report. Maximum Number of Items for Each Pivot FieldThere is a limit of 32,500 unique items for each row field, column field, or page field. If you try to drop a field that exceeds this limit into your PivotTable report, the field is not added to the PivotTable report, and you may receive the following warning message: A
field in your source data has more unique items than can be used in a
PivotTable report. Microsoft Excel may not be able to create the PivotTable
report or may create the PivotTable report without the data from this field.
Actual (vs. Theoretical) Intersection LimitsExcel 2002 implements actual intersection limits. These limits better use allocated memory. In Excel 2000 and earlier versions, Excel allocates a 32-bit key for every potential data intersection. For example, if you have 3 PivotFields on the row axis and they contain 50, 30, and 20 unique items respectively, Excel 2000 allocates 50*30*20 theoretical unique intersections among those items. Most of the time, the vast majority of these theoretical intersections do not really exist because there is no data point that corresponds to these intersections. Therefore, Excel 2000 PivotTables can be inefficient in memory usage. Excel 2002, by implementing actual intersection limits, allocate memory only to the intersections that actually contain data to make more efficient use of memory.How Can These Limits Be Avoided?To avoid these limits, you can use page fields in PivotTable reports, especially if fields contain more than 40 unique items. Page fields make your PivotTable report more memory-efficient and reduce the size of the PivotTable report (in terms of cells). This makes the PivotTable report easier to read. Another way to optimize your PivotTable report is to use server page fields.REFERENCES
For more information
about how to use server page fields in Excel, click the following article number to view the article in the Microsoft Knowledge Base:
211515
(http://support.microsoft.com/kb/211515/
)
Using server page fields in
PivotTables
For more information about PivotTable reports, click Microsoft Excel Help on the
Help menu, type about pivottable
reports in the Office Assistant or the Answer Wizard, and then click Search to view the topic.
| Article Translations
|

Back to the top
