+ Reply to Thread
Results 1 to 4 of 4

Limited number of matrix operations?

  1. #1
    Registered User
    Join Date
    08-31-2010
    Location
    Toronto, Canada
    MS-Off Ver
    Excel 2003
    Posts
    2

    Limited number of matrix operations?

    Is there a limit to the number of matrix operations that can be done in one formula?

    I have this formula working (a column - 3x1):

    =MMULT(MMULT(TRANSPOSE($B$1:$D$1),MINVERSE(MMULT($B$1:$D$1,MMULT(MINVERSE(MMULT(TRANSPOSE(B5:D754),B5:D754)),TRANSPOSE($B$1:$D$1))))),MMULT($B$1:$D$1,TRANSPOSE(F754:H754))-1)

    Then I have this formula working (a 3x3 matrix):

    =MINVERSE(MMULT(TRANSPOSE(B5:D754),B5:D754))

    So my result should be a 3x1 column if I MMULT(second one, first one) them together... no such luck I get error... ie if I do:

    MMULT(MINVERSE(MMULT(TRANSPOSE(B5:D754),B5:D754)),MMULT(MMULT(TRANSPOSE($B$1:$D$1),MINVERSE(MMULT($B$1:$D$1,MMULT(MINVERSE(MMULT(TRANSPOSE(B5:D754),B5:D754)),TRANSPOSE($B$1:$D$1))))),MMULT($B$1:$D$1,TRANSPOSE(F754:H754))-1))

    FURTHER, I get error if I even attempt to TRANSPOSE(the first one). And I am doing the array operations correctly. It works ok if do each separately, then multiply together, but not all at once, so:

    I'm wondering if the first formula is at some limit for number of operations performed in a single cell?
    Last edited by ldj; 09-01-2010 at 09:48 AM.

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Limited number of matrix operations?

    Pretty hard to help without seeing the workbook.

    Have you tried watching the formula evaluate using the Auditing toolbar?

    EDIT: Never mind, you've hit the nesting limit for Excel 2003.

    Please Login or Register  to view this content.
    Last edited by shg; 08-31-2010 at 07:23 PM.
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Registered User
    Join Date
    08-31-2010
    Location
    Toronto, Canada
    MS-Off Ver
    Excel 2003
    Posts
    2

    Re: Limited number of matrix operations?

    So there is a nesting limit. Thanks.

  4. #4
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Limited number of matrix operations?

    Yes, it increased in Excel 2007 to 64.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

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