Hi all, I really need help. Here's the scenario, I have a list of shops who sells different beverages A,B,C,D,E,F,G,H,I. The number of beverages a shop carries is listed.
Ie.
Name of Shop Beverage A Beverage B Beverage C
Shop 1 3 2 3
Shop 2 1 1
Shop 3 3
Some shops sells just beverage A, some sells A,C,D, some sells G,H,I and so on. I need to find how many shops sells a certain combination of beverages.
There are 511 possible combinations in total which I have found and listed in another sheet using VBA. I need to find out how many shops carries that particular combination of drinks.
In the example above, shops that carry
Beverage A, B, C = 2
Beverage A, B =0
Beverage A, C =1
Beverage B, C = 0
Please help! thanks!
Bookmarks