+ Reply to Thread
Results 1 to 13 of 13

Super Slow Excel

  1. #1
    Registered User
    Join Date
    05-12-2013
    Location
    london, England
    MS-Off Ver
    Excel 2003
    Posts
    1

    Super Slow Excel

    Hey I have too many calculations in my spreadsheet, that would make sense anyway as it's really slow, is there a way I can make it run faster? Working on my 2016 finances and hope someone can help!

    Graeme FINANCE - 2016.xlsx

    here is the document and the password is "finance"

    Thanks guys.

  2. #2
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 V 2503
    Posts
    13,702

    Re: Super Slow Excel

    At least two of the Named Ranges reference whole columns .... 1048576 cells .... nearly all blanks. I noticed a SUMPRODUCT formula that references and multiplies that range. That is a lot of unnecessary calculation and will definitely slow a workbook down.

    Reduce the size of all overly large ranges. If you are making room for expansion use an upper boundary row that will more than cover that but not overly large. For example if you anticipate using 10,000 rows in AmountReceived set your range to 12,000 rows or 15,000.
    Last edited by FlameRetired; 12-21-2015 at 10:23 PM.
    Dave

  3. #3
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,048

    Re: Super Slow Excel

    Agree with Dave on this - reduce your ranges to just what you need...or, say, 2-3 times what you think you will need, you are including over 1 million cells on those ranges...and in the calcs

    Also, using SUMPRODCT can slow things down - especially when using such large ranges. Consider switching to maybe a sumifS() or countifS() function?
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  4. #4
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 V 2503
    Posts
    13,702

    Re: Super Slow Excel

    Ford,

    Good point on the SUMPRODUCT thing. I had forgotten about that.

    Dave

  5. #5
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,048

    Re: Super Slow Excel

    Dave, that's why I get paid the big bucks
    LOL yeah right

  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
    48,197

    Re: Super Slow Excel

    For some reason, you appear to have a lot of blank columns up to column AMK. I have deleted the majority of these, which nearly halves the size of the file.

    I have also converted most of the Named Ranges to Dynamic Named Ranges, which improves the calculation time because the SUMPRODUCT formulae are no longer referring to whole columns. The alternative would be to convert your data tables to Structured Tables.

    See the attached updated example.


    Regards, TMS
    Attached Files Attached Files
    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: Super Slow Excel

    I don't think that I destroyed anything but I discovered that one of the worksheets had over 9000 rows with just a counter in column A. This is something that probably isn't needed as it is consecutive numbers that you can add as you make entries. Other than that I used the dynamic named ranges where you used whole column ranges. It would probably be advisable to change all the named ranges to be dynamic as I think TMS did.

    For some reason, my version of the workbook seems to be quite small compared to the original. I used Microsoft's Excess Format cleaner to reset the data ranges.
    Attached Files Attached Files
    Last edited by newdoverman; 12-22-2015 at 08:52 PM. Reason: I introduced a circular reference...corrected it.
    <---------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

  8. #8
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,937

    Re: Super Slow Excel

    Can't download attachment in #7:
    vBulletin Message
    Invalid Attachment specified. If you followed a valid link, please notify the administrator
    Ben Van Johnson

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

    Re: Super Slow Excel

    You may have tried to download while I was swapping out the file for one that didn't have a circular reference that I had accidentally introduced. It should be ok now.

  10. #10
    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
    48,197

    Re: Super Slow Excel

    ... a circular reference that I had accidentally introduced.
    That happened to me too. Odd.

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

    Re: Super Slow Excel

    I will upload it again in case something went wrong with the upload
    Attached Files Attached Files

  12. #12
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,937

    Re: Super Slow Excel

    Asking for a password?

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

    Re: Super Slow Excel

    Same password as the original file - finance

+ 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. General help simplifying my super slow VB code PLEASE :-D
    By blackcat_78uk in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-30-2015, 05:22 PM
  2. General help simplifying my super slow VB code PLEASE :-D
    By blackcat_78uk in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-30-2015, 04:02 PM
  3. Super slow Insert Columns with 40,000 lines of records
    By stewegg in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-08-2014, 01:48 PM
  4. [SOLVED] Need help with an excel file that is super slow and crashes a lot.
    By regorih in forum Excel General
    Replies: 6
    Last Post: 01-14-2014, 07:23 PM
  5. Tons of Arrays = Super Slow Calculating
    By danmarsh in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-23-2012, 01:52 PM
  6. speeding up code that is super slow
    By cabinetguy in forum Excel Programming / VBA / Macros
    Replies: 28
    Last Post: 05-19-2011, 12:24 PM
  7. Excel 2007 : Super Slow Excel Label Printing Format
    By bsteoh in forum Excel General
    Replies: 0
    Last Post: 02-11-2010, 09:18 AM

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