pawebb
Board Regular
- Joined
- Aug 10, 2007
- Messages
- 136
I tried to create a pivot table to get my answer but couldn't figure out a clean way to do it. So I can up with the formula in the example. I wanted to see if there is a more efficient way to go about it. I need to count the number of times a store grade appears under a class.
Thanks...
Book1 | |||||||
---|---|---|---|---|---|---|---|
A | B | C | D | E | |||
1 | 260_6537PROMOTIONAL | 260_6553SHORTLEATHER | 260_6567SUEDE | 262_6474FAUXFUR/PLUSH | |||
2 | 12 | 12 | 12 | ||||
3 | 12 | 12 | 10 | ||||
4 | 1 | 3 | 6 | 6 | |||
5 | 8 | 8 | 8 | 8 | |||
6 | 11 | 12 | 10 | ||||
7 | 11 | 11 | 9 | ||||
8 | 12 | 10 | 10 | ||||
9 | 12 | 12 | 12 | ||||
10 | 5 | 4 | 5 | 5 | |||
11 | Classes | ||||||
12 | StoreGrades | 260_6537PROMOTIONAL | 260_6553SHORTLEATHER | 260_6567SUEDE | 262_6474FAUXFUR/PLUSH | ||
13 | 1 | 1 | 0 | 0 | 0 | ||
14 | 2 | 0 | 0 | 0 | 0 | ||
15 | 3 | 0 | 1 | 0 | 0 | ||
16 | 4 | 0 | 1 | 0 | 0 | ||
17 | 5 | 1 | 0 | 1 | 1 | ||
18 | 6 | 0 | 0 | 1 | 1 | ||
19 | 7 | 0 | 0 | 0 | 0 | ||
20 | 8 | 1 | 1 | 1 | 1 | ||
21 | 9 | 0 | 0 | 1 | 0 | ||
22 | 10 | 0 | 1 | 3 | 0 | ||
23 | 11 | 2 | 1 | 0 | 0 | ||
24 | 12 | 4 | 4 | 2 | 0 | ||
Sheet1 |
Thanks...