[Solved] Sum of products function range syntax

Discuss the spreadsheet application
Post Reply
Zdzislaav
Posts: 2
Joined: Wed Feb 21, 2018 4:01 pm

[Solved] Sum of products function range syntax

Post by Zdzislaav »

Hi,

Please simplify this function:

=SUM(A1*B1; A2*B2; A3*B3; A4*B4)

What I'm trying to do is:

=SUM(A1*B1 ;A2*B2; A3*B3; ...An*Bn)

I guess my problem is can't figure out the syntax to apply range to it.
Last edited by RoryOF on Wed Feb 21, 2018 5:48 pm, edited 2 times in total.
Reason: Added green tick [RoryOF, Moderator]
OpenOffice 4.15 on Windows 7
FJCC
Moderator
Posts: 9274
Joined: Sat Nov 08, 2008 8:08 pm
Location: Colorado, USA

Re: Sum of products function range syntax

Post by FJCC »

Use the SUMPRODUCT() function like this

Code: Select all

=SUMPRODUCT(A1:A10;B1:B10)
OpenOffice 4.1 on Windows 10 and Linux Mint
If your question is answered, please go to your first post, select the Edit button, and add [Solved] to the beginning of the title.
Zdzislaav
Posts: 2
Joined: Wed Feb 21, 2018 4:01 pm

Re: Sum of products function range syntax

Post by Zdzislaav »

It works. Thank You!
OpenOffice 4.15 on Windows 7
Post Reply