+ Reply to Thread
Results 1 to 3 of 3

Formula efficiency

  1. #1
    Forum Contributor
    Join Date
    04-21-2009
    Location
    England
    MS-Off Ver
    Excel 2016
    Posts
    710

    Formula efficiency

    I'm trying to streamline my workbook.

    I have one cell that has 4 or 5 "AND" formulas. Is it more efficient to have and formula's with several conditions all in one cell, or have separate formula's individually in separate cells?

  2. #2
    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,447

    Re: Formula efficiency

    I guess we'd be able to give a more informed answer if we could see the formula, ideally with some sample data.
    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


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

    Re: Formula efficiency

    I agree with TMS, it is going to be difficult to give any good suggestions without seeing this in context.

    That said, instinct suggests to me that the AND() function is pretty fast, and there will be little difference between =AND(cell reference,cell reference, cell reference) and =AND(boolean expression,boolean expression,boolean expression). I would expect that, if you have traced your bottleneck to this cell/formula, the real bottleneck is in the formulas/expressions that make up the boolean expressions and not the AND() function itself.

    One way that separating the arguments out into separate cells can impact calculation speed is when one or more of the arguments is very slow to calculate. If you have 10 slow formulas as arguments to the AND() function and something changes so that only one of the arguments needs to change or be evaluated, Excel cannot separate out only one argument for evaluation. Excel must evaluate all 10 arguments. If you separate each formula/argument into separate cells, then Excel can evaluate only the cell that needs to change. The AND() function can then quickly look at the 10 cells before returning its result.
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

+ 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. Improving formula/workbook efficiency
    By aquixano in forum Excel General
    Replies: 0
    Last Post: 06-24-2016, 05:53 PM
  2. Formula to calculate efficiency of colleagues at work
    By MariusMM in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 05-04-2015, 03:02 PM
  3. Unable to create formula to accurately chart efficiency.
    By MikaMyers in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 08-12-2013, 10:11 AM
  4. Replies: 2
    Last Post: 10-28-2011, 11:58 PM
  5. Excel 2007 : Simplify an array formula for efficiency
    By stevetothink in forum Excel General
    Replies: 2
    Last Post: 01-20-2011, 07:40 PM
  6. Formula Efficiency
    By whittleman in forum Excel General
    Replies: 2
    Last Post: 09-17-2007, 10:18 AM
  7. [SOLVED] efficiency: database functions vs. math functions vs. array formula
    By nickname in forum Excel General
    Replies: 2
    Last Post: 07-13-2006, 11:30 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