+ Reply to Thread
Results 1 to 4 of 4

Simplifying a long formula with the Sum of the Product (in each row).

  1. #1
    Registered User
    Join Date
    01-09-2012
    Location
    Manaus, amazonas, Brazil
    MS-Off Ver
    Excel 2010
    Posts
    4

    Simplifying a long formula with the Sum of the Product (in each row).

    What I am trying to do is actually very simple, even because I've already found a way to do it, although it is too long and takes to much work to do. maybe you guys can figure out a simpler way to do it.

    1. The result cells are supposed to be the sum of the product of two cells.
    2. The long formula I made to get what I wanted was:

    Please Login or Register  to view this content.
    *As you can see, I made it from bottom to top, sorry.

    3. I have to do the same thing for other columns (the sum of the products of the values in each row of Col D and G and also Col C and G, and I don't want to click in every single cell and type * and , over and over again.

    Please check:
    Pedido de Material.xlsx

  2. #2
    Registered User
    Join Date
    01-10-2012
    Location
    colorado, usa
    MS-Off Ver
    Excel 2010
    Posts
    41

    Re: Simplifying a long formula with the Sum of the Product (in each row).

    write an array formula ex. =sum(E2:E44*G2:G44) but instead of just hitting enter you need to hit control shift enter!!!

  3. #3
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Simplifying a long formula with the Sum of the Product (in each row).

    there is actually a sumproduct function
    =sumproduct(e6:44,g6:g44)+(e5*h5) or if the last bit is a typo
    sumproduct(e5:e44,g5:g44)
    Last edited by martindwilson; 01-10-2012 at 06:46 PM.
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  4. #4
    Registered User
    Join Date
    01-09-2012
    Location
    Manaus, amazonas, Brazil
    MS-Off Ver
    Excel 2010
    Posts
    4

    Re: Simplifying a long formula with the Sum of the Product (in each row).

    Thanks. Problem solved.

+ 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