I am using Excel to do some dot product between two row vectors:
=MMULT(B1049:M1049, TRANSPOSE(B1050:M1050))
But it does not work, as the cell for the formula shows “#VALUE!”. I wonder why? Thanks!
Note that all the cells in “B1049:M1049” and “B1050:M1050” are numbers.
PS: Is this question more suitable here or Superuser?
you need to enter
MMULTas an array formula, not as a standard formularather then hit enter when you type the formula in pres
ctrl-shift-enter
and excel will enter it as an array
it will end up looking like
{=MMULT(B1049:M1049, TRANSPOSE(B1050:M1050))}(please note you can’t enter the {} manually)
You may want to look at Excel help which covers this well