Sum the product of two cells in a table.

MrTedius

New Member
Joined
Apr 5, 2018
Messages
1
Hello All,

I have a table of a list of sales to customers and I am trying to create a formulae that will give me the total value of items sold to a customer.

Table
CustomerRecord TypeItemQtyPrice
Cust1SIItem121
Cust1SCItem111
Cust2SIItem232
Cust2SIItem151
Cust3SIItem222
Cust1SIItem222

<tbody>
</tbody>

For example I want to find the total value of things sold where Customer=Cust1 and RecordType=SI.
The price is per unit so I need the product of (Qty x Price). For this example I am expecting to get the result 6 (2*1 + 2*2).

I know how to sum over one column, for example get the number of items sold to Cust1 using sumifs, but I can find a way of get summing the product of two cells.

Any help would be great.
Thanks
 

Excel Facts

How to change case of text in Excel?
Use =UPPER() for upper case, =LOWER() for lower case, and =PROPER() for proper case. PROPER won't capitalize second c in Mccartney

Excel 2010
ABCDE
1Criteria
2Cust1SI6
3
4CustomerRecord TypeItemQtyPrice
5Cust1SIItem121
6Cust1SCItem111
7Cust2SIItem232
8Cust2SIItem151
9Cust3SIItem222
10Cust1SIItem222
3a
Cell Formulas
RangeFormula
C2=SUMPRODUCT(--(A5:A10=A2),--(B5:B10=B2),D5:D10,E5:E10)
 
Upvote 0

Forum statistics

Threads
1,214,643
Messages
6,120,702
Members
448,980
Latest member
CarlosWin

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top