Need to count a row after two criterions are met

mmayna03

New Member
Joined
Jan 27, 2005
Messages
24
I have to sum up all the values of one column based upon criteria from two columns, Sorry if this question has been asked a brazilian times.

here is my formula:

=COUNTIFS(Sponsorships!B:B,"1", Sponsorships!I:I,"Homes",Sponsorships!D:D)

I need B:B to equal 1 and I:I to equal Homes, for D:D to add up based upon the two conditions.

Thanks,

Michael
 

Excel Facts

Bring active cell back into view
Start at A1 and select to A9999 while writing a formula, you can't see A1 anymore. Press Ctrl+Backspace to bring active cell into view.
If you are trying to add the amounts from column D, you will need a SUMIFS formula. Something like this...

=SUMIFS(Sponsorships!D:D,Sponsorships!B:B,1, Sponsorships!I:I,"Homes")

I changed the "1" to 1. You may need to change it back if the "1" is text.
 
Upvote 0
I'm rereading your post...

Are there values in Column D? Or do you just want one formula in column D that adds up all the "1"s in column B?
 
Upvote 0
pagrender,

Thank you, your first post answered my question. I am adding up the values in column D.

Based upon your anwer in the first reply, the expected value was returned.

Thank you for your expertise.

Michael
 
Upvote 0

Forum statistics

Threads
1,224,592
Messages
6,179,789
Members
452,942
Latest member
VijayNewtoExcel

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