+ Reply to Thread
Results 1 to 3 of 3

Speeding up a loop to repeat calculations for different inputs

  1. #1
    Registered User
    Join Date
    03-19-2015
    Location
    Málaga, Spain
    MS-Off Ver
    2013
    Posts
    2

    Speeding up a loop to repeat calculations for different inputs

    Hello everyone.

    I'm working on a spreadsheet that repeats the same calculations for a wide range of input values. The idea is that the user introduces a list of possible values for each input parameter, all possible combinations of those parameters are listed and the calculations are evaluated for all these possible combinations, then results are listed and filtered to see what the optimum set of parameters is. The problem I have with the macro I'm using is that it takes around 2 seconds to refresh the spreadsheet in order to evaluate each input set. Ideally, the spreadsheet should be able to evaluate around 400 combinations in an acceptable time and at 2 seconds per input it takes around 15 minutes, which is not practical at all. Here is the macro that I'm currently using.

    Please Login or Register  to view this content.
    Does anyone know anyway that I could improve this code to speed up the process?

    Thank you very much in advance.

  2. #2
    Registered User
    Join Date
    03-23-2015
    Location
    pakistan
    MS-Off Ver
    2007
    Posts
    1

    Re: Speeding up a loop to repeat calculations for different inputs

    this formula is written on excel file ????

  3. #3
    Registered User
    Join Date
    03-19-2015
    Location
    Málaga, Spain
    MS-Off Ver
    2013
    Posts
    2

    Re: Speeding up a loop to repeat calculations for different inputs

    Yes, it is. Why?

+ 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. Help speeding up a for loop
    By msfarrar in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-28-2012, 02:52 PM
  2. speeding up a loop
    By menos in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 07-08-2011, 09:49 AM
  3. Speeding up calculations
    By clundeen in forum Excel General
    Replies: 2
    Last Post: 02-10-2011, 09:58 AM
  4. Speeding Up File with Calculations
    By sly424 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-07-2008, 02:55 PM
  5. Speeding up workbook calculations
    By John in forum Excel General
    Replies: 1
    Last Post: 12-05-2005, 01:45 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