MMULT function - Microsoft Support (2024)

Excel for Microsoft 365 Excel for Microsoft 365 for Mac Excel for the web Excel 2021 Excel 2021 for Mac Excel 2019 Excel 2019 for Mac Excel 2016 Excel 2013 More...Less

The MMULT function returns the matrix product of two arrays. The result is an array with the same number of rows as array1 and the same number of columns as array2.

Note:If you have a current version of Microsoft 365, then you can simply enter the formula in the top-left-cell of the output range, then press ENTER to confirm the formula as a dynamic array formula. Otherwise, the formula must be entered as a legacy array formula by first selecting the output range, entering the formula in the top-left-cell of the output range, and then pressing CTRL+SHIFT+ENTER to confirm it. Excel inserts curly brackets at the beginning and end of the formula for you. For more information on array formulas, see Guidelines and examples of array formulas.

Syntax

MMULT(array1, array2)

The MMULT function syntax has the following arguments:

  • array1, array2Required. The arrays you want to multiply.

Remarks

Examples

Example 1

MMULT function - Microsoft Support (2)

Example 2

MMULT function - Microsoft Support (3)

You must enter the above formulas as array formulas for it to work correctly. After you enter the formula, press Enter if you have a current Microsoft 365 subscription; otherwise press Ctrl+Shift+Enter. If the formula is not entered as an array formula, a single result is returned.

Need more help?

You can always ask an expert in the Excel Tech Communityor get support inCommunities.

Need more help?

Want more options?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.

MMULT function - Microsoft Support (2024)

FAQs

MMULT function - Microsoft Support? ›

The MMULT function returns the matrix product of two arrays. The result is an array with the same number of rows as array1 and the same number of columns as array2.

What does Mmult function do in Excel? ›

MMULT, a Math & Trigonometry function in Excel, stands for “Matrix Multiplication.” It returns the product of two arrays of two matrices where the number of rows of Matrix 1 equals the number of columns of Matrix 2.

How to do multiplication on Microsoft Excel? ›

Multiply numbers in a cell

To do this task, use the * (asterisk) arithmetic operator. For example, if you type =5*10 in a cell, the cell displays the result, 50.

Why is Mmult not working? ›

MMULT returns the #VALUE! error when: Any cells are empty or contain text. The number of columns in array1 is different from the number of rows in array2.

What is the difference between Mmult and SUMPRODUCT? ›

According to the Microsoft documentation, MMULT returns the matrix product of two arrays while SUMPRODUCT multiplies corresponding components in the given arrays, and returns the sum of those products.

Which is the most used function in Excel? ›

VLOOKUP. The VLOOKUP function is one of the most commonly used and recognizable functions in Excel. It will look for a value in a table and return information from another column relating to that value.

What is the formula for multiplying multiple cells in Excel? ›

In this example, cells A1 through A5 contain different numbers. To multiply this range of cells, click on a blank cell (A6 in this example) and enter the formula =PRODUCT(A1:A5). Press "Return" or "Enter." The result of this calculation appears in cell A6.

How to multiply all cells by 1000 in Excel? ›

Select the range of cells whose values you want to multiply with 1000. Right-click in the selection. Select Paste Special... from the context menu. Select Multiply.

Why is Minverse not working? ›

If any cells in array are empty or contain text, MINVERSE returns a #VALUE! error. MINVERSE also returns a #VALUE! error if array does not have an equal number of rows and columns.

What does Minverse function do in Excel? ›

The reverse order in Excel is flipping the data where the bottom value comes on top, and the top value goes to the bottom. For example, look at the below image. As we can see, the bottom value is at the top in the reverse order, and the same goes for the top value.

What is the use of SLN function in Excel? ›

Returns a Double specifying the straight-line depreciation of an asset for a single period. Required. Double specifying initial cost of the asset.

What does transpose mean in Excel? ›

The TRANSPOSE function returns a vertical range of cells as a horizontal range, or vice versa. The TRANSPOSE function must be entered as an array formula in a range that has the same number of rows and columns, respectively, as the source range has columns and rows.

What does Mina function do in Excel? ›

The MINA function is categorized under Excel Statistical functions. The function will return the minimum value in a given list of arguments. From a given set of numeric values, it will return the smallest value. The MINA function compares numbers, text, and logical values as TRUE or FALSE.

Top Articles
Latest Posts
Article information

Author: Nathanael Baumbach

Last Updated:

Views: 6219

Rating: 4.4 / 5 (75 voted)

Reviews: 82% of readers found this page helpful

Author information

Name: Nathanael Baumbach

Birthday: 1998-12-02

Address: Apt. 829 751 Glover View, West Orlando, IN 22436

Phone: +901025288581

Job: Internal IT Coordinator

Hobby: Gunsmithing, Motor sports, Flying, Skiing, Hooping, Lego building, Ice skating

Introduction: My name is Nathanael Baumbach, I am a fantastic, nice, victorious, brave, healthy, cute, glorious person who loves writing and wants to share my knowledge and understanding with you.