Sumproduct

aarti_rto

New Member
Joined
Nov 29, 2019
Messages
49
Office Version
  1. 2016
Platform
  1. Windows
  2. Web
Hello,

i have below data..
Customer NamePart NoSale PriceOct-23 (qty)Nov-23 (qty)Dec-23 (qty)
ABCA1.63312001560015600
ABCB49.38312001560015600
ABCC3.22312001560015600
XYZA1.639600120000
XYZB49.389600120000
XYZC3.229600120000
SDFA1.63468001560031200
SDFB49.38468001560031200
SDFC3.22468001560031200
AWEA1.631920008400
AWEB49.381920008400
AWEC3.221920008400
QWD2000
QWE371.3180032000
i need customer wise monthly value ( Sale price * respective month qty)

below samples of 2 customers expected answer..

Customer NameValue of Oct-23Value of Nov-23Value of Dec-23
ABC
1691976​
845988​
845988​
XYZ
520608​
650760​
0​
 

Excel Facts

How to show all formulas in Excel?
Press Ctrl+` to show all formulas. Press it again to toggle back to numbers. The grave accent is often under the tilde on US keyboards.
Like this ?

Excel Formula:
=SUMPRODUCT(($A$2:$A$15=$H4)*($D$1:$F$1=I$3)*(($C$2:$C$15)*($D$2:$F$15)))

1709537719359.png
 
Upvote 0
It would be easier if you use the same headings in the summary table as you have in the raw data table:
Book1
ABCDEF
1Customer NamePart NoSale PriceOct-23 (qty)Nov-23 (qty)Dec-23 (qty)
2ABCA1.63312001560015600
3ABCB49.38312001560015600
4ABCC3.22312001560015600
5XYZA1.639600120000
6XYZB49.389600120000
7XYZC3.229600120000
8SDFA1.63468001560031200
9SDFB49.38468001560031200
10SDFC3.22468001560031200
11AWEA1.631920008400
12AWEB49.381920008400
13AWEC3.221920008400
14QWD2000
15QWE371.3180032000
16
17Customer NameOct-23 (qty)Nov-23 (qty)Dec-23 (qty)
18ABC1691976845988845988
19XYZ5206086507600
Sheet1
Cell Formulas
RangeFormula
B18:D19B18=SUMPRODUCT(($A$2:$A$15=$A18)*($D$1:$F$1=B$17),$D$2:$F$15*$C$2:$C$15)
 
Upvote 0
Solution

Forum statistics

Threads
1,223,723
Messages
6,174,113
Members
452,545
Latest member
boybenqn

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