sumproduct based on criteria in other columns

asdfgfg

New Member
Joined
Oct 15, 2018
Messages
1
I have a sheet with the following:

A: State
B: Leads (every row has an create date)
C: Product (A, B, or C)
D: Purchased (0=No, 1=Yes)

On another sheet I'm trying to create a chart with

[TABLE="width: 500"]
<tbody>[TR]
[TD]Product[/TD]
[TD]Region[/TD]
[TD]Leads[/TD]
[TD]Customers[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]New England[/TD]
[TD]X[/TD]
[TD]Y[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]West[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]East[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]West[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]


I'm trying to find the formula for X that counts the number of leads per product in New England.

So far, I've been able to find just the number of leads in New England

=SUMPRODUCT(('Sheet'!RANGE={"Connecticut","Maine","Massachusetts","New Hampshire","Rhode Island","Vermont"}))

but I cannot filter down to leads per product 1 to solve for X.

I also want to further filter down to those leads interested in New England who became customers (the "Y" formula)

Any help would be much appreciated. I've been searching and working on this for hours now.
 

Excel Facts

Repeat Last Command
Pressing F4 adds dollar signs when editing a formula. When not editing, F4 repeats last command.
Hello,

Why don't you make your life much easier ... by inserting a Pivot Table ... :wink:
 
Upvote 0

Forum statistics

Threads
1,223,903
Messages
6,175,284
Members
452,630
Latest member
OdubiYouth

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