+ Reply to Thread
Results 1 to 5 of 5

Multiple Index/Match calculates extremely slow

  1. #1
    Forum Contributor vamosj's Avatar
    Join Date
    04-23-2004
    Location
    Oregon
    MS-Off Ver
    2010
    Posts
    294

    Multiple Index/Match calculates extremely slow

    So using the attached spreadsheet to keep some keys organized, I ran into a small issue when using index/match on each individual box and compartment inside of the box (hole) to fill in the layouts of each box.

    I use the inventory sheet to keep the data up to date and the index/match on each box would automatically fill in no matter how I have the data organized. Trying to do it this way so I can keep the spreadsheet dynamic as keys are retired and new ones are put into the system.

    Now not sure if it is just our company computers but it takes anywhere from 15 seconds to 60 seconds to calculate one change on the Inventory.



    Is there any other method not involving vba that would be better suited in this situation?
    Attached Files Attached Files
    Janos S. Vamos
    Data Systems Technician/Fire Controlman PO1(SW/AW)
    US Navy Retired


    Remember, Record Macro can be your friend for figuring out solutions.

    Good or Bad, let me know how I did by clicking on the "Add Reputation" * just to the lower left of here. it only takes a few seconds to let someone know.

  2. #2
    Registered User
    Join Date
    08-17-2012
    Location
    New York, New York
    MS-Off Ver
    Excel 2010
    Posts
    97

    Re: Multiple Index/Match calculates extremely slow

    It is the array formulas that are slowing your worksheet down. It take about 30 seconds on my machine to recalculate as well. If you can figure out a solution without the array formulas, then you won't run to the slow calculation. If you cannot, the only solution I can think of is to change your spreadsheet to manual calculation. Then add a workbook change event to tab with the following code respectively -
    Please Login or Register  to view this content.
    That way the spreadsheet will only calculate one tab at a time and only when the use clicks the tab. That should cut the time down from 45 secs to about 5 secs I am guessing.

  3. #3
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 V 2504
    Posts
    13,744

    Re: Multiple Index/Match calculates extremely slow

    Your formulas are all referencing whole columns. Each of those is 1048576 cells. In addition the calculations that are being done take time and use resources unnecessarily.

    instead of this:

    MATCH(1,('Safe Locks Inventory Sheet'!$D:$D=$B$1) * ('Safe Locks Inventory Sheet'!$E:$E=E5)

    consider this:

    MATCH(1,('Safe Locks Inventory Sheet'!$D2:$D1000=$B$1) * ('Safe Locks Inventory Sheet'!$E2:$E1000=E5)

    Just make the range references are a bit larger than the anticipated need. The largest row I see in your workbook ends at row 201.

  4. #4
    Forum Contributor vamosj's Avatar
    Join Date
    04-23-2004
    Location
    Oregon
    MS-Off Ver
    2010
    Posts
    294

    Re: Multiple Index/Match calculates extremely slow

    Narrowed down the array and works much faster now. Thank you folks for your time.

  5. #5
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 V 2504
    Posts
    13,744

    Re: Multiple Index/Match calculates extremely slow

    You are very welcome. Thank you for the feedback and the rep!

+ 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. Index Match Index Formula work slow
    By avk in forum Excel General
    Replies: 9
    Last Post: 03-07-2012, 02:19 PM
  2. Extremely slow macro!
    By PSm1th29 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-23-2010, 06:27 AM
  3. Excel is extremely slow now
    By Martindelica in forum Excel General
    Replies: 0
    Last Post: 05-01-2007, 08:32 PM
  4. [SOLVED] Extremely slow file
    By Jay in forum Excel General
    Replies: 3
    Last Post: 07-10-2006, 08:19 AM
  5. Workbook is now Extremely Slow
    By Dmorri254 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 05-03-2005, 02:19 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