Note: The other languages of the website are Google-translated. Back to English

How to preserve formatting after refreshing pivot table?

Sometimes, you may remove the check mark of the Preserve cell formatting on update item in the pivot table options accidentally. And in this case, the formatting will be removed after refreshing if your pivot table contains cell formatting. This is very annoying that the pivot table can’t retain the formatting. Today, I will talk about an easy trick to deal with this task.

Preserve formatting after refreshing pivot table

Office Tab Enable Tabbed Editing and Browsing in Office, and Make Your Work Much Easier...
Kutools for Excel Solves Most of Your Problems, and Increases Your Productivity by 80%
  • Reuse Anything: Add the most used or complex formulas, charts and anything else to your favorites, and quickly reuse them in the future.
  • More than 20 text features: Extract Number from Text String; Extract or Remove Part of Texts; Convert Numbers and Currencies to English Words.
  • Merge Tools: Multiple Workbooks and Sheets into One; Merge Multiple Cells/Rows/Columns Without Losing Data; Merge Duplicate Rows and Sum.
  • Split Tools: Split Data into Multiple Sheets Based on Value; One Workbook to Multiple Excel, PDF or CSV Files; One Column to Multiple Columns.
  • Paste Skipping Hidden/Filtered Rows; Count And Sum by Background Color; Send Personalized Emails to Multiple Recipients in Bulk.
  • Super Filter: Create advanced filter schemes and apply to any sheets; Sort by week, day, frequency and more; Filter by bold, formulas, comment...
  • More than 300 powerful features; Works with Office 2007-2019 and 365; Supports all languages; Easy deploying in your enterprise or organization.

arrow blue right bubble Preserve formatting after refreshing pivot table


To keep the cell formatting when you refresh your pivot table, please do with following steps:

1. Select any cell in your pivot table, and right click.

2. Then choose PivotTable Options from the context menu, see screenshot:

doc-keep-formatting-pivottable-1

3. In the PivotTable Options dialog box, click Layout & Format tab, and then check Preserve cell formatting on update item under the Format section, see screenshot:

doc-keep-formatting-pivottable-1

4. And then click OK to close this dialog, and now, when you format your pivot table and refresh it, the formatting will not be disappeared any more.


Related articles:

How to lock column width in pivot table?

How to refresh pivot table on file open in Excel?

How to refresh pivot table when data changes in Excel?


The Best Office Productivity Tools

Kutools for Excel Solves Most of Your Problems, and Increases Your Productivity by 80%

  • Reuse: Quickly insert complex formulas, charts and anything that you have used before; Encrypt Cells with password; Create Mailing List and send emails...
  • Super Formula Bar (easily edit multiple lines of text and formula); Reading Layout (easily read and edit large numbers of cells); Paste to Filtered Range...
  • Merge Cells/Rows/Columns without losing Data; Split Cells Content; Combine Duplicate Rows/Columns... Prevent Duplicate Cells; Compare Ranges...
  • Select Duplicate or Unique Rows; Select Blank Rows (all cells are empty); Super Find and Fuzzy Find in Many Workbooks; Random Select...
  • Exact Copy Multiple Cells without changing formula reference; Auto Create References to Multiple Sheets; Insert Bullets, Check Boxes and more...
  • Extract Text, Add Text, Remove by Position, Remove Space; Create and Print Paging Subtotals; Convert Between Cells Content and Comments...
  • Super Filter (save and apply filter schemes to other sheets); Advanced Sort by month/week/day, frequency and more; Special Filter by bold, italic...
  • Combine Workbooks and WorkSheets; Merge Tables based on key columns; Split Data into Multiple Sheets; Batch Convert xls, xlsx and PDF...
  • More than 300 powerful features. Supports Office/Excel 2007-2019 and 365. Supports all languages. Easy deploying in your enterprise or organization. Full features 30-day free trial. 60-day money back guarantee.
kte tab 201905

Office Tab Brings Tabbed interface to Office, and Make Your Work Much Easier

  • Enable tabbed editing and reading in Word, Excel, PowerPoint, Publisher, Access, Visio and Project.
  • Open and create multiple documents in new tabs of the same window, rather than in new windows.
  • Increases your productivity by 50%, and reduces hundreds of mouse clicks for you every day!
officetab bottom
Comments (21)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
I'm using Office 365 and "Preserve cell formatting on update" does not work.
This comment was minimized by the moderator on the site
Thank you this worked really well for me and saved alot of time!
This comment was minimized by the moderator on the site
doesnt work
This comment was minimized by the moderator on the site
I'm using Excel 2013 and Preserve Formatting isn't working. The spreadsheet I am using was originally generated in Excel 2007.
This comment was minimized by the moderator on the site
"Sometimes, you may remove the check mark of the Preserve cell formatting on update ... Today, I will talk about an easy trick to deal with this task" - what, you mean like, re-checking the box? Not exactly earth-shattering news...
This comment was minimized by the moderator on the site
does not work for me either on multiple instances of excel
This comment was minimized by the moderator on the site
how can do freeze conditional formatting in pivot table during refresh sheet because when i am refresh sheet all conditional reset
This comment was minimized by the moderator on the site
I've tried this several times and it does not work for me. What version are you using? I am using MS Office 2016. I've been trying to manage dates as short date format. Very frustrating to have to select date columns and reformat every time the data is refreshed so that the TIME doesn't display.
This comment was minimized by the moderator on the site
OK - I just found a solution. Use conditional formatting of the column.

I selected all my date columns; RIBBON - Conditional Formatting. Condition is any date greater than 1/1/1900; Selected the date format I want to use; Tested changes to the pivot data, refreshed and the formatting was preserved.
This comment was minimized by the moderator on the site
EXCELLENT THANKS!! THIS IS THE ONLY THING THAT REALLY WORKS. PRESERVING THE FORMATTING ONLY WORKS IN SOME CASES.
This comment was minimized by the moderator on the site
Worthless guide. The "preserve formatting on update" setting does literally nothing.
This comment was minimized by the moderator on the site
This does not work when I try to preserve cell text alignment. For example, I want the text to be left aligned in a particular column. Upon refresh, the format resets.
Note for anyone offering to debug (if any kind soul is brave enough) - I often have multiple fields in the column section.
This comment was minimized by the moderator on the site
mentira da porra isso.. nunca funcionou corretamente isso
This comment was minimized by the moderator on the site
It does work for me when I uncheck the "Autofit column widths on update".
This comment was minimized by the moderator on the site
It works as soon as you untick, do all your formating and tick again.
This comment was minimized by the moderator on the site
I've had the same frustration as many of you where the formatting does not remain even though you select the "Preserve cell formatting on update" checkbox. I've found 2 things that helped me out.
- highlight more of the table and format that broader region to define the formatting for the cells that aren't maintaining the formatting you desire. Then, after refreshing, go back and change specific cells to tweak the formatting.
- Darlene's idea of conditional formatting is brilliant and works well. The only thing you'll be missing is alignment and text-wrapping.
- After doing all of this, save and close out of your file. After a moment, re-open your file and try again. I've found that, for some reason, closing the file and re-opening will allow the system to imprint these changes.

Hope this helps.
This comment was minimized by the moderator on the site
I fixed mine by on Format Cells Go to Protection and Uncheck Locked!!!!
Presto!!!
This comment was minimized by the moderator on the site
Check to make sure all the cells in the data are formatted as a date and not a number.
This comment was minimized by the moderator on the site
You can use the VB script:"Private Sub Worksheet_PivotTableUpdate(ByVal Target As PivotTable)"
and put all formating information in between. This routine will be carried out after changing Pivottable content
For example:" With Selection
.HorizontalAlignment = xlLeft
.WrapText = True
.Orientation = 0
.AddIndent = False
.IndentLevel = 1
.ShrinkToFit = False
.ReadingOrder = xlContext
.MergeCells = False
End With
With Selection.Font
.Name = "Verdana"
.Size = 8
.Strikethrough = False
.Superscript = False
.Subscript = False
.OutlineFont = False
.Shadow = False
.Underline = xlUnderlineStyleNone
.ColorIndex = xlAutomatic
.TintAndShade = 0
.ThemeFont = xlThemeFontNone
End With
End Sub
"You can use the macro recording to find out the formating syntax!
This comment was minimized by the moderator on the site
Actually, you need to format each field data type, and make sure the whole pivot table settings are set to retain the formatting when refreshed. 
This comment was minimized by the moderator on the site
Achei, pelo menos aqui deu certo. Óbvio que a opção "Preservar a formatação da célula ao atualizar" deve estar marcada. A partir daí, deve-se aplicar a formatação com a opção da Aba: Análise de Tabela Dinâmica/Grupo: Ações/Opção:Selecionar/Habilitar Seleção. Aquilo que for selecionado com a função "Habilitar Seleção" manterá o formato. O chato é que às vezes seleciona toda uma coluna e às vezes seleciona só uma cela. Aí tem que fazer cela a cela, mas deu certo aqui.
There are no comments posted here yet
Leave your comments
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations