+ Reply to Thread
Results 1 to 6 of 6

Resolving speed issues with a workbook - general solutions

  1. #1
    Forum Contributor
    Join Date
    04-19-2013
    Location
    Yorkshire, England
    MS-Off Ver
    Excel 2010
    Posts
    297

    Resolving speed issues with a workbook - general solutions

    I am having real trouble with the speed of my workbook and am looking for ways/tricks of the trade to sort it out. I cannot post it unfortunately so am just looking for general speed improvement solutions really...

    I have one source sheet of static data - roughly 160,000 rows worth. To analyse the data I am using two scripting dictionaries that make unique lists from some of the column values. Also I am using a large number of SUMIFS to pull out data that fulfills certain criteria between dates. However, the results of the SUMIFS are not static - the user can change the date range - so a lot of re calculation is being done.

    I have tried:

    - reducing the data to test - this makes little to no difference.
    - changing my named ranges to dynamic lists rather than whole columns - again this made v. little differnce
    - reducing the number of formulas - this brought improvement, but given the amount I have it really should not be running this slow.

    The file size is only around 29,000 KB.

    Any ideas would be much appreciated as it is so slow it is barely usable at present.

    Many thanks

  2. #2
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,897

    Re: Resolving speed issues with a workbook - general solutions

    sumifs is a voalite formula, which will start working each time a cell changes.

    That is why you file is so slow.

    There was a simular threat earlier today or yesterday, which added some solution.

    My solution would be using pivot table, instead of sumifs.

    Edit: here is the link to the topic I am talking about.
    http://www.excelforum.com/excel-prog...fs-faster.html
    Last edited by oeldere; 09-04-2014 at 08:09 AM. Reason: Edit added
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

  3. #3
    Forum Guru romperstomper's Avatar
    Join Date
    11-04-2008
    Location
    A1
    MS-Off Ver
    Most
    Posts
    12,302

    Re: Resolving speed issues with a workbook - general solutions

    SUMIFS is not actually a volatile formula.
    Remember what the dormouse said
    Feed your head

  4. #4
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,897

    Re: Resolving speed issues with a workbook - general solutions

    Please Login or Register  to view this content.
    sorry for spreading the wrong information.

    Romperstomper, thanks for the correction, much appreciated.

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

    Re: Resolving speed issues with a workbook - general solutions

    Attach a sample workbook. Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and use the paperclip icon to open the upload window.

    View Pic
    <---------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

  6. #6
    Forum Contributor
    Join Date
    04-19-2013
    Location
    Yorkshire, England
    MS-Off Ver
    Excel 2010
    Posts
    297

    Re: Resolving speed issues with a workbook - general solutions

    I think after much toiling I have found a way round my formulas making it so slow. The problem was, as was said, the fact that every time a change of any kind was made all the formulas were being re calculated.

    So, I switched to to manual calculation -only thing is this is fine if I am using it and can remember to hit F9 every time. But it was inadequate for other users. So, with calculation still in manual I added a worksheet activate code as a private sub to each sheet. Each code uses
    Please Login or Register  to view this content.
    to update that sheet.

    That way the figures are always up to date but the whole workbook is constantly updating.

    Worked a treat!

+ 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. Replies: 3
    Last Post: 07-16-2014, 01:50 AM
  2. Speed issues with VBA function
    By zemigsan in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-22-2013, 10:24 PM
  3. Impressed with the converage and explanations for resolving issues
    By Sgt Rock in forum Hello..Introduce yourself
    Replies: 3
    Last Post: 08-02-2012, 06:29 PM
  4. Help with speed issues in a macro
    By diggeryo in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-25-2011, 04:25 AM
  5. [SOLVED] Speed issues
    By Antonio in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 05-08-2006, 03:30 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