+ Reply to Thread
Results 1 to 19 of 19

Does Excel have its own limits, regardless of hardware?

  1. #1
    Registered User
    Join Date
    12-18-2011
    Location
    london, england
    MS-Off Ver
    Excel 2003, 2007
    Posts
    75

    Does Excel have its own limits, regardless of hardware?

    I have a Intel i7 4770k cpu, (sometimes overclocked) and RAM of up to 32GB.

    I find it hard to believe that Excel gives errors such as "Low system memory..." when users apply many array formulas, or use entire ranges (ie. A:A).

    Even if the syntax works, it takes some time to load/execute. Why is that?

  2. #2
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: Does Excel have its own limits, regardless of hardware?

    My system running with Intel P4 / 2.67 GHZ with 1 GB RAM which is very old comparing to your system configuration.

    From my point of view it depends on many factors, like

    The complication of your Array Formula
    Applied on how many cells in a single instance?
    Whether it posses any volatile functions?

    If the Array Formula is referred to do the calculation on entire column ranges then surely it needs some time to process everything in the single cell.

    So we need lot more details before giving some other alternate methods


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

  3. #3
    Forum Expert
    Join Date
    08-12-2012
    Location
    Sydney, Australia
    MS-Off Ver
    Excel 2010
    Posts
    5,636

    Re: Does Excel have its own limits, regardless of hardware?

    short answer...yes

    long answer...keep reading
    http://office.microsoft.com/en-us/ex...010342495.aspx
    http://msdn.microsoft.com/en-us/libr.../ff700514.aspx

    ive found when i see memory error messages its usually corrupted file or too many volatile functions
    If you are satisfied with the solution(s) provided, please mark your thread as Solved.
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

  4. #4
    Registered User
    Join Date
    12-18-2011
    Location
    london, england
    MS-Off Ver
    Excel 2003, 2007
    Posts
    75

    Re: Does Excel have its own limits, regardless of hardware?

    Thanks for the quick reply.

    I can't imagine how complex my formulas are.

    I have an spreadsheet containing all my inventory, a ledger and an products sorting sheet, which uses an array forumla in order to get the row number from the ledger.
    Here's a sample:
    ={IF(ROWS(C$994:C995)<=$C$992,SMALL(IF(Cash!$C$9:$C$1000000=$C$991,Cash),ROWS(S$994:S995)),"")}

    By retreiving that row number, I retreive all the relevant data using index (ledger!Z:Z, row number from that array)....(ledger!AG:AG, row number from that array) x probably over 500 cells.

    I also allow iterative calculation too, probably over 100 cells. That is likely to increase.
    Last edited by jonnyyyl; 07-30-2014 at 01:43 AM.

  5. #5
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: Does Excel have its own limits, regardless of hardware?

    If possible, post your most complicated array formula of that workbook to know what is happening at your end

  6. #6
    Registered User
    Join Date
    12-18-2011
    Location
    london, england
    MS-Off Ver
    Excel 2003, 2007
    Posts
    75

    Re: Does Excel have its own limits, regardless of hardware?

    FYI. I have upgraded to Office 2010 because I read from various forums that 2010 version tries to merge the hardware and software performance better than previous versions.

  7. #7
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: Does Excel have its own limits, regardless of hardware?

    Yes, 2007 / 2010 version of calculation is much speeder than 2003

  8. #8
    Registered User
    Join Date
    12-18-2011
    Location
    london, england
    MS-Off Ver
    Excel 2003, 2007
    Posts
    75

    Re: Does Excel have its own limits, regardless of hardware?

    Quote Originally Posted by :) Sixthsense :) View Post
    If possible, post your most complicated array formula of that workbook to know what is happening at your end
    It's not very complex by all means. It is just that I repeat the same type of calcuation over and over. Intuitively, it is quite simple: retreive row number from massively long ledger, based on the product type, and then use that row number to get key data by using index().

    I retreive row number from the ledger using this:
    Row 1 = {=IF(ROWS(C$8:C8)<=$C$6,SMALL(IF(Cash!$C$9:$C$1000000=$C$5,Cash),ROWS(S$8:S8)),"")}

    There is more than one entry, so that array drags down to get all the row numbers of entries related to say, product A (ie. cell S8 = row 1 of the ledger, cell S9 = row 28 of ledger , cell S10 = row 58 of ledger etc etc etc...)

    With the row data in place, I use this to retrieve all the relevant data
    Relevant column 1 =IF($S8="","", INDEX(Cash!$B:$B,$S8))
    Relevant column 2 =IF($S8="","", INDEX(Cash!$C:$C,$S8))
    Relevant column 3 =IF($S8="","", INDEX(Cash!$D:$D,$S8))
    Relevant column 4 =IF($S8="","", INDEX(Cash!$D:$D,$S8))

    I drag that entire bit down to say 50 down in order to account for future entries:
    so at Row 50 it is still this:
    Relevant column 1 =IF($S50="","", INDEX(Cash!$B:$B,$S50))
    Relevant column 2 =IF($S50="","", INDEX(Cash!$C:$C,$S50))
    Relevant column 3 =IF($S50="","", INDEX(Cash!$D:$D,$S50))
    Relevant column 4 =IF($S50="","", INDEX(Cash!$D:$D,$S50)).

    I got over 60 products, this process repeats 60+ times, all the way up to row 1000+.
    Last edited by jonnyyyl; 07-30-2014 at 02:01 AM.

  9. #9
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: Does Excel have its own limits, regardless of hardware?

    Quote Originally Posted by jonnyyyl View Post
    ={IF(ROWS(C$994:C995)<=$C$992,SMALL(IF(Cash!$C$9:$C$1000000=$C$991,Cash),ROWS(S$994:S995)),"")}
    This part is giving more work to excel...

    Cash!$C$9:$C$1000000=$C$991

    Limit this range 1000000 to your last used data row for speeder performance.

  10. #10
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: Does Excel have its own limits, regardless of hardware?

    Or

    Assign a helper column to do the IF Calculation of the data on each cells like this...

    IF(Cash!$C9=$C$991,Cash!$D9,"")

    Drag it down...

    Now your current array formula is converted into normal formula which does not require any array processing...

    =IF(ROWS(C$8:C8)<=$C$6,SMALL(IF_Formula_Column/Range_Reference_Here,ROWS(S$8:S8)),"")

  11. #11
    Registered User
    Join Date
    12-18-2011
    Location
    london, england
    MS-Off Ver
    Excel 2003, 2007
    Posts
    75

    Re: Does Excel have its own limits, regardless of hardware?

    Quote Originally Posted by :) Sixthsense :) View Post
    This part is giving more work to excel...

    Cash!$C$9:$C$1000000=$C$991

    Limit this range 1000000 to your last used data row for speeder performance.
    I think I can do that quickly. Off the top of my head, I think I find the cell based by on last entry. So it can be something like:
    Cash!$C$9:$C$1000=$C$991, where C1000 can be quickly found.


    Quote Originally Posted by :) Sixthsense :) View Post
    Assign a helper column to do the IF Calculation of the data on each cells like this...

    IF(Cash!$C9=$C$991,Cash!$D9,"")

    Drag it down...

    Now your current array formula is converted into normal formula which does not require any array processing...

    =IF(ROWS(C$8:C8)<=$C$6,SMALL(IF_Formula_Column/Range_Reference_Here,ROWS(S$8:S8)),"")
    I don't entirely follow this part.
    Would it be alright if I can post a sample and you could be so kind to show me a way?
    Last edited by jonnyyyl; 07-30-2014 at 02:38 AM.

  12. #12
    Registered User
    Join Date
    12-18-2011
    Location
    london, england
    MS-Off Ver
    Excel 2003, 2007
    Posts
    75

    Re: Does Excel have its own limits, regardless of hardware?

    Pls see attached.

    You can read the red colored comments and yellow cells, I am not sure what I have done wrong....

    Much appreciated

    Ah my bad. did something stupid in the first version. v2 should be the correct one.
    Attached Files Attached Files
    Last edited by jonnyyyl; 07-30-2014 at 04:04 AM.

  13. #13
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: Does Excel have its own limits, regardless of hardware?

    Sorry for the delay, since I have been assigned for some tasks in my work place.

    Go through the attached file in which I done major changes in your formula which can do the calculation much speeder than your current method.
    Attached Files Attached Files

  14. #14
    Forum Expert
    Join Date
    08-12-2012
    Location
    Sydney, Australia
    MS-Off Ver
    Excel 2010
    Posts
    5,636

    Re: Does Excel have its own limits, regardless of hardware?

    C6 you put an extra +1 in columns to give you C instead of B
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    also for your E6
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    is probably simpler....also...works if you have dates the wrong way round..which might not be the right thing though for a ledger =\
    put in text because it changes to date automatically

    method i used is slightly different to sixth using named range
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    not sure if it is slower or faster than sixth's method though...
    might be a bit slower than sixth method i think due to extra volatile named
    but there is no helper column
    Attached Files Attached Files
    Last edited by humdingaling; 07-30-2014 at 04:42 AM.

  15. #15
    Registered User
    Join Date
    12-18-2011
    Location
    london, england
    MS-Off Ver
    Excel 2003, 2007
    Posts
    75

    Re: Does Excel have its own limits, regardless of hardware?

    Thanks!

    Tiny question:

    How do I modify it so that it shows every product table. This only works if I am trying to look at one product because everything is tied to Sort!C3.


    Usually what happens is that I create these tables and put them altogether in the All worksheet
    Attached Files Attached Files

  16. #16
    Registered User
    Join Date
    12-18-2011
    Location
    london, england
    MS-Off Ver
    Excel 2003, 2007
    Posts
    75

    Re: Does Excel have its own limits, regardless of hardware?

    Quote Originally Posted by humdingaling View Post
    C6 you put an extra +1 in columns to give you C instead of B
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    also for your E6
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    is probably simpler....also...works if you have dates the wrong way round..which might not be the right thing though for a ledger =\
    put in text because it changes to date automatically

    method i used is slightly different to sixth using named range
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    not sure if it is slower or faster than sixth's method though...
    might be a bit slower than sixth method i think due to extra volatile named
    but there is no helper column

    Much appreciated for the help that.

    I created the C6 in the cash worksheet hoping that all future references will rely on what C6 returns, so that it is automatic and dynamic in that sense. I aim to make indirect(Cash!c6) the end of the range for all the yellow filled cells in v2, or at least use it as a reference to which last row to use in a range.

    ie
    This month, the last cell is C15, so all the countifs, match, index ranges will use cash!C9:indirect(Cash!c6) [which is C15, or a method that recognizes the correct row number].
    Next month, the last cell used is C20, such changes will be accounted for.

    The Sort worksheet is actually a form that I have made so that everytime there is a new product, I create a macro that makes a copy of this sheet, enter the product name and then cut+paste it in the separate sheet (all in the v3 attachment).

    I like sixth's method, because it avoids arrays. However, it is all locked in one cell. This is my fault, for not fully explaining what is happening.

    I hope to use the C6 month, which sixth suggested, because it reduces calculation range as well as avoid using arrays.
    Last edited by jonnyyyl; 07-30-2014 at 05:05 AM.

  17. #17
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: Does Excel have its own limits, regardless of hardware?

    Quote Originally Posted by humdingaling View Post
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    might be a bit slower than sixth method i think due to extra volatile named
    You can convert it as Non Volatile by passing it in Index formula like this...

    =Cash!C9:INDEX(Cash!C:C,COUNTA(Cash!$C$9:$C$99999)+8)

  18. #18
    Registered User
    Join Date
    12-18-2011
    Location
    london, england
    MS-Off Ver
    Excel 2003, 2007
    Posts
    75

    Re: Does Excel have its own limits, regardless of hardware?

    Why/how does making the MaxCash name help improve efficiency and reduce load?

    Do you happen to any thoughts on making the range dynamic and avoid arrays?

  19. #19
    Forum Expert
    Join Date
    08-12-2012
    Location
    Sydney, Australia
    MS-Off Ver
    Excel 2010
    Posts
    5,636

    Re: Does Excel have its own limits, regardless of hardware?

    named range doesnt necessary make your sheet more efficient...its what makes the name range that does
    less volatile formulas = more efficient spreadsheet

    Took up sixth's suggestion to on maxcash
    updated your overview sheet with new formula
    you just need to reset row formula every section
    Attached Files Attached Files
    Last edited by humdingaling; 07-31-2014 at 11:36 PM.

+ 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. How to get the most out of EXCEL? (Hardware-Wise)
    By zealot in forum Excel General
    Replies: 12
    Last Post: 07-08-2012, 10:34 AM
  2. Hardware Depreciation
    By IanNicholls in forum Excel General
    Replies: 2
    Last Post: 03-05-2012, 09:32 AM
  3. New Hardware Build with a Focus on Excel
    By CaptVee in forum Excel General
    Replies: 8
    Last Post: 02-15-2011, 02:02 PM
  4. Hardware for optimum Excel performance
    By claytorm in forum Excel General
    Replies: 1
    Last Post: 08-22-2005, 11:05 AM
  5. Hardware Question USB & NT4.0
    By Christmas May in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-02-2005, 04:06 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