SUMPRODUCT with Multiple Conditions

Danny99

Board Regular
Joined
Jun 22, 2007
Messages
66
I am trying to sum in column M, based on the month in column I and values greater than 0 in column L. I cannot get the following sumproduct formula to work. I am using the month condition succesfully in a single condition, but it will not work when combined as shown below.


=SUMPRODUCT(--(MONTH($I4:$I3282)=1),--($L2:$L3271>0),$M4:$M3282)


Thanks,

Danny
 

Excel Facts

Copy PDF to Excel
Select data in PDF. Paste to Microsoft Word. Copy from Word and paste to Excel.
second argument has to be the same size as arguments 1 & 3.

Try:

=SUMPRODUCT(--(MONTH($I4:$I3282)=1),--($L4:$L3282>0),$M4:$M3282)
 
Upvote 0
You guys nailed it and thanks!!!! When I saw it in the forum and way from the spreadsheet it stood out.

Thanks !!
 
Upvote 0

Forum statistics

Threads
1,214,812
Messages
6,121,696
Members
449,048
Latest member
81jamesacct

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