+ Reply to Thread
Results 1 to 5 of 5

Index Match Processing Stall

  1. #1
    Registered User
    Join Date
    05-19-2016
    Location
    Georgia
    MS-Off Ver
    2010 for Mac
    Posts
    1

    Index Match Processing Stall

    I am using Excel. Unfortunately I am using it on Mac.

    One of the many issues that I am repeatedly experiencing is long processing times. In most cases, this leads to stalls, shutdowns, and restarts.

    I am not able to use Macros on large sets of data.

    Currently I am attempting the following Index Match combination:

    {=INDEX(ADP!$C:$C,MATCH($B1&"EMPLOYEE_IDENTIFIER",ADP!$A:$A&ADP!$I:$I,0))}

    The sheet "ADP" can contain up to 100k lines of which less than 10k contain "Employee_Identifier".

    Is there any way to process this much data without crashing my system?

  2. #2
    Valued Forum Contributor loginjmor's Avatar
    Join Date
    01-31-2013
    Location
    Cedar Rapids, Iowa
    MS-Off Ver
    Excel 2013
    Posts
    1,073

    Re: Index Match Processing Stall

    Hi -

    Here are a few ideas:

    Try not to use column references in your formulas such as $C:$C. These force Excel to evaluate every single cell in the column, even if most of them are empty. Specify a defined range (e.g., $C$1:$C$10000)

    Also, limit the number of array formulas. Those are HUGE memory hogs. If you can figure out other ways to get the same functionality without using an array formula (such as adding helper columns) then replace those.

    Try not to do everything in one spreadsheet. If possible, break your data set up into separate files (such as by year or some other logical division). Then you can reduce the amount of data you have to go through.

    If your formulas have volatile functions in them (e.g., TODAY(), NOW(), OFFSET(), INDIRECT(), etc.), they all have to recalculate whether the cells they reference have changed or not. Try to limit those to just a very few instances in your spreadsheet. If they are in a formula you copy 1,000 times, performance may suffer.

    There are a few others you can google. It just depends on the structure of your data and how you are using it. Obviously if your computer crashes all the time, it's not very useful so you might as well accept the idea you have to change some of these things. Hope these help.
    ____________________________________________
    If this has solved your problem, please edit the thread title to add the word [SOLVED] at the beginning. You can do this by
    -Go to the top of the first post
    -Select Thread Tools
    -Select Mark thread as Solved

    If I have been particularly helpful, please "bump" my reputation by pressing the small star in the lower left corner of my post.

  3. #3
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,938

    Re: Index Match Processing Stall

    Instead of this ARRAY formula...
    =INDEX(ADP!$C:$C,MATCH($B1&"EMPLOYEE_IDENTIFIER",ADP!$A:$A&ADP!$I:$I,0))
    Try this regular formula...
    =INDEX(ADP!$C:$C,MATCH($B1&"EMPLOYEE_IDENTIFIER",index(ADP!$A:$A&ADP!$I:$I,0),0))

    Try not to do everything in one spreadsheet. If possible, break your data set up into separate files
    I would not necessarily agree with that. You may end up needing more processing power to access another file, plus you eliminate teh ability to use functions like sumifS(), countifS() etc
    Once the data is there, it's there, and will take the same amount of effort to calc with.

    1 option to consider would be using Pivot Tables.

    If your formulas have volatile functions in them (e.g., TODAY(), NOW(), OFFSET(), INDIRECT(), etc.), they all have to recalculate whether the cells they reference have changed or not. Try to limit those to just a very few instances in your spreadsheet. If they are in a formula you copy 1,000 times, performance may suffer.
    Totally agree. 1 way around that is to just have TODAY() in it's own cell and reference it
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  4. #4
    Forum Expert rorya's Avatar
    Join Date
    08-13-2008
    Location
    East Sussex, UK
    MS-Off Ver
    365 Ent Monthly Channel / Insiders Beta
    Posts
    8,913

    Re: Index Match Processing Stall

    I'd agree with the helper column comment. Adding a new column (say column Z) to the ADP sheet that uses the formula:
    =A2&I2
    copied down, and then use a regular formula:
    =INDEX(ADP!$C:$C,MATCH($B1&"EMPLOYEE_IDENTIFIER",ADP!$Z:$Z,0))

    If you must use array formulas, do not use them on entire columns - limit the ranges to only the actual data.

  5. #5
    Valued Forum Contributor loginjmor's Avatar
    Join Date
    01-31-2013
    Location
    Cedar Rapids, Iowa
    MS-Off Ver
    Excel 2013
    Posts
    1,073

    Re: Index Match Processing Stall

    FDibbins has a good point on referencing other files. However, if you have 10 years of data in your file and you're only analyzing the last 3 or 5 years on a regular basis, consider pulling some out. Or if it's a list of accounts and say 10% are inactive, move those to a separate file. Excel tries to keep track of inter-relationships between cells so it only recalculates the ones and change. But once you get over a certain number of cells (I think the number is around 65,000 but don't quote me on that) Excel can't keep track of all the relationships so it just recalculates everything each time any change is made. So, size does matter. If you can reduce file size, do it. You can always use SUMPRODUCT if you have to to access data in the closed files occasionally. But be warned, SUMPRODUCT is a memory hog even more so than SUMIFS or COUNTIFS. So if you are going to access the data in other files regularly, splitting data out to separate files won't work.

+ 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. The functions for Herfindahl index for mass data processing
    By G HAN in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-21-2015, 04:47 AM
  2. INDEX(MATCH)) / LOOKUPS Processing Calculator Speed
    By AstToTheRegionalMGR in forum Excel General
    Replies: 1
    Last Post: 02-17-2015, 10:57 AM
  3. Replies: 6
    Last Post: 04-30-2014, 02:42 AM
  4. Replies: 6
    Last Post: 11-08-2013, 10:29 PM
  5. Replies: 3
    Last Post: 05-02-2013, 01:31 AM
  6. dialog box (identify label) causing macro to stall
    By ozy pete in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-24-2010, 01:10 PM
  7. Print preview causes my app to stall
    By js999 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 11-13-2007, 04:44 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