+ Reply to Thread
Results 1 to 4 of 4

what kinds of formulas or formula techniques slow down a workbook?

Hybrid View

  1. #1
    Registered User
    Join Date
    10-10-2013
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    58

    what kinds of formulas or formula techniques slow down a workbook?

    Hello Everyone,

    I just started a new job and I have inherited a workbook that wasn't created by me. The workbook given to me is a massive workbook that as has about 10 different worksheets in it that have a ton of calculations. the formulas that are used in a significantly consistent basis is this workbook are offset, sumif formulas and they all these formulas tend to refernce other worksheets in this workbook. I was wondering if anyone can provide me any insight thanks.

  2. #2
    Forum Guru Kaper's Avatar
    Join Date
    12-14-2013
    Location
    Warsaw, Poland
    MS-Off Ver
    most often: Office 365 in Windows environment
    Posts
    8,651

    Re: what kinds of formulas or formula techniques slow down a workbook?

    The type of functions is basically always data intensive. You can check if no unneeded reference to too large ranges or whole rows/columns - especially in parameters of offset are not used. second concept if in formulas there are nested all the time the same formulas (like finding last cell for offset etc then it could be wise to keep this data outside - calculated only once. either in a cell or in a named value.
    Also check for array formulas - they tend to look very effective but are often not as quick as regular ones.
    Best Regards,

    Kaper

  3. #3
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP and 2007
    Posts
    15,883

    Re: what kinds of formulas or formula techniques slow down a workbook?

    "Volatile" functions tend to slow down a workbook, because they are executed with each calculation event rather than fitting into the calculated dependency trees. Examples of volatile functions: OFFSET(), INDIRECT(), NOW(), and so on.
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

  4. #4
    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
    44,744

    Re: what kinds of formulas or formula techniques slow down a workbook?

    Avoid Volatile functions:

    Excel’s Volatile Functions.
    Some of Excel’s functions are obviously volatile: RAND(), NOW(), TODAY()

    Others are less obviously volatile: OFFSET(), CELL(), INDIRECT(), INFO()

    Some are volatile in some versions of Excel but not in others: INDEX()became non-volatile in Excel 97.

    A number of functions that are documented by Microsoft as volatile do not actually seem to be volatile when tested:

    INDEX(), ROWS(), COLUMNS(), AREAS()

    and CELL("Filename") IS volatile although a MSKBN article says its not.

    One particular syntax of SUMIF is volatile in Excel 2002 and subsequent versions. This occurs when the size of the first range argument is not the same as the second (sum_range) argument.

    Courtesy: http://www.decisionmodels.com/calcsecretsi.htm

    If you use =TODAY() or =NOW(), instead of repeating the volatile function in every cell, put it in a single cell, maybe on a hidden sheet, and the refer to that cell ... only one volatile cell instead of potentially hundreds or thousands.


    Avoid Array Functions with whole column references (Excel 2007+ has over 1 million rows).

    Avoid "pre-preparing" formulae in multiple row/columns/cells based on, say, input in the first column.

    Don't use excessive formatting, Conditional Formatting, Data Validation beyond the used range of data.

    If you do use Conditional Formatting and add and delete rows or columns, you may end up with multiple references to the Conditional Formula relating to different blocks of data. This can be very slow.


    Regards, TMS
    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


+ 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. [SOLVED] Extremely slow workbook and complex formulas
    By gaker10 in forum Excel General
    Replies: 7
    Last Post: 07-28-2014, 09:13 AM
  2. [SOLVED] Copy sheets to new workbook causing formulas to calculate slow
    By som3on3_10 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 03-12-2014, 03:51 AM
  3. [SOLVED] Too many INDIRECT formulas? (slow workbook)
    By Yoshi64 in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 01-09-2014, 11:25 AM
  4. [SOLVED] Too many formulas, slow workbook
    By Pierce Quality in forum Excel Formulas & Functions
    Replies: 14
    Last Post: 11-18-2013, 10:14 AM
  5. Replies: 0
    Last Post: 04-01-2005, 06:49 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