Sumproduct another condition

blossomthe2nd

Active Member
Joined
Oct 11, 2010
Messages
450
Hi there

I am using the below formula to Sum number of accounts in column C when the date in column A is in May.

HTML:
=SUMPRODUCT((MONTH(A2:A6)=5)*(C2:C6))

I wish to add another condition so If its may and Column B = "YES" then sum Column C,

Can anyone please help ?

Also is there a restriction to the amount of Conditions that excel can use in these type of formulas ?

Thanks
Anne
 
Sorry I realised part my error,

The cells were not formatted correctly as the Merged Cells are from Row 4 , Have changed my formula accordingly, and it is bringing back the total SUM of the results ( hence, Sumproduct I assume!!)

Is there a version of this that COUNTS ?

Thanks
 
Upvote 0

Excel Facts

Can Excel fill bagel flavors?
You can teach Excel a new custom list. Type the list in cells, File, Options, Advanced, Edit Custom Lists, Import, OK
This would count

=SUMPRODUCT(--(MONTH('[1.MASTER LOG]Drawdown'!$B2:$B1000)=2),--('[1.MASTER LOG]Drawdown'!$O2:$O1000="NO"))
 
Upvote 0

Forum statistics

Threads
1,224,586
Messages
6,179,723
Members
452,939
Latest member
WCrawford

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