+ Reply to Thread
Results 1 to 5 of 5

Replace =INDIRECT

  1. #1
    Forum Contributor
    Join Date
    12-02-2008
    Location
    Brisbane
    MS-Off Ver
    2016
    Posts
    807

    Smile Replace =INDIRECT

    Attached is an extract from a 50+ sheet spreadsheet. It allows basic Excel users to record information and this information is summarised on one sheet using =INDIRECT. When fully populated it is around 20 mb and this can take upwards of 15 minutes to recalculate.

    By using different formula, can I achieve a faster recalc method which allows the summary sheet to get automatically updated after the users have entered their data? I do not really want to resort to code or asking the users to write formula themselves.

    Thanks for any advice or ideas
    Attached Files Attached Files
    Last edited by BRISBANEBOB; 01-06-2012 at 03:38 AM.

  2. #2
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Replace =INDIRECT

    A few people have looked at this file and I would say most have probably arrived at the same conclusion... there is nothing in the attachment that would warrant 15 min calc time. The INDIRECTs, though volatile, are not expensive calculations.

    So... on that basis:

    Do you have any other calculations in this file other than those in the sample ? If so, please provide an example ... performance killers are generally SUMPRODUCT & Arrays (volatile precedents don't help obviously)
    Are you using Dynamic Named Ranges in your main file ? If so, how are these a) defined b) utilised
    Are you using Conditional Formatting ? (other than that disclosed within the sample)

    If you don't really need the sheet name in A1 on each SCR sheet you might choose to remove the CELL based calcs (volatile) though again I doubt this will make a huge difference.

    Going back to your original question: yes, VBA is certainly a possibility, however, first I would suggest determining why you need to ... may be other bigger fishes to fry in the first instance.


    edit:

    I didn't notice you have Conditional Format rules on the SCR sheets - if you have 500 of these sheets then performance will take a hit. To benchmark remove the Conditional Formats and review performance.
    Last edited by DonkeyOte; 12-25-2011 at 04:54 AM.

  3. #3
    Forum Contributor
    Join Date
    12-02-2008
    Location
    Brisbane
    MS-Off Ver
    2016
    Posts
    807

    Re: Replace =INDIRECT

    The only volatile formula I am using is the INDIRECT. There is some, but not a lot, of conditional formatting. It probably just the size of the file and I suspect there is nothing that can be done other than to resort to code (as an accountant, I write the worst code in the world).

    As a matter of interest, does conditional formatting have a big impact on speed?

    Thanks for taking the time to respond.

  4. #4
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Replace =INDIRECT

    Conditional Formatting is super-volatile - see Volatile sig. link for more info.

    For the above reason 500+ sheets with Conditional Formats is likely to have a detrimental impact on performance given associated calculation overhead.

  5. #5
    Forum Contributor
    Join Date
    12-02-2008
    Location
    Brisbane
    MS-Off Ver
    2016
    Posts
    807

    Re: Replace =INDIRECT

    Thanks - another lesson learned!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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