Forum Discussion

Sha's avatar
Sha
Helper II
6 years ago
Solved

Count where doesn't exist

I'm struggling to find solution:  I have data on 1 row (company, product).  I am wanting to pick a product and show all the companies that have NOT bought this product.  I also only want to see the companies that have sold 2 or more products.

 

Data:

Company A   Product 1

Company A  Product 2

Company A  Product 3

Company B  Product 2

Company C  Product 2

Company C Product 3

Company D  Product 2

Company D Product 3

 

Result needed:  I want to be able to select a product ( Product 1)  and see list of companies that could still be sold Product 1:

Company C

Company D

I don't want to see Company B because it hasn't been sold 2 or more products.

I then would also like to count how many companies that I could sell Product 1 to, which would be 2.

3 Replies