+ Reply to Thread
Results 1 to 4 of 4

Book using too much memory

  1. #1
    Registered User
    Join Date
    08-21-2013
    Location
    Chicago
    MS-Off Ver
    Excel 2013
    Posts
    50

    Book using too much memory

    Hi guys, I'm having an issue with the size of my workbook and I was hoping I could get some input on it.

    I have a large amount of data on NBA teams and players that is extracted from external web pages. In order to have the data shown on separate sheets to do comparisons I have to use many array formulas and from what I have read that takes up a large amount of memory. I'm now at the point where I'm receiving a message that says "Excel cannot complete this task with available resources" when I open the workbook.

    Is there any plausible way that I can resolve this situation? I have thought about converting the lookup formulas from arrays (index/match) to vlookups and hlookups, but I have no idea if that would help at all.

    I'm not as advanced with using Excel as most of you, and I realize I may be at a point to where I will need to use different software to analyze my data, but I would prefer to stick with Excel as it would be difficult to start from scratch and learn how to use a different program.

    Any thoughts/opinions on my situation would be greatly appreciated.

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,450

    Re: Book using too much memory

    Are you referring to whole columns in your array formulae?
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Registered User
    Join Date
    08-21-2013
    Location
    Chicago
    MS-Off Ver
    Excel 2013
    Posts
    50

    Re: Book using too much memory

    Quote Originally Posted by TMShucks View Post
    Are you referring to whole columns in your array formulae?
    Yes! I just did some more research and had an idea that might be what the problem was. I'm now in the process of changing each reference (IE Y:Y to Y3:Y84).

    Should that speed things up?

  4. #4
    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: Book using too much memory

    I have thought about converting the lookup formulas from arrays (index/match)
    the INDEX/MATCH combo is not an array formula by default, and probably would work better h/vlookups. It becomes an array if multiple references are used where a single range would be expected.

    =INDEX(A1:E10,match(5,A1:A10,0),match("Feb",A1:E1,1))...is a regular formula
    =INDEX(A1:E10,match(5&B1,A1:A10&B1:B10,0),match("Feb",A1:E1,1))...is an array formula

    As mentioned above, check for full column/row references and reduce those as much as possible. If you are using array's, maybe consider using helper columns instead
    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: 3
    Last Post: 12-27-2012, 12:26 PM
  2. [SOLVED] Copy a range from one book, and transpose it to the next available line in another book
    By gherzberg in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 08-30-2012, 03:29 PM
  3. Replies: 1
    Last Post: 12-08-2011, 08:52 AM
  4. Need VBA to find out memory and virtual memory used by thread
    By Yozhik in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-07-2011, 08:31 AM
  5. Out of Memory:Is there any way in which I can restore the memory that got used up dur
    By c.vaibhav in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-27-2009, 07:15 AM

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