+ Reply to Thread
Results 1 to 3 of 3

Speeding up calculations

  1. #1
    Forum Contributor
    Join Date
    01-11-2011
    Location
    Milwaukee, WI
    MS-Off Ver
    Excel 2003
    Posts
    107

    Speeding up calculations

    I am trying to remove bottle necks and am curious

    1) If I am better off using ranges in my lookups =LOOKUP(H17,S1:S100,T1:T100) vs =LOOKUP(H17,S:S,T:T)

    2)Does clearing/deleting rows 100-65536 do the same as above


    3) I am using one workbook with approx 30 worksheets (My file is 3MB). Am I better off having separate workbooks? I have 1 sheet as a master compiling all data from other 29 sheets and really don't need the sheets once the data is entered and compiled to master.

  2. #2
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: Speeding up calculations

    Why not have all the data on one sheet?

    Defining the range for VLOOKUP, etc means that the formula is not checking the whole column

    Unnecessary data/sheets should really be removed
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

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

    Re: Speeding up calculations

    Used in this form

    a) the LOOKUP will be equally efficient either way.

    b) LOOKUP uses binary search in it's truest form meaning that even if the entire column was full of data it would still be blindingly fast to calculate.


    By referencing a smaller range in the vectors you are however reducing the number of precedents that when altered would cause the LOOKUP to recalculate
    (but again given the fact the calc is pretty much instantaneous that's no biggy)

    edit:
    In short, your bottlenecks are not the result of the above formulae - or at least I would be very surprised were that the case.
    Last edited by DonkeyOte; 02-10-2011 at 10:01 AM.

+ 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