Przejdź do głównej zawartości

Jak zachować formatowanie po odświeżeniu tabeli przestawnej?

Czasami możesz usunąć znacznik wyboru Zachowaj formatowanie komórek podczas aktualizacji element w opcjach tabeli przestawnej. W takim przypadku formatowanie zostanie usunięte po odświeżeniu, jeśli tabela przestawna zawiera formatowanie komórek. Jest to bardzo irytujące, że tabela przestawna nie może zachować formatowania. Dzisiaj opowiem o łatwej sztuczce radzenia sobie z tym zadaniem.

Zachowaj formatowanie po odświeżeniu tabeli przestawnej


strzałka niebieski prawy bąbelek Zachowaj formatowanie po odświeżeniu tabeli przestawnej

Aby zachować formatowanie komórek podczas odświeżania tabeli przestawnej, wykonaj następujące czynności:

1. Wybierz dowolną komórkę w tabeli przestawnej i kliknij prawym przyciskiem myszy.

2. Następnie wybierz Opcje tabeli przestawnej z menu kontekstowego, zobacz zrzut ekranu:

dokumentacja-zachowaj-formatowanie-przestawna-1

3, w Opcje tabeli przestawnej okno dialogowe, kliknij Układ i format kartę, a następnie sprawdź Zachowaj formatowanie komórek podczas aktualizacji pozycja pod utworzony sekcja, patrz zrzut ekranu:

dokumentacja-zachowaj-formatowanie-przestawna-1

4. A następnie kliknij OK aby zamknąć to okno dialogowe, a teraz, gdy sformatujesz tabelę przestawną i odświeżysz ją, formatowanie nie zniknie już.


Podobne artykuły:

Jak zablokować szerokość kolumny w tabeli przestawnej?

Jak odświeżyć tabelę przestawną w pliku otwartym w programie Excel?

Jak odświeżyć tabelę przestawną po zmianie danych w programie Excel?

Najlepsze narzędzia biurowe

🤖 Pomocnik AI Kutools: Zrewolucjonizuj analizę danych w oparciu o: Inteligentne wykonanie   |  Wygeneruj kod  |  Twórz niestandardowe formuły  |  Analizuj dane i generuj wykresy  |  Wywołaj funkcje Kutools...
Popularne funkcje: Znajdź, wyróżnij lub zidentyfikuj duplikaty   |  Usuń puste wiersze   |  Łącz kolumny lub komórki bez utraty danych   |   Okrągły bez wzoru ...
Super wyszukiwanie: Wiele kryteriów VLookup    Wiele wartości VLookup  |   Przeglądanie pionowe na wielu arkuszach   |   Wyszukiwanie rozmyte ....
Zaawansowana lista rozwijana: Szybko twórz listę rozwijaną   |  Zależna lista rozwijana   |  Lista rozwijana wielokrotnego wyboru ....
Menedżer kolumn: Dodaj określoną liczbę kolumn  |  Przesuń kolumny  |  Przełącz stan widoczności ukrytych kolumn  |  Porównaj zakresy i kolumny ...
Polecane funkcje: Fokus siatki   |  Widok projektu   |   Duży pasek formuły    Menedżer skoroszytów i arkuszy   |  Biblioteka zasobów (Automatyczny tekst)   |  Selektor dat   |  Połącz arkusze   |  Szyfruj/odszyfruj komórki    Wysyłaj e-maile według listy   |  Super filtr   |   Specjalny filtr (filtruj pogrubienie/kursywa/przekreślenie...) ...
15 najlepszych zestawów narzędzi12 Tekst Tools (Dodaj tekst, Usuń znaki, ...)   |   50 + Wykres rodzaje (Wykres Gantta, ...)   |   40+ Praktyczne Wzory (Oblicz wiek na podstawie urodzin, ...)   |   19 Wprowadzenie Tools (Wstaw kod QR, Wstaw obraz ze ścieżki, ...)   |   12 Konwersja Tools (Liczby na słowa, Przeliczanie walut, ...)   |   7 Połącz i podziel Tools (Zaawansowane wiersze łączenia, Podział komórki, ...)   |   ... i więcej

Zwiększ swoje umiejętności Excela dzięki Kutools for Excel i doświadcz wydajności jak nigdy dotąd. Kutools dla programu Excel oferuje ponad 300 zaawansowanych funkcji zwiększających produktywność i oszczędzających czas.  Kliknij tutaj, aby uzyskać funkcję, której najbardziej potrzebujesz...

Opis


Karta Office wprowadza interfejs z zakładkami do pakietu Office i znacznie ułatwia pracę

  • Włącz edycję i czytanie na kartach w programach Word, Excel, PowerPoint, Publisher, Access, Visio i Project.
  • Otwieraj i twórz wiele dokumentów w nowych kartach tego samego okna, a nie w nowych oknach.
  • Zwiększa produktywność o 50% i redukuje setki kliknięć myszką każdego dnia!
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