+ Reply to Thread
Results 1 to 7 of 7

Unexplained Slowness

  1. #1
    Registered User
    Join Date
    09-25-2008
    Location
    Winnetka, CA
    Posts
    83

    Unexplained Slowness

    My spreadsheet (about 7600 lines and 57 columns) had too many formulas to work efficiently. It was taking too long to calculate everything. I deleted lots of the formulas and converted many of the rest formulas to text. (I can replace them with formulas when needed). I started setting Calculations to Manual when possible.

    However, even with all this, there's lots of lag. I've been watching the screen slowly redraw itself repeatedly for the last five minutes and now its not responding. I think I'm waiting for any remaining formulas to recalculate, although it's still in Manual mode.

    Restarting Excel seems to help a little, but the problem comes back. Is there anything I can do about this?

  2. #2
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,446

    Re: Unexplained Slowness

    Do you have many conditional formatting, formats, array formulas?

  3. #3
    Registered User
    Join Date
    09-25-2008
    Location
    Winnetka, CA
    Posts
    83

    Re: Unexplained Slowness

    Quote Originally Posted by Pepe Le Mokko View Post
    Do you have many conditional formatting, formats, array formulas?
    Yes, some, and no.

    Seriously, I have about three columns with conditional formatting, and about eight columns in which the text is a color other than black. I don't have any array formulas.

    The spreadsheet is a Table and I always have AutoFilters on, if those make a difference.

    The workbook has many other worksheets, but most of them have no connection to the main one, and I haven't touched them in a while. They do include pivot tables that are connected to the main table, but I haven't touched them either; could they be refreshing themselves in the background?
    Last edited by shawnvw; 10-09-2015 at 01:10 PM.

  4. #4
    Forum Contributor
    Join Date
    08-25-2015
    Location
    Near Pittsburgh, PA
    MS-Off Ver
    Excel 2013
    Posts
    152

    Re: Unexplained Slowness

    You can test your hypothesis of the slowness being related to the other sheets in the workbook - just copy your spreadsheet to another work book. Save the new book as TEST or something else. Close both/all workbooks. Reopen just the TEST worksheet and see if you still have the issue.

    There are other possibilities. What is the current SIZE of the workbook? (File - Properites - Size)

  5. #5
    Registered User
    Join Date
    09-25-2008
    Location
    Winnetka, CA
    Posts
    83

    Re: Unexplained Slowness

    It's about 7 MB.

    However, I tried getting rid of the conditional formats and other formatting, and that seems to have done the job.

    I hadn't realized how slow Conditional Formatting could be until just now when I read an article about "volatile functions" in Excel. Apparently, every cell with that formatting is recalculated when the screen is redrawn, even if Calculations is set to Manual!

    Thanks

  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,372

    Re: Unexplained Slowness

    One issue with Conditional Formatting is that the "areas" can get split up when you add and delete rows and columns. Over time, this can become a horrendous overhead with lots and lots of (repeated) Conditional Format conditions.

    Another common problem is that formatting and Conditional Formatting inadvertently gets copied down the whole worksheet to the rest of the rows. Obviously, it's not visible until data is present in the cells ... but it requires processing and calculating.

    Ideally, raw data (input), analysis and presentation should be kept separate. Clearly, with 7600 rows and 57 columns, you can't look at all that data visually, so you need to analyse it and present it in manageable chunks ... so, Pivot Tables, Charts, Dashboards, etc.

    Regards, TMS
    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


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

    Re: Unexplained Slowness

    If the table is a real Data Table (Insert Table command) and not just a range with the Data Filters applied, apply the conditional formatting to the cells of the table. This way the Conditional Formatting will increase to include new rows in the table and not include rows not in the table. This should help to eliminate a bunch of repeated overlapping formatting.

    If you add columns to the table, you can either expand the Applied To range or enter =Tablename. If you use the Table name like =Table1 the range will expand to include the whole table without having to enter cell references manually.
    <---------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

+ 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. Smart Code Unexplained
    By Jiptastic in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-21-2013, 11:45 AM
  2. Excel slowness
    By Nighteg in forum Excel General
    Replies: 6
    Last Post: 06-10-2012, 08:16 AM
  3. Excel 2007 : Unexplained Number Format Changes
    By Kncuda in forum Excel General
    Replies: 3
    Last Post: 04-30-2009, 10:18 AM
  4. Excel 2003 v 2007 slowness
    By bsmith81 in forum Excel General
    Replies: 1
    Last Post: 02-05-2008, 11:38 AM
  5. Excel slowness
    By largeinnit in forum Excel General
    Replies: 1
    Last Post: 12-10-2007, 05:11 AM
  6. Excel slowness
    By gloveman in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-25-2006, 03:40 PM
  7. Unexplained Line on worksheet
    By lajutown in forum Excel General
    Replies: 2
    Last Post: 10-22-2005, 01:05 AM
  8. [SOLVED] Slowness
    By Jim Cannon in forum Excel General
    Replies: 2
    Last Post: 03-05-2005, 11:07 PM

Tags for this Thread

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