+ Reply to Thread
Results 1 to 27 of 27

Excel pivot table not responding

  1. #1
    Registered User
    Join Date
    01-03-2016
    Location
    Brisbane
    MS-Off Ver
    365
    Posts
    13

    Excel pivot table not responding

    Hi. My first post. I use office 365 and have attempted to fix the following issue using previous versions of excel as well. I have also tried other computers and also copying the tab to another workbook. Anyway here is the issue.

    My spreadsheet has 4 tabs. The first is the actual pivot table. The other tabs are pivot reports. I only have an issue with the pivot table tab. The others work fine. When I click on the pivot table or try to enter data it will take a few seconds to accept the data and will sometimes freeze all together. You can actually see the cells refreshing (in no particular order) even if you just move from one cell to another. I have checked the formulas for consistency, removed any formatting and even removed some columns and set it to manually calculate. Still have the same issue. It runs really slow and just keeps refreshing

    The spreadsheet is under a meg in size and the pivot table only has about 600 rows and 20 columns. Any advice would be appreciated.

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Excel pivot table not responding

    Hi,

    I'm puzzled by your description of trying to enter data into a pivot table. That's not the way they work. You 'Refresh' a pivot table (either automatically with a macro or manually) after you've changed the data range on which the PT depends.

    Would you upload a cut down copy of your workbook (we don't need the full fat ~ 1 Mb version) that shows a representative sample of data and describe what actions you are trying to perform.
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    Registered User
    Join Date
    01-03-2016
    Location
    Brisbane
    MS-Off Ver
    365
    Posts
    13

    Re: Excel pivot table not responding

    Hi, well a bit of an update. I ctl+shift+end and the cell range was off the charts. I tried to download a tool to remove it however the sheet kept freezing. Any suggestions?

    I did try to do a cut down version of the sheet but couldn't get it below a meg even with just three rows of data. I assume this has something to do with the last cell issue. Thanks.

  4. #4
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Excel pivot table not responding

    1. Your description is confusing and I think it is because you are calling the table from which the Pivot reports are created a Pivot table. You don't enter data into a Pivot table. You can have a table or range into which you enter data and the Pivot table is updated from that. If you enter data into a table and the Pivot tables are derived from the data in the table then all you have to do is to refresh each Pivot table and they are brought up to date.

    2. The matter of being slow is probably due to the computer having to do too many calculations. This could be because of the use of full column references where not necessary or your workbook is calculating ranges that are not actually in use at present but have formulae in them.

    3. You don't say what tool you downloaded to re-set the last cell and to clear excess formats. There is supposed to be a built-in tool in your version of Excel to do this. This article from Microsoft describes the tool and its use. https://support.office.com/en-us/art...9-4874F7474738
    <---------If you like someone's answer, click the star to the left of one of their posts to give them a reputation point for that answer.
    Ron W

  5. #5
    Registered User
    Join Date
    01-03-2016
    Location
    Brisbane
    MS-Off Ver
    365
    Posts
    13

    Re: Excel pivot table not responding

    Hi, you are correct (as is Richard). I have a table and this is what is causing the issue. I actually ran the tool your link refers and I still have the same issue. Every time I click on a cell or move from cell to cell excel stops responding or runs very slowly. I trimmed the table down to 5 rows and removed all other tabs and I still have the same issue. The file is large at just over 1 meg (well large considering there are only 5 rows and 20 columns). Does this shed nay light on what the issue could be?

  6. #6
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Excel pivot table not responding

    Hi

    I'm guessing that you may have some rogue formulae perhaps down on the last row. If you press {End}{Home} where does the cursor end up.

    Is there any formatting in place since that can often cause problems like you describe.

    What happens when you select rows 6:1048576 (assuming you have Excel 2007 or later) and delete them and then do the same with columns U:XFD then immediately save the workbook close and reopen it. Does that reduce the size?

  7. #7
    Registered User
    Join Date
    01-03-2016
    Location
    Brisbane
    MS-Off Ver
    365
    Posts
    13

    Re: Excel pivot table not responding

    Richard

    Hi, END+HOME took me to XFD so as suggested I deleted these and also deleted rows up to 1048576. Tried END+HOME again and it went to the end of the table. So great result. I saved the file and reopened. This reduced the file about 100k (I used a copy of the full workbook). So now down to 1,256 from 1,350.

    I reopened the sheet and then removed all formatting. The saved it again and reopened. It's a bit quicker however still very slow to move from cell to cell. IS there anything else you think I should try? I feel we are getting close to a solution. Thanks for your advice.

  8. #8
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Excel pivot table not responding

    Can you upload the file? I would like to take a "crack" at it. Something just isn't right as a 1MB file is really nothing and normally shouldn't be a problem if the computer is of any power at all.

    Just triggered a thought... have you cleaned out the temporary files on your computer lately? A utility like Ccleaner from www.piriform.com can do a decent job of cleaning out the crap in a computer that can slow it down. There is a free version and it works well.

  9. #9
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Excel pivot table not responding

    Quote Originally Posted by newdoverman View Post
    Something just isn't right as a 1MB file is really nothing and normally shouldn't be a problem if the computer is of any power at all.
    I agree ND. What's even stranger is that a 20 column 5 row sheet would be as large as 1.2 Mb in the first place

  10. #10
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Excel pivot table not responding

    100 cells (5x20) shouldn't be anywhere near 1MB. 15K might be a more reasonable figure unless there are large graphics involved or something else like that not mentioned.

  11. #11
    Registered User
    Join Date
    01-03-2016
    Location
    Brisbane
    MS-Off Ver
    365
    Posts
    13

    Re: Excel pivot table not responding

    OK. I had to cut down the workbook by removing all other tabs and most of the rows to get it under a meg. There are also a few more columns than I fist thought. Best of luck. I am so keen to see what the issue is!!

  12. #12
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Excel pivot table not responding

    I copied the table to a new workbook and renewed the names in the Name Manage. The file size is now 16 KB down from 1 MB
    The workbook seems to work ok so there must be something corrupted or hidden in the file you uploaded. I could find nothing but the copy to a new workbook was greatly reduced.

  13. #13
    Registered User
    Join Date
    01-03-2016
    Location
    Brisbane
    MS-Off Ver
    365
    Posts
    13

    Re: Excel pivot table not responding

    Wow, that works great. I will now try this on the full spread sheet and see how it goes. Thanks again.

  14. #14
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Excel pivot table not responding

    ....The file did indeed appear corrupted since it took ages to load, and after it finally opened it was as you found very unresponsive. After deleting all rows and columns so that to all intents and purposes the workbook was empty it still took ages to save.

    For peace of mind it would be useful if you could establish when it last worked correctly and then try and understand what events took place after that before it became corrupted so that you can avoid the problem occurring again.

    Did the server crash during a save for instance? I'd also be inclined to set the file to automatically backup so that should you encounter the situation again you will at least have the previous uncorrupted version.

  15. #15
    Registered User
    Join Date
    01-03-2016
    Location
    Brisbane
    MS-Off Ver
    365
    Posts
    13

    Re: Excel pivot table not responding

    Not sure, I think the server may have had some issues. I will review when I get some more time.

    Now onto my next issue with the same workbook. Basically cell W4 and W5 provide an incorrect total. Please refer to the attached sheet (BTW it has crept up to over 3ook in size again even after I copied andresaved it).
    Attached Files Attached Files

  16. #16
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Excel pivot table not responding

    There is a lot of rounding not taken into account by your check formulae. Figure how much rounding is taking place and you should find the differences.

  17. #17
    Registered User
    Join Date
    01-03-2016
    Location
    Brisbane
    MS-Off Ver
    365
    Posts
    13

    Re: Excel pivot table not responding

    Hi, I'm a little confused. I am not using any rounding so I assume excel is calculating the exact number, like $7.89 x 142.50 hours = $1,124.325 (however excel calculates it as $1,124.19)? Does that make sense.

  18. #18
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Excel pivot table not responding

    I haven't checked all the monetary columns but columns M to R you have formatted as currency (two decimal places). If you change the formatting of those columns you will see that the real values are somewhat different than what currency displays.
    You are testing using values that you entered and not calculated values. That will certainly explain some of the differences. To find all of the differences, all the names would have to be converted to ranges to see what is happening. In addition, you are using percentages and that is another area where errors in precision can occur.

    M
    N
    O
    P
    Q
    R
    1
    Super
    Insurances
    Payroll Tax
    Cost
    Margin
    Hourly Margin
    2
    2.850000
    0.410625
    1.626075
    34.886700
    4.103300
    4.103300
    3
    61.750000
    8.896875
    48.754875
    769.401750
    180.598250
    22.574781
    4
    2.850000
    0.410625
    1.790325
    35.050950
    7.889050
    7.889050
    5
    3.325000
    0.479063
    2.088713
    40.892775
    7.107225
    7.107225
    Last edited by newdoverman; 01-12-2016 at 06:54 PM.

  19. #19
    Registered User
    Join Date
    01-03-2016
    Location
    Brisbane
    MS-Off Ver
    365
    Posts
    13

    Re: Excel pivot table not responding

    Hi, I did try going to 4 or decimal places however I still get $1,124.19?

  20. #20
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Excel pivot table not responding

    The check values that you are using can't be entirely relied upon as they are not calculated values.
    Try this for the error in row 5. You are using 7.11*150 and the answer is $1066.50 If you use the actual value in Q5 which is 7.1072 and multiply by 150 the answer is $1066.08.....there is the 42 cents difference. The .0028 difference in the displayed value and the calculated value doesn't look like much but in this case it is 42 cents.

    The same thing happens if you use the values in row 4 only the difference is 14 cents.

  21. #21
    Registered User
    Join Date
    01-03-2016
    Location
    Brisbane
    MS-Off Ver
    365
    Posts
    13

    Re: Excel pivot table not responding

    Exactly, what I need to know is how do I get it to calculate on 7.11 instead of 7.1072

  22. #22
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Excel pivot table not responding

    As an after thought; all of the defined names are for entire columns. Change the references to start with the first row of data in the table to the last row of data in the table. The formulae will adjust as you add rows to the table and you are not calculating the whole length of the worksheet. I made the changes here and the calculation speed increase was rather dramatic.

  23. #23
    Registered User
    Join Date
    01-03-2016
    Location
    Brisbane
    MS-Off Ver
    365
    Posts
    13

    Re: Excel pivot table not responding

    Ah, this has been an issue for a long time but I am not sure how I do this. Can you provide an example?

  24. #24
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Excel pivot table not responding

    To get the values that you want. I'm not sure that you should do this because it results in values that I would not consider to be accurate.
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Some of the slowness of the worksheet is due to the left to right to left order of the calculations. In other words the order of the calculations are back and forth instead of a progression from left to right and top to bottom. If you use the auditing tools under the Formulas tab Formula Auditing you will be able to see the arrows showing where the Precedent and Dependant values for the formulae are coming from and going to.

    Capture 2.JPG
    Last edited by newdoverman; 01-12-2016 at 08:31 PM.

  25. #25
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Excel pivot table not responding

    Quote Originally Posted by Deesta View Post
    Ah, this has been an issue for a long time but I am not sure how I do this. Can you provide an example?
    I'm assuming you are referring to the defined names.
    Find the last row of the table and make note of the number of the row. This will be used to re-define each name.
    Go to the Formulas Tab, click on the Name Manager, click on each defined name in turn and change the definition in the Refers to Bar. If you hit F2 each time before editing you will be able to edit without trouble..

    Capture.JPG
    Last edited by newdoverman; 01-12-2016 at 08:21 PM.

  26. #26
    Registered User
    Join Date
    01-03-2016
    Location
    Brisbane
    MS-Off Ver
    365
    Posts
    13

    Re: Excel pivot table not responding

    Well that worked a treat. It has also stopped hanging and updates instantly. What a relied. You are a guru!!

  27. #27
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Excel pivot table not responding

    I'm glad that you have the workbook working to your satisfaction. Thank you for the feedback.

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Pivot not responding
    By porepiga in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 01-03-2016, 03:08 AM
  2. Replies: 4
    Last Post: 06-19-2014, 12:59 PM
  3. Collapse/Expand - Pivot table Fields - Need equivalent option in Excel VBA Pivot table
    By ragavendraph in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-07-2012, 03:00 PM
  4. Excel pivot table? Edit pivot table sub catagory
    By Bowtye8 in forum Excel General
    Replies: 3
    Last Post: 02-23-2012, 02:25 PM
  5. Replies: 1
    Last Post: 06-22-2010, 09:10 AM
  6. Replies: 1
    Last Post: 06-20-2010, 04:00 AM
  7. [SOLVED] Can links between Excel 2003 Pivot Charts and their pivot table b.
    By Mark Allen in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 03-05-2005, 02:06 PM

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