Skip to main content
Workday User Guide
Last Updated: 2023-06-23
MMULT

MMULT

Description

Returns the matrix product of two specified arrays. The number of columns in
array1
must be the same as the number of rows in
array2
.

Syntax

MMULT(
array1
,
array2
)
  • array1
    : The first array of numeric values.
  • array2
    : The second array of numeric values.

Example

The examples are based on this workbook:
A
B
C
1
2
4
6
2
3
6
9
3
5
10
15
The result of
=MMULT(A1:A3,A3:C3)
is shown in this workbook:
10
20
30
15
30
45
25
50
75
The result of
=MMULT(A1:B3,A1:C2)
is shown in this workbook:
16
32
48
24
48
72
40
80
120