Hello,
In the column "C" I got year and in the column "D" the numbers "0 to 6"
In the cells G4:M4 numbers "0 to 6"
And in the cells G5:M5 got the formula below
The above "SUMPRODUCT, COUNTIF" formula is working fine when I filter the year but...
Please I need this formula can be converted a non-volatile formula?
Example image is attached for more details
Thank you all.
I am using Excel 2000
Regards,
Moti
In the column "C" I got year and in the column "D" the numbers "0 to 6"
In the cells G4:M4 numbers "0 to 6"
And in the cells G5:M5 got the formula below
VBA Code:
G5 = SUMPRODUCT(SUBTOTAL(3,OFFSET($D$6,ROW($D$6:$D$53)-ROW($D$6),0,1)),--($D$6:$D$53=G4))
And copied across till M5
The above "SUMPRODUCT, COUNTIF" formula is working fine when I filter the year but...
Please I need this formula can be converted a non-volatile formula?
Example image is attached for more details
* | A | B | C | D | E | F | G | H | I | J | K | L | M |
1 | |||||||||||||
2 | |||||||||||||
3 | |||||||||||||
4 | Year | Numbers | Numbers | 0 | 1 | 2 | 3 | 4 | 5 | 6 | |||
5 | Year | Numbers | Countif | 1 | 7 | 15 | 16 | 4 | 3 | 2 | |||
6 | 2008 | 0 | |||||||||||
7 | 2010 | 1 | |||||||||||
8 | 2007 | 1 | |||||||||||
9 | 2010 | 1 | |||||||||||
10 | 2009 | 2 | |||||||||||
11 | 2009 | 2 | |||||||||||
12 | 2008 | 1 | |||||||||||
13 | 2006 | 2 | |||||||||||
14 | 2006 | 2 | |||||||||||
15 | 2010 | 1 | |||||||||||
16 | 2006 | 2 | |||||||||||
17 | 2005 | 5 | |||||||||||
18 | 2010 | 2 | |||||||||||
19 | 2005 | 3 | |||||||||||
20 | 2005 | 3 | |||||||||||
21 | 2005 | 2 | |||||||||||
22 | 2010 | 3 | |||||||||||
23 | 2005 | 3 | |||||||||||
24 | 2007 | 1 | |||||||||||
25 | 2010 | 2 | |||||||||||
26 | 2006 | 2 | |||||||||||
27 | 2009 | 2 | |||||||||||
28 | 2006 | 6 | |||||||||||
29 | 2008 | 3 | |||||||||||
30 | 2007 | 2 | |||||||||||
31 | 2009 | 3 | |||||||||||
32 | 2006 | 3 | |||||||||||
33 | 2009 | 1 | |||||||||||
34 | 2008 | 2 | |||||||||||
35 | 2006 | 5 | |||||||||||
36 | 2009 | 2 | |||||||||||
37 | 2006 | 3 | |||||||||||
38 | 2005 | 3 | |||||||||||
39 | 2006 | 2 | |||||||||||
40 | 2008 | 3 | |||||||||||
41 | 2009 | 3 | |||||||||||
42 | 2008 | 2 | |||||||||||
43 | 2006 | 3 | |||||||||||
44 | 2010 | 3 | |||||||||||
45 | 2010 | 6 | |||||||||||
46 | 2006 | 4 | |||||||||||
47 | 2010 | 4 | |||||||||||
48 | 2010 | 3 | |||||||||||
49 | 2008 | 4 | |||||||||||
50 | 2010 | 4 | |||||||||||
51 | 2008 | 5 | |||||||||||
52 | 2009 | 3 | |||||||||||
53 | 2005 | 3 | |||||||||||
54 | |||||||||||||
55 | |||||||||||||
56 |
Thank you all.
I am using Excel 2000
Regards,
Moti