+ Reply to Thread
Results 1 to 4 of 4

Can Array Formulas slow down XL?

  1. #1
    Registered User
    Join Date
    10-16-2009
    Location
    Moscow
    MS-Off Ver
    Excel 365
    Posts
    39

    Can Array Formulas slow down XL?

    Greetings!

    I have 6 formulas in my worksheet with {} (array formulas) and I have noticed that each time I press F9 Excel recalculation time takes around 3-5 seconds when usually it takes less than a second. This is especially noticeable when I run the file (around 8-10 seconds).

    If I remove {} from formulas Excel works pretty fast. But unfortunately I have to use array formulas.
    Are there any ways to avoid slowing down Excel recalculation time?

    Thank you
    Last edited by Salomey; 09-22-2010 at 08:56 AM.

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

    Re: Can Array Formulas slow down XL?

    Array formulas are generally slower than non-array formulas. No way round that if you have to use them, but we can't really assist you if we have no idea what the formulas are.
    Remember what the dormouse said
    Feed your head

  3. #3
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Can Array Formulas slow down XL?

    The reason people use array formulas is because they typically need a specific calculation to be run on every row/column of a range of cells, the function to be run is specific and the results have to be dealt with as a whole...AND they want to do all of this in a single cell.

    That's a lot of plumbing and the resulting slow down is a natural result.

    Pretty much all array formulas can be replaced with "helper columns/rows" added to the data that allows these functions to be run on each row/column separately and the results listed in this helper column. Since the basic formula is now being run on simple ranges, the performance hit goes away and the cell where your current ARRAY formula is can have a simpler formula in it that simply evaluates the results of the helper columns.

    So, array formulas use less real estate, but cause a performance hit.
    Helper columns expand your data set, but restore efficiency.

    It's a trade off.

    I typically only use arrays on small data ranges. If the range is more than 5-10 cells, I add a helper column. If the helper column is unsightly, I just hide it.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  4. #4
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Can Array Formulas slow down XL?

    If that takes care of your need, please click EDIT in your original post, click GO ADVANCED and set the PREFIX box to SOLVED.

+ 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