다음을 통해 공유


WorksheetFunction.MMult Method (Excel)

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.

Syntax

.MMult(Arg1, Arg2)

A variable that represents a WorksheetFunction object.

Parameters

Name

Required/Optional

Data Type

Description

Arg1 - Arg2

필수

Variant

Array1, array2 - the arrays you want to multiply.

Return Value

Variant

Remarks

  • The number of columns in array1 must be the same as the number of rows in array2, and both arrays must contain only numbers.

  • Array1 and array2 can be given as cell ranges, array constants, or references.

  • 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.

    • The size of the resulting array is equal to or greater than a total of 5,461 cells.

  • The matrix product array a of two arrays b and c is: Ff835849.awfmmult_ZA06051209(ko-kr,office.14).gifwhere i is the row number, and j is the column number.

  • Formulas that return arrays must be entered as array formulas.

참고 항목

개념

WorksheetFunction Object

WorksheetFunction Object Members