Hello all -
I have a number of products in my table identified by a ProductID, that list the Color variants and the Size variants in separate rows. What I want to achieve is the total number of variant possibilities for each productID. I've attached some sample data.
My intended outcome would be for ProductID 7, total variants would be 60 (12 * 5), for ProductID 9, total variants = 50 and so on.
Any suggestions on how to achieve this?
Thanks
I have a number of products in my table identified by a ProductID, that list the Color variants and the Size variants in separate rows. What I want to achieve is the total number of variant possibilities for each productID. I've attached some sample data.
Book1 | ||||||
---|---|---|---|---|---|---|
A | B | C | D | |||
1 | ProductId | Name | Options | Variants | ||
2 | 7 | Color | Black,Navy,Charcoal,Purple,Heather Grey,Royal Blue,Light Blue,Teal Ice,Caribbean Blue,Heather Royal,Charity Pink,Heather Hot Pink | 12 | ||
3 | 7 | Size | XS,S,M,L,XL | 5 | ||
4 | 9 | Color | White,Charcoal,Heather Grey,Royal Blue,Light Blue,Teal Ice,Caribbean Blue,Heather Royal,Charity Pink,Heather Hot Pink | 10 | ||
5 | 9 | Size | XS,S,M,L,XL | 5 | ||
6 | 11 | Color | Black,Navy,Charcoal,Purple,Heather Grey,Royal Blue,Light Blue,Teal Ice,Caribbean Blue,Heather Royal,Charity Pink,Heather Hot Pink | 12 | ||
7 | 11 | Size | XS,S,M,L,XL | 5 | ||
8 | 14 | Color | White,Black,Navy,Charcoal,Purple,Heather Grey,Royal Blue,Light Blue,Teal Ice,Caribbean Blue,Heather Royal,Charity Pink,Heather Hot Pink | 13 | ||
9 | 14 | Size | XS,S,M,L,XL | 5 | ||
10 | 16 | Color | Black,Navy,Charcoal,Purple,Heather Grey,Royal Blue,Light Blue,Teal Ice,Caribbean Blue,Heather Royal,Charity Pink,Heather Hot Pink | 12 | ||
11 | 16 | Size | XS,S,M,L,XL | 5 | ||
12 | 20 | Color | White,Charcoal,Heather Grey,Royal Blue,Light Blue,Teal Ice,Caribbean Blue,Heather Royal,Charity Pink,Heather Hot Pink | 10 | ||
13 | 20 | Size | XS,S,M,L,XL | 5 | ||
14 | 21 | Color | White,Charcoal,Heather Grey,Royal Blue,Light Blue,Teal Ice,Caribbean Blue,Heather Royal,Charity Pink,Heather Hot Pink | 10 | ||
15 | 21 | Size | XS,S,M,L,XL | 5 | ||
16 | 23 | Color | White,Black,Navy,Charcoal,Purple,Heather Grey,Royal Blue,Light Blue,Teal Ice,Caribbean Blue,Heather Royal,Charity Pink,Heather Hot Pink | 13 | ||
17 | 23 | Size | XS,S,M,L,XL | 5 | ||
18 | 25 | Color | White,Black,Navy,Charcoal,Purple,Heather Grey,Royal Blue,Light Blue,Teal Ice,Caribbean Blue,Heather Royal,Charity Pink,Heather Hot Pink | 13 | ||
19 | 25 | Size | XS,S,M,L,XL | 5 | ||
Sheet1 |
My intended outcome would be for ProductID 7, total variants would be 60 (12 * 5), for ProductID 9, total variants = 50 and so on.
Any suggestions on how to achieve this?
Thanks