+ Reply to Thread
Results 1 to 4 of 4

Excel sheet with over 1000 index/match array functions too slow

  1. #1
    Registered User
    Join Date
    03-07-2014
    Location
    New Jersey
    MS-Off Ver
    Excel 2007
    Posts
    7

    Unhappy Excel sheet with over 1000 index/match array functions too slow

    I have an Excel spreadhseet that makes use of over 1000 index/match functions on several criteria, and the sheet takes too long to do anything (I have calcuation options set to manual to even make it run faster). It takes about 30 minutes for it to even save.

    Is it because index/match array functions are just slower? Would I be better off using a helper column and switching to vlookups instead?

    Also, e.g., for the match functions I'm using something like this for the boolean paramater:
    (B2=Sheet2!B:B)*(C2=Sheet2!D:D), etc.
    Is it because I'm using entire columns that's making the file run slow? This is because the amount of rows of data in Sheet 2 can vary, and I can't do something like xldown (from VBA) in an Excel formula to find the bottom row.

    Any suggestions?

    Thanks!

  2. #2
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Excel sheet with over 1000 index/match array functions too slow

    Is it because I'm using entire columns that's making the file run slow?

    Yep, that's the reason => take a range instead e.g. ((B2=Sheet2!B1:B5000)*(C2=Sheet2!D1:D5000))

    Maybe you can also work with an pivot table soluition.
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

  3. #3
    Registered User
    Join Date
    03-07-2014
    Location
    New Jersey
    MS-Off Ver
    Excel 2007
    Posts
    7

    Re: Excel sheet with over 1000 index/match array functions too slow

    "Yep, that's the reason => take a range instead e.g. ((B2=Sheet2!B1:B5000)*(C2=Sheet2!D1:D5000))"

    The amount of rows can vary (user inputs the data to Sheet 2). What can I do to specify some arbitrary range that goes to the last row?

    "Maybe you can also work with an pivot table soluition."

    Do you mean turning the table into a pivot table and using GETPIVOTDATA?

  4. #4
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Excel sheet with over 1000 index/match array functions too slow

    Without seeing your date in an excel file, without confidential information, it's diffucult for me to give a good solution.

+ 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. Replies: 6
    Last Post: 04-30-2014, 02:42 AM
  2. Need Help: Pull Data from another Sheet using INDEX, MATCH functions etc
    By eummagic in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-21-2013, 01:45 AM
  3. [SOLVED] Slow index/small/row array
    By Jovica in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 12-06-2012, 06:59 AM
  4. UDF Lookup function as an alternative to array functions & match/index
    By Andrew_Harris in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-15-2012, 09:34 PM
  5. Index Match Index Formula work slow
    By avk in forum Excel General
    Replies: 9
    Last Post: 03-07-2012, 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