Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I have a file with about 8,000 rows of data and about 30 columns. I have
about 26 pivot tables that are in one of the sheets. The file is over 13MB. If I delete the pivots my file size drops to only 6MB. My question is, A) how much space does a Pivot Table take in a file, is it the full size of the data it refrences? B) Is there a way to reduce the amount of file space of the Pivot Table? Any help would be much appreciated as a 13 MB file is very unwieldy to update and manipulate when opened, and the file just gets bigger every month. Thanks!!! |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Each new pivot table creates a hidden copy of the source data. That's how you
can keep working with the same pivot table data eve if the source data changes. You have the option to make pivot tables share the same cached source data when you create the pivot table. If you open the pivot table wizard and click the [back] button to Step 1 of 3... Select the 4th option button (Another Pivot Table report...) Then click the [Next] buttons, to verify the remaining settings. The file size will decrease. Do that for all but the one pivot table that will be the basis for the others. Does that help? *********** Regards, Ron XL2003, WinXP "1genxer" wrote: I have a file with about 8,000 rows of data and about 30 columns. I have about 26 pivot tables that are in one of the sheets. The file is over 13MB. If I delete the pivots my file size drops to only 6MB. My question is, A) how much space does a Pivot Table take in a file, is it the full size of the data it refrences? B) Is there a way to reduce the amount of file space of the Pivot Table? Any help would be much appreciated as a 13 MB file is very unwieldy to update and manipulate when opened, and the file just gets bigger every month. Thanks!!! |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Is there a way to do that outside the Wizard as my tables are already built?
I really don't want to have to build them from scratch again. "Ron Coderre" wrote: Each new pivot table creates a hidden copy of the source data. That's how you can keep working with the same pivot table data eve if the source data changes. You have the option to make pivot tables share the same cached source data when you create the pivot table. If you open the pivot table wizard and click the [back] button to Step 1 of 3... Select the 4th option button (Another Pivot Table report...) Then click the [Next] buttons, to verify the remaining settings. The file size will decrease. Do that for all but the one pivot table that will be the basis for the others. Does that help? *********** Regards, Ron XL2003, WinXP "1genxer" wrote: I have a file with about 8,000 rows of data and about 30 columns. I have about 26 pivot tables that are in one of the sheets. The file is over 13MB. If I delete the pivots my file size drops to only 6MB. My question is, A) how much space does a Pivot Table take in a file, is it the full size of the data it refrences? B) Is there a way to reduce the amount of file space of the Pivot Table? Any help would be much appreciated as a 13 MB file is very unwieldy to update and manipulate when opened, and the file just gets bigger every month. Thanks!!! |
#4
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Hi
From Debra Dalgleish's "Excel Pivot Tables Recipe Book" Sub ChangeAllPivotCaches() Dim pt as PivotTable Dim ws as Worksheet On Error Goto err_handler For each ws in ActiveWorkbook.Worksheets For Each pt in ws.PivotTables pt.CacheIndex = Activecell.PivotTable.CacheIndex Next pt Nex ws Exit Sub err_Handler Msgbox "Cache Index could not be changed" End Sub Place cursor in any cell of the first PT you created, then run the macro -- Regards Roger Govier "1genxer" wrote in message ... Is there a way to do that outside the Wizard as my tables are already built? I really don't want to have to build them from scratch again. "Ron Coderre" wrote: Each new pivot table creates a hidden copy of the source data. That's how you can keep working with the same pivot table data eve if the source data changes. You have the option to make pivot tables share the same cached source data when you create the pivot table. If you open the pivot table wizard and click the [back] button to Step 1 of 3... Select the 4th option button (Another Pivot Table report...) Then click the [Next] buttons, to verify the remaining settings. The file size will decrease. Do that for all but the one pivot table that will be the basis for the others. Does that help? *********** Regards, Ron XL2003, WinXP "1genxer" wrote: I have a file with about 8,000 rows of data and about 30 columns. I have about 26 pivot tables that are in one of the sheets. The file is over 13MB. If I delete the pivots my file size drops to only 6MB. My question is, A) how much space does a Pivot Table take in a file, is it the full size of the data it refrences? B) Is there a way to reduce the amount of file space of the Pivot Table? Any help would be much appreciated as a 13 MB file is very unwieldy to update and manipulate when opened, and the file just gets bigger every month. Thanks!!! |
#5
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Can you tell me exactly what this macro does? I am not very educated in code
like that. "Roger Govier" wrote: Hi From Debra Dalgleish's "Excel Pivot Tables Recipe Book" Sub ChangeAllPivotCaches() Dim pt as PivotTable Dim ws as Worksheet On Error Goto err_handler For each ws in ActiveWorkbook.Worksheets For Each pt in ws.PivotTables pt.CacheIndex = Activecell.PivotTable.CacheIndex Next pt Nex ws Exit Sub err_Handler Msgbox "Cache Index could not be changed" End Sub Place cursor in any cell of the first PT you created, then run the macro -- Regards Roger Govier "1genxer" wrote in message ... Is there a way to do that outside the Wizard as my tables are already built? I really don't want to have to build them from scratch again. "Ron Coderre" wrote: Each new pivot table creates a hidden copy of the source data. That's how you can keep working with the same pivot table data eve if the source data changes. You have the option to make pivot tables share the same cached source data when you create the pivot table. If you open the pivot table wizard and click the [back] button to Step 1 of 3... Select the 4th option button (Another Pivot Table report...) Then click the [Next] buttons, to verify the remaining settings. The file size will decrease. Do that for all but the one pivot table that will be the basis for the others. Does that help? *********** Regards, Ron XL2003, WinXP "1genxer" wrote: I have a file with about 8,000 rows of data and about 30 columns. I have about 26 pivot tables that are in one of the sheets. The file is over 13MB. If I delete the pivots my file size drops to only 6MB. My question is, A) how much space does a Pivot Table take in a file, is it the full size of the data it refrences? B) Is there a way to reduce the amount of file space of the Pivot Table? Any help would be much appreciated as a 13 MB file is very unwieldy to update and manipulate when opened, and the file just gets bigger every month. Thanks!!! |
#6
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Hi
Copy the Code from my previous posting Alt+F11 to invoke the VB Editor InsertModule Paste code into white pane that appears Alt+F11 to return to Excel To use Select cell within your first PT Alt+F8 to bring up Macros Highlight the macro name Run It will cycle through each of the PT's in turn, setting the cache that each uses to be that from the first PT, rather than you doing each one manually. Save and Close your workbook and the file size should be reduced. -- Regards Roger Govier "1genxer" wrote in message ... Can you tell me exactly what this macro does? I am not very educated in code like that. "Roger Govier" wrote: Hi From Debra Dalgleish's "Excel Pivot Tables Recipe Book" Sub ChangeAllPivotCaches() Dim pt as PivotTable Dim ws as Worksheet On Error Goto err_handler For each ws in ActiveWorkbook.Worksheets For Each pt in ws.PivotTables pt.CacheIndex = Activecell.PivotTable.CacheIndex Next pt Nex ws Exit Sub err_Handler Msgbox "Cache Index could not be changed" End Sub Place cursor in any cell of the first PT you created, then run the macro -- Regards Roger Govier "1genxer" wrote in message ... Is there a way to do that outside the Wizard as my tables are already built? I really don't want to have to build them from scratch again. "Ron Coderre" wrote: Each new pivot table creates a hidden copy of the source data. That's how you can keep working with the same pivot table data eve if the source data changes. You have the option to make pivot tables share the same cached source data when you create the pivot table. If you open the pivot table wizard and click the [back] button to Step 1 of 3... Select the 4th option button (Another Pivot Table report...) Then click the [Next] buttons, to verify the remaining settings. The file size will decrease. Do that for all but the one pivot table that will be the basis for the others. Does that help? *********** Regards, Ron XL2003, WinXP "1genxer" wrote: I have a file with about 8,000 rows of data and about 30 columns. I have about 26 pivot tables that are in one of the sheets. The file is over 13MB. If I delete the pivots my file size drops to only 6MB. My question is, A) how much space does a Pivot Table take in a file, is it the full size of the data it refrences? B) Is there a way to reduce the amount of file space of the Pivot Table? Any help would be much appreciated as a 13 MB file is very unwieldy to update and manipulate when opened, and the file just gets bigger every month. Thanks!!! |
#7
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
You can:
€¢ Right-click on a pivot table €¢ Select the Pivot Table wizard €¢ Click the [Back] buttons until "Step 1 of 3" €¢ Change the pivot table source to "Another Pivot Table report" €¢ Select the pivot table that will be the source for al of the others €¢ Click [Finish} Repeat for each of the other pivot tables. Does that help? *********** Regards, Ron XL2003, WinXP "1genxer" wrote: Is there a way to do that outside the Wizard as my tables are already built? I really don't want to have to build them from scratch again. "Ron Coderre" wrote: Each new pivot table creates a hidden copy of the source data. That's how you can keep working with the same pivot table data eve if the source data changes. You have the option to make pivot tables share the same cached source data when you create the pivot table. If you open the pivot table wizard and click the [back] button to Step 1 of 3... Select the 4th option button (Another Pivot Table report...) Then click the [Next] buttons, to verify the remaining settings. The file size will decrease. Do that for all but the one pivot table that will be the basis for the others. Does that help? *********** Regards, Ron XL2003, WinXP "1genxer" wrote: I have a file with about 8,000 rows of data and about 30 columns. I have about 26 pivot tables that are in one of the sheets. The file is over 13MB. If I delete the pivots my file size drops to only 6MB. My question is, A) how much space does a Pivot Table take in a file, is it the full size of the data it refrences? B) Is there a way to reduce the amount of file space of the Pivot Table? Any help would be much appreciated as a 13 MB file is very unwieldy to update and manipulate when opened, and the file just gets bigger every month. Thanks!!! |
#8
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I can't find the Pivot Table Wizard in 2007. How do I find where to make this
change in 2007? "Ron Coderre" wrote: Each new pivot table creates a hidden copy of the source data. That's how you can keep working with the same pivot table data eve if the source data changes. You have the option to make pivot tables share the same cached source data when you create the pivot table. If you open the pivot table wizard and click the [back] button to Step 1 of 3... Select the 4th option button (Another Pivot Table report...) Then click the [Next] buttons, to verify the remaining settings. The file size will decrease. Do that for all but the one pivot table that will be the basis for the others. Does that help? *********** Regards, Ron XL2003, WinXP "1genxer" wrote: I have a file with about 8,000 rows of data and about 30 columns. I have about 26 pivot tables that are in one of the sheets. The file is over 13MB. If I delete the pivots my file size drops to only 6MB. My question is, A) how much space does a Pivot Table take in a file, is it the full size of the data it refrences? B) Is there a way to reduce the amount of file space of the Pivot Table? Any help would be much appreciated as a 13 MB file is very unwieldy to update and manipulate when opened, and the file just gets bigger every month. Thanks!!! |
#9
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
1genxer,
You are correct, a file containing PivotTables will become exponentially larger the more data that you add to the file because it does infact copy a "Temporary" image of all the records that it is referencing. So, with 26 PivotTables you have all in all 27 actual copies of the data (including the original). There are a couple alternatives, some more unweildy than others. A) You could break all the links to the data in the PivotTables, however you cannot update them anymore unless you reattach the link. B)You could create a separate file for the DATA and another for the PivotTables. They would link across to each other, even if the data book is closed. C)You could place this information, which sounds like a database (?), into Access and run Queries to create your PivotTables. However, I must note that PivotTables in Access do not work the same as they do in Excel (similar, but not the same). -- --Thomas [PBD] Working hard to make working easy. "1genxer" wrote: I have a file with about 8,000 rows of data and about 30 columns. I have about 26 pivot tables that are in one of the sheets. The file is over 13MB. If I delete the pivots my file size drops to only 6MB. My question is, A) how much space does a Pivot Table take in a file, is it the full size of the data it refrences? B) Is there a way to reduce the amount of file space of the Pivot Table? Any help would be much appreciated as a 13 MB file is very unwieldy to update and manipulate when opened, and the file just gets bigger every month. Thanks!!! |
#10
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Thanks everyone for all your help! It is not a database that I am working
with, but rather the results of surveys given overtime. So, as mentioned above the data gets larger every month. I will try these methods and if something doesn't work I will get back on here. Thanks again! "1genxer" wrote: I have a file with about 8,000 rows of data and about 30 columns. I have about 26 pivot tables that are in one of the sheets. The file is over 13MB. If I delete the pivots my file size drops to only 6MB. My question is, A) how much space does a Pivot Table take in a file, is it the full size of the data it refrences? B) Is there a way to reduce the amount of file space of the Pivot Table? Any help would be much appreciated as a 13 MB file is very unwieldy to update and manipulate when opened, and the file just gets bigger every month. Thanks!!! |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Pivot Table file size | Excel Discussion (Misc queries) | |||
Pivot table has bloted file size - how do I bring it down | Excel Discussion (Misc queries) | |||
reduce size of pivot table file | Excel Discussion (Misc queries) | |||
pivot table cause file size to grow | Excel Discussion (Misc queries) | |||
Pivot table - size of file? | Excel Discussion (Misc queries) |