Pivot table - formatting lost - have tried "preserve formatting"

bg56

New Member
Joined
May 16, 2012
Messages
5
I know there has been a lot of discussion here and in other forums but I have yet to find a solution to my specific problem.

I am using Excel 2010 to create pivot tables and simply cannot get excel to retain my cell formatting. I have set pivot table options as follows:
"Autofit column widths" - UNCHECKED
"Preserve cell formatting on update" - CHECKED

I've also tried other suggestions such as selecting the entire range of cells and used CTRL+1 to do the formatting.

Everytime I refresh the table or add/remove/reorder fields in the table, formatting is lost.

Am I missing something here? REALLY hoping the answer is not to build and run a macro as I have several different pivot tables.

Thanks
 

Excel Facts

Pivot Table Drill Down
Double-click any number in a pivot table to create a new report showing all detail rows that make up that number
Hi and Welcome to the Board,

Are you referring to Number Formatting or Cell Fill Formatting such Fill Color?

If it's NumberFormatting, try setting that format in the Field Settings

For Value Fields....
Right-Click on a Cell in the Field > Value Field Settings... > Number Format

For Row or Column Fields
Right-Click on a Cell in the Field > Field Settings... > Number Format

The Number Format button is in the lower left hand corner of the Field Settings Dialog Window.
It will only appear if all the PivotItems in that field are numeric.
 
Upvote 0
Jerry,

Thanks for the reply - the fields in question are row fields in the pivot table. I looked at field settings and only see the following:
1st tab - subtotals and filters. (no formatting)
2nd tab - Layout & Print. "Show item labels in out line form", "Show items in tabular form", "Repeat labels", "Insert blank", "Show items with no data" and a the bottom "Insert page break" - no indication of formatting the field.

Am I missing something here?
 
Upvote 0
Is all your data for the field numeric?
You might have data that looks numeric but is formatted as text.

If you have just one item in the field that is non-numeric, that Number Format button won't be displayed in the Field Settings Window.

To see what that looks like, you could make a test PivotTable using a field that has numbers 1-10 for its data. Put that field into the Row Labels section, and then you can see what that button looks like when the data is all numeric.
 
Upvote 0
You may be on to something... I just built a test sheet with numeric data and "text numbers" and see the "Number Format" option. Going back to my sheets and seeing how the data is sourced.

THANKS
 
Upvote 0
Is all your data for the field numeric?
You might have data that looks numeric but is formatted as text.

If you have just one item in the field that is non-numeric, that Number Format button won't be displayed in the Field Settings Window.

To see what that looks like, you could make a test PivotTable using a field that has numbers 1-10 for its data. Put that field into the Row Labels section, and then you can see what that button looks like when the data is all numeric.
THIS IS THE ANSWER YOU'VE BEEN LOOKING FOR! Been trying for hour upon hour upon hour to resolve this. Thank you!
 
Upvote 0

Forum statistics

Threads
1,214,606
Messages
6,120,485
Members
448,967
Latest member
visheshkotha

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top