+ Reply to Thread
Results 1 to 13 of 13

"Excel Ran Out of Resources" ... =INDEX MATCH Alternatives?

Hybrid View

  1. #1
    Registered User
    Join Date
    09-26-2017
    Location
    London, England
    MS-Off Ver
    Mac 2016
    Posts
    26

    "Excel Ran Out of Resources" ... =INDEX MATCH Alternatives?

    Hi folks,

    I am trying to use the following formula:

    =INDEX('extract'!A1:AE539,MATCH(1,(extract'!B:B=B3)*('extract'!C:C=E3)*('extract'!1:1=P2),0),1)

    However once I hit Command + Shift + Enter I receive the following error message:

    "Excel ran out of resources while attempting to calculate one or more formulas. As a result, these formulas cannot be evaluated."

    I don't understand why ... there's only 539 rows of data, the size of the entire spreadsheet is 400kb!

    Is there an alternative to =INDEX MATCH that I can use?

    Update: I have just tried this with an even smaller table of data and still receive the same error message. It CANNOT be an issue of overworking Excel ... so what is the issue? I'm absolutely stumped guys!
    Last edited by exceln3wb; 09-27-2017 at 03:33 PM.

  2. #2
    Forum Expert BadlySpelledBuoy's Avatar
    Join Date
    06-14-2013
    Location
    East Sussex, UK
    MS-Off Ver
    365
    Posts
    7,951

    Re: "Excel Ran Out of Resources" ... =INDEX MATCH Alternatives?

    Your data may only be 539 rows but with B:B and C:C and 1:1 in your array formula you're referring to entire columns/rows of data.
    Restrict those to only the size of the data rather than entire columns etc. and hopefully you should eradicate the issue.

    BSB

  3. #3
    Registered User
    Join Date
    09-26-2017
    Location
    London, England
    MS-Off Ver
    Mac 2016
    Posts
    26

    Re: "Excel Ran Out of Resources" ... =INDEX MATCH Alternatives?

    Many thanks - that seems to have done it!

    The formula now seems to be producing a Value Not Available error?

    I have actually copied cells B3, E3, and P2 into the data file, yet it is still not producing the value I'm looking for?!

  4. #4
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,662

    Re: "Excel Ran Out of Resources" ... =INDEX MATCH Alternatives?

    Whole column references means that Excel is calculating much more than 1,000,000 rows. There are formulae (SUMIF, COUNTIF, some INDEX formulae) where it's OK. Otherwise, don't use em.
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU

  5. #5
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,662

    Re: "Excel Ran Out of Resources" ... =INDEX MATCH Alternatives?

    Now a sheet would be useful.

    Will you please attach a SMALL sample Excel workbook (10-20 rows of data is usually enough)? Please don't attach a picture of one (no-one will want to re-type all your stuff before starting).

    1. Make sure that your sample data are truly REPRESENTATIVE of your real data. The use of unrepresentative data is very frustrating and can lead to long delays in reaching a solution.

    2. Make sure that your desired solution is also shown (mock up the results manually).

    3. Make sure that all confidential information is removed first!!

    4. Try to avoid using merged cells. They cause lots of problems!

    Unfortunately the attachment icon doesn't work at the moment. So, to attach an Excel file you have to do the following: Just before posting, scroll down to Go Advanced and then scroll down to Manage Attachments. Now follow the instructions at the top of that screen.

  6. #6
    Registered User
    Join Date
    09-26-2017
    Location
    London, England
    MS-Off Ver
    Mac 2016
    Posts
    26

    Re: "Excel Ran Out of Resources" ... =INDEX MATCH Alternatives?

    Here is the Excel file.

    I have checked and checked this formula, I don't understand why it's producing #N/A?!
    Attached Files Attached Files

  7. #7
    Forum Expert BadlySpelledBuoy's Avatar
    Join Date
    06-14-2013
    Location
    East Sussex, UK
    MS-Off Ver
    365
    Posts
    7,951

    Re: "Excel Ran Out of Resources" ... =INDEX MATCH Alternatives?

    Happy to help

    BSB

  8. #8
    Forum Expert BadlySpelledBuoy's Avatar
    Join Date
    06-14-2013
    Location
    East Sussex, UK
    MS-Off Ver
    365
    Posts
    7,951

    Re: "Excel Ran Out of Resources" ... =INDEX MATCH Alternatives?

    In D7 and copied down
    Formula: copy to clipboard
    =INDEX(D$2:D$4,MATCH(1,(A$2:A$4=A7)*(B$2:B$4=B7)*($C$2:$C$4=C7),0))


    Remembering of course it's an array formula and so needs to be confirmed with Ctrl+Shft+Enter

    BSB

  9. #9
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,662

    Re: "Excel Ran Out of Resources" ... =INDEX MATCH Alternatives?

    That should be it sorted...

  10. #10
    Registered User
    Join Date
    09-26-2017
    Location
    London, England
    MS-Off Ver
    Mac 2016
    Posts
    26

    Re: "Excel Ran Out of Resources" ... =INDEX MATCH Alternatives?

    Thanks again BSB, you have really done me a massive favour here, God bless you all for your efforts!

    Marking as solved now ...

  11. #11
    Registered User
    Join Date
    01-22-2004
    Location
    Visalia, CA / USA
    MS-Off Ver
    Office 365
    Posts
    78

    Re: "Excel Ran Out of Resources" ... =INDEX MATCH Alternatives?

    The criteria in the above are all columns. Can I add a ROW as a fourth criteria (I want to match to a specific date)? I'm not sure how to distinguish rows and columns. Thanks

  12. #12
    Registered User
    Join Date
    01-22-2004
    Location
    Visalia, CA / USA
    MS-Off Ver
    Office 365
    Posts
    78

    Re: "Excel Ran Out of Resources" ... =INDEX MATCH Alternatives?

    The criteria in the above are all columns. Can I add a ROW as a fourth criteria (I want to match to a specific date)? I'm not sure how to distinguish rows and columns. Thanks

  13. #13
    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
    53,049

    Re: "Excel Ran Out of Resources" ... =INDEX MATCH Alternatives?

    Quote Originally Posted by wmjenner View Post
    The criteria in the above are all columns. Can I add a ROW as a fourth criteria (I want to match to a specific date)? I'm not sure how to distinguish rows and columns. Thanks
    Administrative Note:

    Welcome to the forum.

    We are happy to help, however whilst you feel your request is similar to this thread, experience has shown that things soon get confusing when answers refer to particular cells/ranges/sheets which are unique to your post and not relevant to the original.

    Please see Forum Rule #4 about hijacking and start a new thread for your query.

    If you are not familiar with how to start a new thread see the FAQ: How to start a new thread
    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

+ 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: 2
    Last Post: 07-24-2017, 02:19 AM
  2. [SOLVED] Index/Match Excel 2010 formula. Some numbers have "###", others not, ###
    By thecdnmole in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 06-26-2015, 10:23 PM
  3. Replies: 4
    Last Post: 11-17-2013, 12:05 PM
  4. Replies: 7
    Last Post: 04-11-2013, 12:46 AM
  5. [SOLVED] Alternatives to "INDEX(MATCH(" Function when Duplicates Exist
    By MidwestBen in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 02-02-2013, 09:14 PM
  6. Strings Variables in Range("A1").Formula = "=index/match" ?
    By nadnerb5 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-19-2012, 05:07 PM
  7. [SOLVED] Variable "sheet-name" and "range-name" wanted in INDEX/MATCH-function
    By Fiebuls in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 09-01-2012, 04:09 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