Preskoči na glavno vsebino

Kako ohraniti oblikovanje po osvežitvi vrtilne tabele?

Včasih lahko odstranite kljukico Ohranite oblikovanje celic ob posodobitvi element v možnostih vrtilne tabele po naključju. V tem primeru bo oblikovanje odstranjeno po osvežitvi, če vaša vrtilna tabela vsebuje oblikovanje celic. To je zelo moteče, ker vrtilna tabela ne more obdržati oblikovanja. Danes bom govoril o enostavnem triku za reševanje te naloge.

Ohrani oblikovanje po osvežitvi vrtilne tabele


puščica modri desni mehurček Ohrani oblikovanje po osvežitvi vrtilne tabele

Če želite ohraniti oblikovanje celic, ko osvežite vrtilno tabelo, sledite naslednjim korakom:

1. Izberite katero koli celico v vrtilni tabeli in kliknite z desno miškino tipko.

2. Potem izberite Možnosti vrtilne tabele v priročnem meniju si oglejte posnetek zaslona:

doc-heep-formatting-pivottable-1

3. v Možnosti vrtilne tabele pogovorno okno, kliknite Postavitev in oblika kartico in nato preverite Ohranite oblikovanje celic ob posodobitvi postavka pod oblikovana razdelek, glej posnetek zaslona:

doc-heep-formatting-pivottable-1

4. In nato kliknite OK da zaprete to pogovorno okno in zdaj, ko formatirate vrtilno tabelo in jo osvežite, oblikovanje ne bo več izginilo.


Sorodni članki:

Kako zakleniti širino stolpca v vrtilni tabeli?

Kako osvežiti vrtilno tabelo v datoteki, odprti v Excelu?

Kako osvežiti vrtilno tabelo, ko se podatki spremenijo v Excelu?

Najboljša pisarniška orodja za produktivnost

🤖 Kutools AI Aide: Revolucionirajte analizo podatkov na podlagi: Inteligentna izvedba   |  Ustvari kodo  |  Ustvarite formule po meri  |  Analizirajte podatke in ustvarite grafikone  |  Prikličite funkcije Kutools...
Priljubljene funkcije: Poiščite, označite ali identificirajte dvojnike   |  Izbriši prazne vrstice   |  Združite stolpce ali celice brez izgube podatkov   |   Krog brez formule ...
Super iskanje: Več kriterijev VLookup    Multiple Value VLookup  |   VLookup na več listih   |   Nejasno iskanje ....
Napredni spustni seznam: Hitro ustvarite spustni seznam   |  Odvisni spustni seznam   |  Večkrat izberite spustni seznam ....
Upravitelj stolpcev: Dodajte določeno število stolpcev  |  Premakni stolpce  |  Preklop stanja vidnosti skritih stolpcev  |  Primerjaj obsege in stolpce ...
Predstavljene funkcije: Mrežni fokus   |  Pogled oblikovanja   |   Velika vrstica formule    Upravitelj delovnih zvezkov in listov   |  Knjižnica virov (Samodejno besedilo)   |  Izbirnik datuma   |  Združite delovne liste   |  Šifriranje/dešifriranje celic    Pošljite e-pošto po seznamu   |  Super filter   |   Poseben filter (filter krepko/ležeče/prečrtano ...) ...
15 najboljših kompletov orodij12 Besedilo Orodja (dodajanje besedila, Odstrani znake,...)   |   50 + Graf Vrste (Gantt Chart,...)   |   40+ Praktično Formule (Izračunajte starost glede na rojstni dan,...)   |   19 vstavljanje Orodja (Vstavite kodo QR, Vstavi sliko s poti,...)   |   12 Pretvorba Orodja (Številke v besede, Pretvorba valut,...)   |   7 Spoji in razdeli Orodja (Napredne kombinirane vrstice, Razdeljene celice,...)   |   ... in več

Napolnite svoje Excelove spretnosti s Kutools za Excel in izkusite učinkovitost kot še nikoli prej. Kutools za Excel ponuja več kot 300 naprednih funkcij za povečanje produktivnosti in prihranek časa.  Kliknite tukaj, če želite pridobiti funkcijo, ki jo najbolj potrebujete...

Opis


Kartica Office prinaša vmesnik z zavihki v Office in poenostavi vaše delo

  • Omogočite urejanje in branje z zavihki v Wordu, Excelu, PowerPointu, Publisher, Access, Visio in Project.
  • Odprite in ustvarite več dokumentov v novih zavihkih istega okna in ne v novih oknih.
  • Poveča vašo produktivnost za 50%in vsak dan zmanjša na stotine klikov miške za vas!
Comments (21)
No ratings yet. Be the first to rate!
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.
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
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
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
I fixed mine by on Format Cells Go to Protection and Uncheck Locked!!!!
Presto!!!
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
It works as soon as you untick, do all your formating and tick again.
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
mentira da porra isso.. nunca funcionou corretamente isso
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.
There are no comments posted here yet
Load More
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations