+ Reply to Thread
Results 1 to 9 of 9

Excel 2007 : Pivot Table- Dramatic size increase after data delete and refresh

  1. #1
    Registered User
    Join Date
    01-14-2012
    Location
    NY, NY
    MS-Off Ver
    Excel 2007
    Posts
    5

    Pivot Table- Dramatic size increase after data delete and refresh

    I have a pretty basic pivot table looking at sales data; sales person, customer, products, sales $, volume, margin, unit of measure, etc. Nothing fancy. This data included sales from 2007 through full year 2011, about 3000-4000 lines of data per year. I deleted all 2007 data from the source data, about 3000 lines, and refreshed the pivot table. When I did so, the total file size jumped from about 10M with all data to about 40M after deleting 3000 lines of data and refreshing. I assume this has something to do with the cache, but can't for the life of me figure out how to clean the cache to shrink it. Any direction would be much appreciated.

    Paul

  2. #2
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,316

    Re: Pivot Table- Dramatic size increase after data delete and refresh

    Hello & Welcome to the Board,

    Sometimes even when you delete rows the ghost still exists. I usually just run this to reset the last cell.
    HTH
    Regards, Jeff

  3. #3
    Registered User
    Join Date
    01-14-2012
    Location
    NY, NY
    MS-Off Ver
    Excel 2007
    Posts
    5

    Re: Pivot Table- Dramatic size increase after data delete and refresh

    Thanks Jeff, and good thought, but no change. The thing I really don't get is that I delete 3000 rows of data and after refreshing the pivot table the files size was 4 times larger, from 10,000kb to 40,000kb.

  4. #4
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,316

    Re: Pivot Table- Dramatic size increase after data delete and refresh

    I'm sorry but I don't have a good reason for why the file size dramatically increased.

    Another thing to consider. If your original pivot table range was A1:E10000 and you decrease by 3000 this makes the range A1:E7000, but the pivot table is still referencing the original range.

    Look at this thread and especially post #8 and consider using a named range

    http://www.excelforum.com/excel-gene...015&viewfull=1

    Not saying this has anything to do with the problem, but...worth a look

  5. #5
    Registered User
    Join Date
    01-14-2012
    Location
    NY, NY
    MS-Off Ver
    Excel 2007
    Posts
    5

    Re: Pivot Table- Dramatic size increase after data delete and refresh

    I also notice that when I Refresh the Pivot table the Calculation status bar at the bottom of the screen seems to go through several long recalculations and then lots or real quick calculations, so fast and so many I can't count. The original table before I deleted the data only went through 2 or 3 relatively short/quick calculations. Is there a way to see all that is being recalculated when it is Refreshed?

    Thanks,
    Paul

  6. #6
    Forum Expert OnErrorGoto0's Avatar
    Join Date
    12-30-2011
    Location
    I DO NOT POST HERE ANYMORE
    MS-Off Ver
    I DO NOT POST HERE ANYMORE
    Posts
    1,655

    Re: Pivot Table- Dramatic size increase after data delete and refresh

    Hi,
    It may be worth reading through this article to see if it helps at all.
    Do you have any calculated fields/items in the pivot table? These can be very calculation intensive (especially calculated items).
    Good luck.

  7. #7
    Registered User
    Join Date
    01-14-2012
    Location
    NY, NY
    MS-Off Ver
    Excel 2007
    Posts
    5

    Re: Pivot Table- Dramatic size increase after data delete and refresh

    Thanks, I will read through it. As for calculated fields, there are some SUM fields, yes, possibly those are the reason, but still doens't make sense that it jumped so much. Will keep looking!

    Paul

  8. #8
    Forum Expert OnErrorGoto0's Avatar
    Join Date
    12-30-2011
    Location
    I DO NOT POST HERE ANYMORE
    MS-Off Ver
    I DO NOT POST HERE ANYMORE
    Posts
    1,655

    Re: Pivot Table- Dramatic size increase after data delete and refresh

    No, I was referring to formulas that you create in the pivot table that manipulate one or more fields that exist in the data to create new fields. Simple sum fields should not add any real size.

  9. #9
    Forum Expert OnErrorGoto0's Avatar
    Join Date
    12-30-2011
    Location
    I DO NOT POST HERE ANYMORE
    MS-Off Ver
    I DO NOT POST HERE ANYMORE
    Posts
    1,655

    Re: Pivot Table- Dramatic size increase after data delete and refresh

    One other thing - if you press Ctrl+End on the sheet with the pivot table, what cell is selected?

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1