Hi how do i multiply rows & colums & have the results in the row
i.e.
6 1 2 3 4 5
7
8
9
10
I want to multiply 1&6, 7&2 etc and want the results in the cell below 1 2 3 4 5
Hi how do i multiply rows & colums & have the results in the row
i.e.
6 1 2 3 4 5
7
8
9
10
I want to multiply 1&6, 7&2 etc and want the results in the cell below 1 2 3 4 5
With 1-5 in cells B1:F1, and 6-10 in cell A2:A6, put this in B2
=B$1*$A2, then drag down and across your range
oldchippy
-------------
![]()
![]()
Blessed are those who can give without remembering and take without forgetting
If you are happy with the help you have received, please click the <--- STAR icon on the left - Thanks.
Click here >>> Top Excel links for beginners to Experts
Forum Rules >>>Please don't forget to read these
Hi,Originally Posted by oldchippy
Thanks for the prompt reply but it locks one cell, i want to multiply the second cell in the row with the second cell in the column, similarly 3rd with 3rd etc. without manually doing it one by one
Just to confirm what you want, the numbers 612345 are in one cell A1?Originally Posted by skochar
The others in A2 down.
Then multiply 6*1, 7*2, 8*3, 9*4, 10*5.
Do you want the result of these in one cell?
1 2 3 4 5
6 6 14 24 36 50
7
8
9
10
I want the result 6-14-24-36-50 (which is below 1-2-3-4-5) but automated because I need to work with huge tables
Try this in B2
=B$1*A2 drag over to the right, then select cells B2:F2, and drag formula down. Is that what you are after?
I seem to be posting a lot of offset solutions today!
B2 =OFFSET($A$1,COLUMN()-1,0)*A1
copy across.
Mark.
Slightly more esoteric using the excel array facilities.
select B2:F2
type in =A1:E1*TRANSPOSE(A2:A6)
press ctrl shift enter
A nice trick, but perhaps a bit more awkward to adapt to the general case of your "large array".
Mark.
Thanks Mark, it worked!!
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks