+ Reply to Thread
Results 1 to 8 of 8

Spreadsheet file takes a long time/stops responding between every action

  1. #1
    Registered User
    Join Date
    10-17-2008
    Location
    Clinton, UT
    Posts
    28

    Spreadsheet file takes a long time/stops responding between every action

    ETA: a smaller version of my spreadsheet. Unfortunately the problem doesn't persist once I remove about 950 rows, so I'm not sure I'll get any help that way. I did try removing some of the other sheets (also not on the small one) from the original to see if that fixed it, but it did not.

    I am working with a workbook that is not overly large (520 KB), but every time I perform an action, it takes forever (blue "thinking" circle) and/or stops responding before finally completing the action. For example, I'm moving some rows around, so I cut a row from one place (that action is fine), but when I "Insert Cut Cells" to another location, that is where the spreadsheet hangs up for up to 60 seconds before it inserts them. Even something as simple as inserting a blank row will do this. It's a personal spreadsheet, so at least I'm not costing a client time/money, but still!

    I have followed all of the troubleshooting steps on this page but to no avail: https://support.microsoft.com/en-us/...5-4ca6853a1ff4. Most weren't relevant, but I checked/did them anyway, to include moving the file locally rather than on my thumb drive. I did have some random hidden objects and some formulas that referred to entire columns, so I had hoped that fixing/removing those would help, but it did not I also tried on a different computer (both Windows 10), and that didn't help, either. This isn't systemic--it appears to be only this file.

    There are no links to external sources/workbooks, either.

    Any other thoughts/suggestions I can try?? One sheet goes to column M, but I can't "delete" the blank rows at the bottom (I read awhile back there's a bug with that, but I don't remember where or what the fix was), so I don't know if that has something to do with it?
    Last edited by HeatherBelle79; 12-07-2020 at 05:16 PM. Reason: ETA spreadsheet

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,336

    Re: Spreadsheet file takes a long time/stops responding between every action

    You would be more likely to get a constructive answer if you share a desensitised version of the workbook.

    See the yellow banner.
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Registered User
    Join Date
    10-17-2008
    Location
    Clinton, UT
    Posts
    28

    Re: Spreadsheet file takes a long time/stops responding between every action

    I've attached a smaller spreadsheet, but unfortunately the problem doesn't persist once I remove about 950 rows, so I'm not sure I'll get any help that way. I did try removing some of the other sheets from the original to see if that fixed it, but it did not.

  4. #4
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,336

    Re: Spreadsheet file takes a long time/stops responding between every action

    As the file is only 520kb, I'd rather see the full file with sensitive information removed BUT displays the problem, rather than a cut down version that doesn't.

    That said ...

    On Sheet Item#s, this
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    could be just this
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    On this sample, the Conditional Formatting is split. So, if that is the case in the real file, you could have a lot more CF than you need. I'd be inclined to remove all the CF and re-apply it.

    On the Stampin' Rewards sheet, you might be better off using INDEX/MATCH rather than VLOOKUP. There is an argument that VLOOKUP will require you to read the whole search range into store even though you only search the first column and return data from one other, whereas, INDEX/MATCH only refers to two columns.

    So this:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    could be this:
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Could be other things but obviously I'm not going to be able to test the benefits of these suggestions.

    If there are other sheets, there may be other issues that I cannot comment upon.

  5. #5
    Registered User
    Join Date
    10-17-2008
    Location
    Clinton, UT
    Posts
    28

    Re: Spreadsheet file takes a long time/stops responding between every action

    I was just going to post asking if there was a way to clean up my Concatenate string to make it simpler (was working on a small sample worksheet)! I removed the other sheets from the bigger one as well, it just didn't fix the issue; the sheets on the smaller one are the only ones on the bigger one now, too. I will give both a try to see if that fixes anything. I thought I'd cleaned up my CF (as part of the "styles" troubleshooting on the link in my original post, even though it wasn't a style per se), but I'll take a look again. Part of the problem is this spreadsheet has evolved over several years as I've periodically decided to make it work harder for me or as I've learned some new functions and how to apply them; I've tried to clean it up each time so that I don't have "dirty code" (to use a coders term), but I may not always have been successful. It will take a minute to apply your suggestions, but I wanted to respond and say thank you! I will let you know if it solves the issue.

  6. #6
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,336

    Re: Spreadsheet file takes a long time/stops responding between every action

    Typically, in my experience, slow response or apparent hanging up can be caused by:

    1. Full column references and/or
    2. Complex Array Functions ... multiple columns
    3. Heavy use of Conditional Formatting
    4. "Fractured" Conditional Formatting caused by inserting and deleting rows and/or columns
    5. Formulae designed to return blank if a key column, say column A, is blank copied way down the sheet
    6. Bloating, where Excel thinks there are more rows and columns of data than there actually are

    Can't necessarily see examples but then this is a cut down sample that doesn't exhibit the problem

  7. #7
    Registered User
    Join Date
    10-17-2008
    Location
    Clinton, UT
    Posts
    28

    Re: Spreadsheet file takes a long time/stops responding between every action

    I had followed all the troubleshooting in the link in my original post, to include removing references to entire columns, but it didn't fix it; the issue wasn't widespread, just a couple of places in formulas that I didn't write myself.
    I definitely appreciate the shortened "concatenation." I'll have to study it to see what in the world it is so I can use it in the future , but that didn't fix the problem, either, nor did removing the VLOOKUPs (thanks for that function as well!).
    It was definitely the CF. I haven't added it all back in, but it actually kept going nonresponsive when I would select "This Worksheet" to view all the CF on the Rewards sheet (when I was TS myself, I'd only been on "Current Selection" without realizing it), so that was a dead giveaway LOL I truly do try to keep things clean when I make updates, but apparently I didn't sweep as well as I should have. Now that it's stripped out, there's only about a 1 second delay in performing an action which I can live with!

    So, looking at the smaller spreadsheet actually did help as you provided some things to look at that weren't on the initial TS list I worked from As for a cut-down sample, I was just following the directions in the yellow box to only include 10-20 lines vs hundreds (and why I didn't submit the worksheet when I first posted it since I knew it wouldn't exhibit the problem in a smaller form)! I didn't want to break forum rules. But thanks again for the cleaner formulas!

  8. #8
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,336

    Re: Spreadsheet file takes a long time/stops responding between every action

    You're welcome.

    The shorter concatenate formula is quite straightforward. Apart from the first value, it checks each value to see if it is blank. If it's not, it concatenates the separator(s) and the value, otherwise it concatenates a null value.

    Glad you found the CF issue. I once created an application that was designed to insert and delete blocks of rows and columns. In testing it was fine, but, when used in anger it became deadly slow. In the end, I resorted to using a Worksheet Open Event handler to clear all the CF and re-instate it.


    If you are satisfied with the solution(s) provided, please mark your thread as Solved.


    New quick method:
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

    Or you can use this way:

    How to mark a thread Solved
    Go to the first post
    Click edit
    Click Go Advanced
    Just below the word Title you will see a dropdown with the word No prefix.
    Change to Solved
    Click Save


    You may also want to consider thanking those people who helped you by clicking on the little star at the bottom left of their reply to your question.

+ 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. Excel File Takes Long Time to Save
    By mikbsirhc in forum Excel General
    Replies: 6
    Last Post: 10-24-2019, 12:40 AM
  2. Application.Undo on a Copy and Paste action takes a very long time to complete
    By superlative in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-24-2018, 12:15 PM
  3. File Takes Long Time to Save/Not Responding
    By wisedave in forum Excel General
    Replies: 20
    Last Post: 01-17-2015, 05:44 PM
  4. Loop that takes a long time
    By batchjb69 in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 06-26-2014, 09:00 AM
  5. Excel file takes a long time to open
    By MikeWard100 in forum Excel General
    Replies: 1
    Last Post: 02-14-2013, 09:57 AM
  6. Spreadsheet takes so long to open any ideas?
    By hermithead in forum Excel General
    Replies: 1
    Last Post: 11-25-2009, 01:06 AM
  7. Excel file takes a long time to save
    By ben@bikecenturies in forum Excel General
    Replies: 1
    Last Post: 02-02-2005, 09: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