Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 19
Default Column multiplied by a matrix

Hello

Can anyone tell me how to multiply all the numbers in a column by all the
numbers in a matrix?

eg Column of numbers in A, multiplied by matrix of numbers in C1:E3
A B C D E
1 3 6 7 8
2 4 7 8 9
3 5 6 8 9

So I would like a formula which SUMS

3*6 + 3*7 + 3*8 + 4*7+4*8+4*9 + 5*6 + 5*8 + 5*9

thanks
S

Can this be done without creating a second matrix with column A spread out?



  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 563
Default Column multiplied by a matrix

=SUMPRODUCT(A1:A3*B1:D3)
give 274 with your data - as required

NOTE that =SUMPRODUCT(A1:A3,B1:D3) will give #VALUE! error
best wishes
--
Bernard Liengme
Microsoft Excel MVP
http://people.stfx.ca/bliengme

"StephenT" wrote in message
...
Hello

Can anyone tell me how to multiply all the numbers in a column by all the
numbers in a matrix?

eg Column of numbers in A, multiplied by matrix of numbers in C1:E3
A B C D E
1 3 6 7 8
2 4 7 8 9
3 5 6 8 9

So I would like a formula which SUMS

3*6 + 3*7 + 3*8 + 4*7+4*8+4*9 + 5*6 + 5*8 + 5*9

thanks
S

Can this be done without creating a second matrix with column A spread
out?



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 561
Default Column multiplied by a matrix

Check out: =SUMPRODUCT((A1:A3)*(B1:D3))
Micky


"StephenT" wrote:

Hello

Can anyone tell me how to multiply all the numbers in a column by all the
numbers in a matrix?

eg Column of numbers in A, multiplied by matrix of numbers in C1:E3
A B C D E
1 3 6 7 8
2 4 7 8 9
3 5 6 8 9

So I would like a formula which SUMS

3*6 + 3*7 + 3*8 + 4*7+4*8+4*9 + 5*6 + 5*8 + 5*9

thanks
S

Can this be done without creating a second matrix with column A spread out?



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Making a Matrix into a column....... Alex Rauket Excel Discussion (Misc queries) 4 May 22nd 08 12:01 PM
1 column multiplied by 1 row throughout sheet Rob Maeurer Excel Discussion (Misc queries) 2 March 5th 08 07:12 PM
Plot data from column to matrix Torsbyn Excel Discussion (Misc queries) 0 November 29th 06 07:43 AM
Column multiplied by single cell Greg Snidow Excel Worksheet Functions 4 November 17th 06 08:03 PM
Matrix to single column RD Wirr Excel Worksheet Functions 13 January 4th 06 09:06 PM


All times are GMT +1. The time now is 01:27 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright 2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"