Help please on another excel question...

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Justin7
    SBR Hall of Famer
    • 07-31-06
    • 8577

    #1
    Help please on another excel question...
    I have two columns - A and B. I want to get the sum of the products of these rows
    i.e. A1*b1 + a2*b2 + a3*c3 ... a9*b9

    I'll be repeating this formula in different places, so I don't want to manually do that. Is there an easy command to do that? I can't seem to get sum working properly with it.
  • Pancho sanza
    SBR Sharp
    • 10-18-07
    • 386

    #2
    why does it jump from a*b to a*c (3rd formula)?
    Comment
    • LT Profits
      SBR Aristocracy
      • 10-27-06
      • 90963

      #3
      Why not just put the products of A and B in C? Then the simple formula would be sum(c1.c9)
      Comment
      • LT Profits
        SBR Aristocracy
        • 10-27-06
        • 90963

        #4
        Originally posted by Pancho sanza
        why does it jump from a*b to a*c (3rd formula)?
        I think it was just a typo and he meant a3*b3
        Comment
        • Justin7
          SBR Hall of Famer
          • 07-31-06
          • 8577

          #5
          Yes, meant to be a3*b3.

          I'd prefer to do it without an extra column - I am using this calculation a lot.
          Comment
          • Pancho sanza
            SBR Sharp
            • 10-18-07
            • 386

            #6
            CELL C1

            =SUM(A1*B1)

            CELL C2

            =SUM(A2*B2)+C1

            CELL C3

            =SUM(A3*B3)+C2


            Once you fil in cell C2, just copy down
            Comment
            • LT Profits
              SBR Aristocracy
              • 10-27-06
              • 90963

              #7
              He said he didn't want third column.
              Comment
              • Justin7
                SBR Hall of Famer
                • 07-31-06
                • 8577

                #8
                Originally posted by Pancho sanza
                CELL C1

                =SUM(A1*B1)

                CELL C2

                =SUM(A2*B2)+C1

                CELL C3

                =SUM(A3*B3)+C2


                Once you fil in cell C2, just copy down
                That works, but it adds another column.

                Anyway to do this in one cell?
                Comment
                • Pancho sanza
                  SBR Sharp
                  • 10-18-07
                  • 386

                  #9
                  Originally posted by LT Profits
                  He said he didn't want third column.
                  Where will he show the output?
                  Comment
                  • Data
                    SBR MVP
                    • 11-27-07
                    • 2236

                    #10
                    =SUMPRODUCT(A1:An*B1:Bn)
                    Comment
                    • Justin7
                      SBR Hall of Famer
                      • 07-31-06
                      • 8577

                      #11
                      Originally posted by Data
                      =SUMPRODUCT(A1:An*B1:Bn)
                      Data, you're an excel machine! Thanks, this is exactly what I was looking for.
                      Comment
                      • LT Profits
                        SBR Aristocracy
                        • 10-27-06
                        • 90963

                        #12
                        Originally posted by Data
                        =SUMPRODUCT(A1:An*B1:Bn)
                        Thanks!

                        I didn't even know a SUMPRODUCT function existed.
                        Comment
                        • Pancho sanza
                          SBR Sharp
                          • 10-18-07
                          • 386

                          #13
                          Oh, thats what you meant.

                          That was my next answer.

                          So Data is the excel guru around here, good to know.
                          Comment
                          • Data
                            SBR MVP
                            • 11-27-07
                            • 2236

                            #14
                            Justin7, LT Profits, no problem.

                            Pancho sanza, I am not a guru, just got some experience with it while working on my data, so, I try to help when I can.
                            Comment
                            SBR Contests
                            Collapse
                            Top-Rated US Sportsbooks
                            Collapse
                            Working...