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?
 

Some videos you may like

Excel Facts

Easy bullets in Excel
If you have a numeric keypad, press Alt+7 on numeric keypad to type a bullet in Excel.

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
 

Watch MrExcel Video

Forum statistics

Threads
1,122,469
Messages
5,596,328
Members
414,054
Latest member
Sameer50

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