Microsoft KB Archive/162028

= Formatting is not retained in PivotTable in Excel =

Article ID: 162028

Article Last Modified on 1/19/2007

-

APPLIES TO


 * Microsoft Office Excel 2003
 * Microsoft Excel 2002 Standard Edition
 * Microsoft Excel 2000 Standard Edition
 * Microsoft Excel 97 Standard Edition
 * Microsoft Excel 2004 for Mac
 * Microsoft Excel 2001 for Mac
 * Microsoft Excel X for Mac

-



This article was previously published under Q162028



SYMPTOMS
When you pivot fields or update data in a PivotTable, the formatting is cleared.



CAUSE
This problem occurs if you update data or change the layout of the table when the following conditions are true:
 * You click PivotTable on the PivotTable toolbar, point to Select, and then click Enable Selection (you deselect the option)
 * You clear Preserve Formatting in the PivotTable Options dialog box.
 * You format data in an existing PivotTable.



MORE INFORMATION
Microsoft Excel 97 includes "persistent" formatting. This means that formatting in PivotTables remains intact through pivots and updates. The formatting is tied to items and fields in the PivotTable that cause formatting to be removed when data is updated or fields are pivoted. To bind formatting to a selection of cells, select items using "structured" selection.

Structured selection allows you to select PivotTable areas, labels or data based on the data structure (for example, an item or field). This allows you to select different parts of the data that is associated with each item or field before you perform another action, such as formatting or data analysis. Structured selections are of three types: data, labels, or labels and data.

To make structured selection available, click PivotTable on the PivotTable toolbar, point to Select, and then click Enable Selection.

Note: Microsoft Excel does not retain changes to cell borders when you change the layout or refresh a PivotTable.

Additional query words: 97 XL97 pivot table

Keywords: kbprb kbualink97 KB162028

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.