+ Reply to Thread
Results 1 to 7 of 7

How MMULT Function works?? How it can be used??

  1. #1
    Forum Contributor
    Join Date
    07-12-2015
    Location
    Dubai,UAE
    MS-Off Ver
    Office 365
    Posts
    447

    How MMULT Function works?? How it can be used??

    Hi all,

    For the last few days, I've been struggling to understand the MMULT function but with poor results.

    Apart from matrix multiplication, Ive seen this function used for some special Lookups,Counting and Summing.Are there any other practical applications to this function?

    And this function is seen used along with TRANSPOSE function which is another one Im not familiar with..

    Could anyone mind explaining the function when its used for lookup purpose?

  2. #2
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: How MMULT Function works?? How it can be used??

    here is: MMULT()

    Simply example:

    1. select 10 x 10 cells
    2. in formula bar type: =MMULT(ROW(1:10),TRANSPOSE(ROW(1:10)))
    3. confirm it by CSE (Control+Shift+Enter)

    and you will get simply multiplication table
    Last edited by sandy666; 05-18-2017 at 12:41 AM.

  3. #3
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,310

    Re: How MMULT Function works?? How it can be used??

    Hi chullan,

    I've used the MMult function in golf scoring. We play a foursome event where we need to use 1 gross score from four players and two net scores from the four players, but the gross ball can't be one of the net balls.

    Here is my example

    Player1 - Gross = 5 - Net = 4
    Player2 - Gross = 6 - Net = 5
    Player3 - Gross = 4 - Net = 3
    Player3 - Gross = 4 - Net = 4

    There are 12 different ways to take one gross score and 2 net scores they are:
    The gross Matrix looks like this:
    1 0 0 0
    1 0 0 0
    1 0 0 0
    0 1 0 0
    0 1 0 0
    0 1 0 0
    0 0 1 0
    0 0 1 0
    0 0 1 0
    0 0 0 1
    0 0 0 1
    0 0 0 1

    Net Matrix looks like
    0 1 1 0
    0 1 0 1
    0 0 1 1
    1 0 1 0
    1 0 0 1
    0 0 1 1
    1 1 0 0
    1 0 0 1
    0 1 0 1
    1 1 0 0
    1 0 1 0
    0 1 1 0

    So the 12 possible combinations are MMult(GrossMatrix, Gross Scores) + MMult(NetMatrix, Net Scores)

    I've searched long and wide for a simpler answer to this problem ( without needing to list all possible 12 combinations) and using MMult seems to be the easiest.

    I hope that helps.
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

  4. #4
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: How MMULT Function works?? How it can be used??

    Hi,

    I give an example - with explanations - of a common practical usage of the MMULT/TRANSPOSE set-up in this post, if that's of interest.

    In fact, a large proportion of the posts/challenges at my site involve constructions which employ MMULT, so perhaps worth your time having a look: choose MMULT under the Tags section.

    Regards
    Click * below if this answer helped

    Advanced Excel Techniques: http://excelxor.com/

  5. #5
    Forum Contributor
    Join Date
    07-12-2015
    Location
    Dubai,UAE
    MS-Off Ver
    Office 365
    Posts
    447

    Re: How MMULT Function works?? How it can be used??

    Hi sandy666,MarvinP,XOR LX

    Thanks a lot for the replies...

    XOR LX - Your website is really awesome..Thanks for the redirect.

  6. #6
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: How MMULT Function works?? How it can be used??

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.

  7. #7
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: How MMULT Function works?? How it can be used??

    Quote Originally Posted by chullan88 View Post
    XOR LX - Your website is really awesome..Thanks for the redirect.
    Very kind of you to say so!

    Cheers!

+ 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. Using mmult function
    By nim73n in forum Excel Programming / VBA / Macros
    Replies: 21
    Last Post: 12-08-2014, 08:13 AM
  2. Replies: 4
    Last Post: 09-24-2013, 06:57 AM
  3. Mmult
    By michel777 in forum Excel - New Users/Basics
    Replies: 6
    Last Post: 03-15-2007, 10:59 AM
  4. [SOLVED] MMULT
    By Dave F in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-10-2006, 09:37 AM
  5. [SOLVED] MMULT in VBA
    By Jim Jackson in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 07-31-2006, 04:08 PM
  6. MMULt Worksheet Function
    By TC8 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-26-2006, 09:00 AM
  7. MMULT( )
    By Bill Martin in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-12-2006, 03:35 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