Using COUNTIFS to find matching criteria across four columns over two sheets

HamillianActor

New Member
Joined
Dec 2, 2016
Messages
1
Hi guys,

I'm trying to build a spreadsheet for my subscription business and trying to figure out why this COUNTIFS situation is not working for me. I want to break my revenue streams out in the following way:

Product Alpha - US Shipping - Regular Price
Product Alpha - CA Shipping - Groupon Price

Product Beta - US Shipping - Regular Price
Product Beta - CA Shipping - Groupon Price

I have a generated table that tells me (among other things) if a subscription is 1) active or cancelled, 2) US or Canada, and 3) what coupon code was used, if any.

With the first two, COUNTIFS returns the correct result just fine. But Groupon uses unique coupon codes, so I can't just filter for the word "Groupon" like I can for "US". I have another table with the Groupon codes for both Alpha and Beta, not all of which have been redeemed.

So I'm trying to find all the subscriptions for Product Alpha with US shipping that use one of the unique Groupon codes I have in a separate sheet. Then repeat the process for CA shipping. Then repeat the process for Product Beta for both US and CA shipping.

How do I get my COUNTIF to work or what else should I be doing instead?

Thank you!
 

Excel Facts

Can a formula spear through sheets?
Use =SUM(January:December!E7) to sum E7 on all of the sheets from January through December

Forum statistics

Threads
1,214,920
Messages
6,122,276
Members
449,075
Latest member
staticfluids

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