+ Reply to Thread
Results 1 to 6 of 6

Shorter formula with same output

  1. #1
    Registered User
    Join Date
    03-27-2012
    Location
    Indonesia
    MS-Off Ver
    Excel 2007
    Posts
    7

    Shorter formula with same output

    Hi guys, nice to meet you

    i am really common in excel environment but i hope through this forum i could gain more knowledge about Excel, ok here my first question :
    is there any shorter formula that have a same ouput with following formulas :

    c1=(a1*b1)+(a2*b2)+(a3*b3)+(a4*b4)+.....+(a10*b10)

    i really appreciate for your help and assistance guys
    Last edited by Wabito Express; 03-29-2012 at 05:16 AM. Reason: wrong title

  2. #2
    Forum Guru
    Join Date
    05-24-2011
    Location
    India
    MS-Off Ver
    Office 2021
    Posts
    2,237

    Re: Asking Formula

    Hi, use SUMPRODUCT

    =SUMPRODUCT(A1:A10,B1:B10)
    Regards,
    Haseeb Avarakkan

    __________________________________
    "Feedback is the breakfast of champions"

  3. #3
    Valued Forum Contributor
    Join Date
    03-16-2012
    Location
    Aarhus, Denmark
    MS-Off Ver
    Excel 2007
    Posts
    992

    Re: Asking Formula

    Try using this:

    =SUMPRODUCT(A1:A10;B1:B10)

    It is likely that the semicolons should be ordinary commas. (I have a European version of Excel)
    Sincerely
    S?ren Larsen

    "Give a man a fish, and you'll feed him for a day. Give a man a fishing rod, and he'll steal your yacht!"

  4. #4
    Registered User
    Join Date
    03-27-2012
    Location
    Indonesia
    MS-Off Ver
    Excel 2007
    Posts
    7

    Re: Shorter formula with same output

    thanks for the reply

    that formula really help me out with the problem, thanks guys ^^,

    btw if i put that formula into B1 (B1 --> =sumproduct(a2;a10,b2;b10)) then i copy it to next coloumn C2, why the formula was changed (C2 --> =sumproduct(b2;b10,c2;c10))? is there any way to kept the "a2;a10" or "array1;array2" as the multipaction value ??

    im sorry for my bad english guys

  5. #5
    Forum Guru
    Join Date
    05-24-2011
    Location
    India
    MS-Off Ver
    Office 2021
    Posts
    2,237

    Re: Shorter formula with same output

    Use,

    =SUMPRODUCT($A1:$A10,B1:B10)

    Changes because of it was on relative reference. See this link

  6. #6
    Registered User
    Join Date
    03-27-2012
    Location
    Indonesia
    MS-Off Ver
    Excel 2007
    Posts
    7

    Re: Shorter formula with same output

    thanks Haseeb A for the help

    now everything running as i expected ^^

+ 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