# MMULT

Spread for WinForms provides advanced software components that support Excel import/export, full cell customization, an extensive calculation engine with over 450 functions and more, all with zero dependencies on Excel.

## Content



This function returns the matrix product for two arrays.

## Syntax

MMULT(*array1,array2*)

## Arguments

The arrays are numeric arrays where the columns in array1 match the rows in array2.
Arrays can be a cell range. If any of the array cells are empty or contain text then an error is returned.

## Remarks

Use the [INDEX](/spreadnet/docs/latest/online-formula/formulas-functionsall/formulas-functsFtoK/FunctionINDEX) function to get individual elements from the returned array.

## Data Types

Accepts an array for all arguments. Returns an array.

## Examples

`MMULT(A2:B3,D5:E6)`

## Version Available

This function is available in product version 2.0 or later.

#### See Also

[MDETERM](/spreadnet/docs/latest/online-formula/formulas-functionsall/formulas-functsMtoQ/FunctionMDETERM) \| [MINVERSE](/spreadnet/docs/latest/online-formula/formulas-functionsall/formulas-functsMtoQ/FunctionMINVERSE) \| [Math and Trigonometry Functions](/spreadnet/docs/latest/online-formula/formulas-overview/formulas-functs/formulas-functtypes/formulas-functsmathtrig)