Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,979
Default Formatting Columns in Pivot Tables

Some formatting, such as inside and right borders, don't stick very
well. If you need those, you could record a macro as you apply the
formatting, then run the macro after a refresh.

For number formatting, as Jim suggested, use the Field Settings dialog box.

For other formatting, the following may help:
Right-click on a cell in the pivot table, and choose Table Options
Remove the check mark from AutoFormat table
Add a check mark to Preserve formatting
Click OK

Ensure that Enable Selection is turned on (on the PivotTable toolbar,
choose PivotTableSelectEnable Selection)

Then, click at the top of the heading for the data field you want to format
On the PivotTable toolbar, choose PivotTableSelectData
Apply your formatting.
When you refresh the pivot table, the formatting should stick.

Phil vK wrote:
I tried this with mixed results. It would only select lines in the field
that had the same title. I added a line to the bottom of those cells, and
they held thru the refresh. I tried again and added some vertical
lines.....they disappreared when I refreshed the Pivot Table. There doesn't
seem to be any way to consistently select all items in a field, format them,
and have the formatting hold.

"Jim Thomlinson" wrote:


I assume you have been using Format Cell and tehnd selecting your format. Try
this... Right click on the numbers and select Field Setting and then Number.
Select your format and all of the numbers for that field will be formatted
appropriately...
--
HTH...

Jim Thomlinson


"dmasch" wrote:


I want to have certain number formats down a column stay after a refresh but
the cell formats keep reverting back to "General". In PivotTable Options I
have AutoFormat table unchecked and Preserve formatting checked. My headers
keep their formatting but the cells below with numbers keep going back to
general with something like 9 decimal places. Any suggestions? Thanks




--
Debra Dalgleish
Contextures
http://www.contextures.com/tiptech.html

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Relinking Pivot Tables to Main Table ccfcrup Excel Worksheet Functions 1 September 15th 06 01:10 AM
synchronising pivot tables Johngio Excel Discussion (Misc queries) 1 July 31st 06 02:08 PM
Data Cubes and Pivot Tables venetianjigsaw Excel Worksheet Functions 0 February 10th 06 07:48 PM
Pivot Tables and Formatting Neily Excel Worksheet Functions 2 August 9th 05 03:08 PM
Pivot tables - inserting columns Scott Excel Worksheet Functions 1 March 19th 05 01:07 AM


All times are GMT +1. The time now is 08:17 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"