Using Excel 2000</SPAN></SPAN>
Hi,</SPAN></SPAN>
In the column I got 7 numbers pattern secreted by vertical bar </SPAN></SPAN>
In the column I got count for each patterns</SPAN></SPAN>
I want a get sum in the column E by using patterns "especial criteria" first 4 numbers. Example...</SPAN></SPAN>
C6 Pattern is "0 | 0| 0 | 1 | 2 | 2 | 2" </SPAN></SPAN>
Where first 4 numbers are "0 | 0| 0 | 1" so sum of column D6 in the cell E6 =1 </SPAN></SPAN>
C7 Pattern is "0 | 0| 0 | 2 | 1 | 2 | 2"</SPAN></SPAN>
C8 Pattern is "0 | 0| 0 | 2 | 2 | 1 | 2"</SPAN></SPAN>
C8 Pattern is "0 | 0| 0 | 2 | 2 | 2 | 1" </SPAN></SPAN>
Where first 4 numbers are "0 | 0| 0 | 2" so sum of column D7+D8+D9 in the cell E9 =1</SPAN></SPAN>
And will be summed all by using the same criteria </SPAN></SPAN>
Example data</SPAN></SPAN>
Thank you in advance</SPAN></SPAN>
Regards,</SPAN></SPAN>
Kishan</SPAN></SPAN>
Hi,</SPAN></SPAN>
In the column I got 7 numbers pattern secreted by vertical bar </SPAN></SPAN>
In the column I got count for each patterns</SPAN></SPAN>
I want a get sum in the column E by using patterns "especial criteria" first 4 numbers. Example...</SPAN></SPAN>
C6 Pattern is "0 | 0| 0 | 1 | 2 | 2 | 2" </SPAN></SPAN>
Where first 4 numbers are "0 | 0| 0 | 1" so sum of column D6 in the cell E6 =1 </SPAN></SPAN>
C7 Pattern is "0 | 0| 0 | 2 | 1 | 2 | 2"</SPAN></SPAN>
C8 Pattern is "0 | 0| 0 | 2 | 2 | 1 | 2"</SPAN></SPAN>
C8 Pattern is "0 | 0| 0 | 2 | 2 | 2 | 1" </SPAN></SPAN>
Where first 4 numbers are "0 | 0| 0 | 2" so sum of column D7+D8+D9 in the cell E9 =1</SPAN></SPAN>
And will be summed all by using the same criteria </SPAN></SPAN>
Example data</SPAN></SPAN>
Book1 | |||||||||
---|---|---|---|---|---|---|---|---|---|
A | B | C | D | E | F | G | |||
1 | |||||||||
2 | |||||||||
3 | |||||||||
4 | Patt | Count | Sum | ||||||
5 | Patt | 60 | 60 | ||||||
6 | 0 | 0 | 0 | 1 | 2 | 2 | 2 | 1 | 1 | ||||||
7 | 0 | 0 | 0 | 2 | 1 | 2 | 2 | 0 | |||||||
8 | 0 | 0 | 0 | 2 | 2 | 1 | 2 | 0 | |||||||
9 | 0 | 0 | 0 | 2 | 2 | 2 | 1 | 1 | 1 | ||||||
10 | 0 | 0 | 1 | 0 | 2 | 2 | 2 | 1 | 1 | ||||||
11 | 0 | 0 | 1 | 1 | 1 | 2 | 2 | 0 | |||||||
12 | 0 | 0 | 1 | 1 | 2 | 1 | 2 | 2 | |||||||
13 | 0 | 0 | 1 | 1 | 2 | 2 | 1 | 3 | 5 | ||||||
14 | 0 | 0 | 1 | 2 | 0 | 2 | 2 | 0 | |||||||
15 | 0 | 0 | 1 | 2 | 1 | 1 | 2 | 2 | |||||||
16 | 0 | 0 | 1 | 2 | 1 | 2 | 1 | 0 | |||||||
17 | 0 | 0 | 1 | 2 | 2 | 0 | 2 | 1 | |||||||
18 | 0 | 0 | 1 | 2 | 2 | 1 | 1 | 2 | |||||||
19 | 0 | 0 | 1 | 2 | 2 | 2 | 0 | 0 | 5 | ||||||
20 | 0 | 0 | 2 | 0 | 1 | 2 | 2 | 1 | |||||||
21 | 0 | 0 | 2 | 0 | 2 | 1 | 2 | 0 | |||||||
22 | 0 | 0 | 2 | 0 | 2 | 2 | 1 | 1 | 2 | ||||||
23 | 0 | 0 | 2 | 1 | 0 | 2 | 2 | 1 | |||||||
24 | 0 | 0 | 2 | 1 | 1 | 1 | 2 | 1 | |||||||
25 | 0 | 0 | 2 | 1 | 1 | 2 | 1 | 3 | |||||||
26 | 0 | 0 | 2 | 1 | 2 | 0 | 2 | 0 | |||||||
27 | 0 | 0 | 2 | 1 | 2 | 1 | 1 | 2 | |||||||
28 | 0 | 0 | 2 | 1 | 2 | 2 | 0 | 0 | 7 | ||||||
29 | 0 | 0 | 2 | 2 | 0 | 1 | 2 | 0 | |||||||
30 | 0 | 0 | 2 | 2 | 0 | 2 | 1 | 2 | |||||||
31 | 0 | 0 | 2 | 2 | 1 | 0 | 2 | 0 | |||||||
32 | 0 | 0 | 2 | 2 | 1 | 1 | 1 | 0 | |||||||
33 | 0 | 0 | 2 | 2 | 1 | 2 | 0 | 0 | |||||||
34 | 0 | 0 | 2 | 2 | 2 | 0 | 1 | 0 | |||||||
35 | 0 | 0 | 2 | 2 | 2 | 1 | 0 | 0 | 2 | ||||||
36 | 0 | 1 | 0 | 0 | 2 | 2 | 2 | 0 | 0 | ||||||
37 | 0 | 1 | 0 | 1 | 1 | 2 | 2 | 1 | |||||||
38 | 0 | 1 | 0 | 1 | 2 | 1 | 2 | 2 | |||||||
39 | 0 | 1 | 0 | 1 | 2 | 2 | 1 | 3 | 6 | ||||||
40 | 0 | 1 | 0 | 2 | 0 | 2 | 2 | 1 | |||||||
41 | 0 | 1 | 0 | 2 | 1 | 1 | 2 | 0 | |||||||
42 | 0 | 1 | 0 | 2 | 1 | 2 | 1 | 1 | |||||||
43 | 0 | 1 | 0 | 2 | 2 | 0 | 2 | 0 | |||||||
44 | 0 | 1 | 0 | 2 | 2 | 1 | 1 | 1 | |||||||
45 | 0 | 1 | 0 | 2 | 2 | 2 | 0 | 1 | 4 | ||||||
46 | 0 | 1 | 1 | 0 | 1 | 2 | 2 | 1 | |||||||
47 | 0 | 1 | 1 | 0 | 2 | 1 | 2 | 0 | |||||||
48 | 0 | 1 | 1 | 0 | 2 | 2 | 1 | 0 | 1 | ||||||
49 | 0 | 1 | 1 | 1 | 0 | 2 | 2 | 1 | |||||||
50 | 0 | 1 | 1 | 1 | 1 | 1 | 2 | 3 | |||||||
51 | 0 | 1 | 1 | 1 | 1 | 2 | 1 | 4 | |||||||
52 | 0 | 1 | 1 | 1 | 2 | 0 | 2 | 1 | |||||||
53 | 0 | 1 | 1 | 1 | 2 | 1 | 1 | 2 | |||||||
54 | 0 | 1 | 1 | 1 | 2 | 2 | 0 | 2 | 13 | ||||||
55 | 0 | 1 | 1 | 2 | 0 | 1 | 2 | 2 | |||||||
56 | 0 | 1 | 1 | 2 | 0 | 2 | 1 | 2 | |||||||
57 | 0 | 1 | 1 | 2 | 1 | 0 | 2 | 0 | |||||||
58 | 0 | 1 | 1 | 2 | 1 | 1 | 1 | 3 | |||||||
59 | 0 | 1 | 1 | 2 | 1 | 2 | 0 | 3 | |||||||
60 | 0 | 1 | 1 | 2 | 2 | 0 | 1 | 1 | |||||||
61 | 0 | 1 | 1 | 2 | 2 | 1 | 0 | 1 | 12 | ||||||
62 | 0 | 1 | 2 | 0 | 0 | 2 | 2 | 0 | 0 | ||||||
63 | |||||||||
64 | |||||||||
Sheet1 |
Thank you in advance</SPAN></SPAN>
Regards,</SPAN></SPAN>
Kishan</SPAN></SPAN>
Last edited: