[Solved] Sum the multiple of 2 columns w/o creating a 3rd

Discuss the spreadsheet application
Post Reply
stevenm
Posts: 4
Joined: Wed Feb 14, 2018 2:55 pm

[Solved] Sum the multiple of 2 columns w/o creating a 3rd

Post by stevenm »

Im trying to do something like =SUM(E2*C2:E18*C18)

I need to multiple several column entries by a count column on the same row and get a total for these but would like to do so without creating an extra totals column ( as there are 11 columns to total all multiplied by the count column.

Just wantyed to save creating columns and hiding them as sure theres a calc for it ?
Last edited by Hagar Delest on Thu Nov 15, 2018 10:35 pm, edited 1 time in total.
Reason: tagged solved
Open Office 4.x on Windows 7 Pro / Imac / Windows
User avatar
robleyd
Moderator
Posts: 5082
Joined: Mon Aug 19, 2013 3:47 am
Location: Murbko, Australia

Re: Sum the multiple of 2 columns without creating a 3rd col

Post by robleyd »

Maybe SUMPRODUCT() might do what you want? If not, perhaps provide a sample spreadsheet illustrating what data you have and the result you need.

[Forum] How to attach a document here Note maximum file size is 128K. If your file is larger, use a file sharing site such as Mediafire and post the link here.
Cheers
David
OS - Slackware 15 64 bit
Apache OpenOffice 4.1.15
LibreOffice 24.2.2.2; SlackBuild for 24.2.2 by Eric Hameleers
stevenm
Posts: 4
Joined: Wed Feb 14, 2018 2:55 pm

Re: Sum the multiple of 2 columns without creating a 3rd col

Post by stevenm »

CWL2.pdf
(108.4 KiB) Downloaded 81 times
Thanks David

This is the columns im trying to work with i think sumproduct may have the answere

Attached is a screen dump in pdf , im wanting to multiply the column val;ues by the unique count of heach house type to get the total number of each type window and door in the job, so mytotal = B2*D2 + B3 * D3 + B4 * D4 + etc ...
CWL2.pdf
(108.4 KiB) Downloaded 81 times
Open Office 4.x on Windows 7 Pro / Imac / Windows
stevenm
Posts: 4
Joined: Wed Feb 14, 2018 2:55 pm

Re: Sum the multiple of 2 columns without creating a 3rd col

Post by stevenm »

RESOLVED

=SUMPRODUCT($C2:$C21;E2:E21)
Open Office 4.x on Windows 7 Pro / Imac / Windows
Post Reply