October 26, 2007 by keith
Posted in

Dot-product, or rather vector dot-product, does not have a familiar phrase to use in Microsoft Excel. For instance, if you want to perform the following operation,
=(A1*B1)+(A2*B2)+(A3*B3)+...+(AK*BK)
which exactly resembles that of a vector dot-product; that is, A*B where A = [A1 A2 ... AK] and B = [B1 B2 ... AK]T.
Here is the quick way to do that in Microsoft Excel.
For the similar expression above, simply use the built-in function, SUMPRODUCT(). For example,
=SUMPRODUCT(A1:AK,B1:BK)
And the resulting vector dot-product is easily calculated with Microsoft Excel.
Trackback URL for this post:
http://www.neohide.com/trackback/213






Why can't they put this in the help file?
Submitted by Guest (not verified) on Tue, 2008-09-02 16:53.
- reply
Why, oh why, can't Microsoft include something in the Help file that would let me find this? A cross reference to dot-product, or vector, or array? Arrgh!
Post new comment