problem with sumproduct formula

y481184

Board Regular
Joined
Aug 1, 2003
Messages
137
Can someone please tell me why this formula is not working?

=SUMPRODUCT((Query!$D$11:$D$1502 = "10")*(Query!$K$11:$K$1502 = "13")*(Query!$J$11:$J$1502))/2000

I am not receiving an error, I am simply not getting any value at all, even though there are cells in D11:D1502 that do equal 10 and cells in k11:k1502 that equal 13. Why is there a problem?
 

Excel Facts

Create a Pivot Table on a Map
If your data has zip codes, postal codes, or city names, select the data and use Insert, 3D Map. (Found to right of chart icons).

y481184

Board Regular
Joined
Aug 1, 2003
Messages
137
Thank you so much. Can you answer one more question for me? How could I incorporate dates into this sumproduct formula. For instance I would like to add only sum records in which:

D11:D1502 = 10
K11:K1502 = 13
and C11:C1502 is between 5/5/2003 and 7/10/2003

Is there anyway that this can be done? I tried to insert a DATE function within my SUMPRODUCT function, but this did not work. Any suggestions?
 

fairwinds

MrExcel MVP
Joined
May 15, 2003
Messages
8,638
Code:
=SUMPRODUCT((Query!$D$11:$D$1502=10)*(Query!$K$11:$K$1502=13)*(Query!$C$11:$C$1502>=DATE(2003,5,5))*(Query!$C$11:$C$1502<=DATE(2003,10,7))*(Query!$J$11:$J$1502))/2000
 
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,168,025
Messages
5,856,894
Members
431,837
Latest member
megantang

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
Top