+ Reply to Thread
Results 1 to 9 of 9

Multiplying rows and cloumns

  1. #1
    Registered User
    Join Date
    11-17-2006
    Posts
    5

    Multiplying rows and cloumns

    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

  2. #2
    Forum Expert oldchippy's Avatar
    Join Date
    02-14-2005
    Location
    Worcester, UK
    MS-Off Ver
    Excel 2007 (Home)
    Posts
    7,097
    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

  3. #3
    Registered User
    Join Date
    11-17-2006
    Posts
    5
    Quote Originally Posted by oldchippy
    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
    Hi,

    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

  4. #4
    Forum Expert oldchippy's Avatar
    Join Date
    02-14-2005
    Location
    Worcester, UK
    MS-Off Ver
    Excel 2007 (Home)
    Posts
    7,097
    Quote Originally Posted by skochar
    Hi,

    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?
    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?

  5. #5
    Registered User
    Join Date
    11-17-2006
    Posts
    5
    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

  6. #6
    Forum Expert oldchippy's Avatar
    Join Date
    02-14-2005
    Location
    Worcester, UK
    MS-Off Ver
    Excel 2007 (Home)
    Posts
    7,097
    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?

  7. #7
    Forum Contributor
    Join Date
    10-27-2006
    Location
    United Kingdom
    MS-Off Ver
    EXCEL 2003 (2007 at home)
    Posts
    517

    more offsets

    I seem to be posting a lot of offset solutions today!

    B2 =OFFSET($A$1,COLUMN()-1,0)*A1

    copy across.

    Mark.

  8. #8
    Forum Contributor
    Join Date
    10-27-2006
    Location
    United Kingdom
    MS-Off Ver
    EXCEL 2003 (2007 at home)
    Posts
    517

    alternatively

    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.

  9. #9
    Registered User
    Join Date
    11-17-2006
    Posts
    5
    Thanks Mark, it worked!!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1