Excel MMULT Function

This post will guide you how to use Excel MMULT function with syntax and examples in Microsoft excel.

Description

The Excel MMULT function returns the matrix product of two arrays.

If you want to return multiple result in an array on the worksheet, then you need to input an array formula in the MMULT function.

To input array formulas, you need to highlight the range of cells that this function is to be entered into, and then type the function into the first cell of the range, and press shortcuts Ctrl + Shift + Enter.

And the returned array result will contain the same number of rows as array1 and the same number of columns as array2.

The MMULT function is a build-in function in Microsoft Excel and it is categorized as a Math and Trigonometry Function.

The MMULT function is available in Excel 2016, Excel 2013, Excel 2010, Excel 2007, Excel 2003, Excel XP, Excel 2000, Excel 2011 for Mac.

Syntax

The syntax of the MMULT function is as below:

=MMULT (array1,array2)

Where the MMULT function arguments are:

  • array1 – This is a required argument. The first array that you wish to multiply.
  • array2 – This is a required argument. The second array that you wish to multiply.

Note:

  • The array can be a cell range or an array constant, such as: {2,3;5,6} and both arrays must contain only numeric values.
  • If any cells in array are empty or contain text string, then the MMULT function will return the #VALUE! Error.
  • If the Array does not have the same number of rows and columns, then the MMULT function will return the #VALUE! Error.
  • Formulas that return arrays must be entered as array formulas.

Excel MMULT Function Examples

The below examples will show you how to use Excel MMULT Function to calculate the matrix product of two arrays.

1# to calculate the matrix product of two arrays A1:B2 and A3:B4, enter the following formula in Cell D1.

=MMULT(A1:B2,A3:B4)

excel mmult examples1


Related Functions

  • Excel MDETERM function
    The Excel MDETERM function returns the matrix determinant of an array. So you can use the MDETERM function to calculate the determinant of a square matrix in Excel.The syntax of the MDETERM function is as below:=MDETERM(array)…
  • Excel MINVERSE Function
    The Excel MINVERSE function returns the inverse matrix for a given matrix.The syntax of the MINVERSE function is as below:=MINVERSE(array)…
Related Posts

How to Count Row That Contain Specific Value in Excel
count row that contain specific value3

This post will guide you how to count rows that contain a specific text or number in Excel 2013/2016 or Excel office 365. How do I count the number of rows that contain a particular value while working with your ...

Excel DSUM Function
excel dsum examples1

This post will guide you how to use Excel DSUM function with syntax and examples in Microsoft excel. Description The Excel DSUM Function will add the numbers in a column or database that meets a given criteria. And so you ...

Excel DSTDEVP Function
excel dstdevp examples1

This post will guide you how to use Excel DSTDEVP function with syntax and examples in Microsoft excel. Description The Excel DSTDEVP returns the standard deviation of a population based on the entire population of numbers in a column or ...

Excel DSTDEV Function
excel dstdev examples1

This post will guide you how to use Excel DSTDEV function with syntax and examples in Microsoft excel. Description The Excel DSTDEV returns the standard deviation of a population based on a sample of numbers in a column or database ...

Excel DMIN Function
excel dmin function example1

This post will guide you how to use Excel DMIN function with syntax and examples in Microsoft excel. Description The Excel DMIN returns the minimum value from a database or a column of a list that matches the specified conditions. ...

Excel DPRODUCT Function
excel dproduct examples1

This post will guide you how to use Excel DPRODUCT function with syntax and examples in Microsoft excel. Description The Excel DPRODUCT returns the product of values from a set of records that match criteria that you specify. The DPRODUCT ...

Excel XIRR Function
excel xirr examples1

This post will guide you how to use Excel XIRR function with syntax and examples in Microsoft excel. Description The Excel XIRR function returns the internal rate of return for a series of cash flows that is not necessarily periodic. ...

Excel VDB Function
excel vdb examples1

This post will guide you how to use Excel VDB function with syntax and examples in Microsoft excel. Description The Excel VDB function calculates the depreciation of an asset for a specified period based on the double declining balance method. ...

Excel SYD Function
excel syd examples1

This post will guide you how to use Excel SYD function with syntax and examples in Microsoft excel. Description The Excel SYD function calculates the sum-of-years’digits depreciation of an asset for a specified period. And it will return a numeric ...

Excel SLN Function
excel sln examples1

This post will guide you how to use Excel SLN function with syntax and examples in Microsoft excel. Description The Excel SLN function calculates the depreciation of an asset for one period based on the straight line depreciation. And it ...

Sidebar