Hello everyone,
I' m trying to create a dynamic table which will sum the visible rows (C) based on common values (A) and show the result at the end of each repeated value.More specifically I' m using this specific formula (found online) IF(COUNTIF($A$2:A2;A2)=COUNTIF($A$2:$A$14;A2);SUMIF($A$2:$A$74;A2;$C$2:$C$14);" ") but it doesn't work when I apply filters for specific processes (B).
The repeated values (A) are already filtered and sorted by using the FILTER formula from a helper table.
The basic form of the table is as shown below
Process | Tool | Cost | Total cost per process | |
1 | 2006SE06900001 | DKA | 4.209,34 € | 4.209,34 € |
2 | 2007SE26900000 | DKA | 3.701,63 € | |
3 | 2007SE26900000 | DKA | 27.878,90 € | 31.580,53 € |
4 | 2008SE06900017 | DKA | 4.989,90 € | |
5 | 2008SE06900017 | DKA | 36.538,38 € | |
6 | 2008SE06900017 | DKA | 79.072,80 € | 120.601,08 € |
7 | 2010SE06900002 | DKA | 9.606,54 € | 9.606,54 € |
8 | 2013SE06900000 | DKA | 2.993,31 € | |
9 | 2013SE06900000 | DKA | 20.479,48 € | |
10 | 2013SE06900000 | EKTEDR | 72,38 € | 23.545,17 € |
11 | 2014SE06900001 | DKA | 40.340,97 € | |
12 | 2014SE06900001 | DKA | 65.222,32 € | |
13 | 2014SE06900001 | EPEN | 16.020,00 € | 121.583,29 € |
Process | Tool | Cost | Total cost per process | |
1 | 2006SE06900001 | DKA | 4.209,34 € | 4.209,34 € |
2 | 2007SE26900000 | DKA | 3.701,63 € | |
3 | 2007SE26900000 | DKA | 27.878,90 € | 31.580,53 € |
4 | 2008SE06900017 | DKA | 4.989,90 € | |
5 | 2008SE06900017 | DKA | 36.538,38 € | |
6 | 2008SE06900017 | DKA | 79.072,80 € | 120.601,08 € |
7 | 2010SE06900002 | DKA | 9.606,54 € | 9.606,54 € |
8 | 2013SE06900000 | DKA | 2.993,31 € | |
9 | 2013SE06900000 | DKA | 20.479,48 € | ????? |
11 | 2014SE06900001 | DKA | 40.340,97 € | |
12 | 2014SE06900001 | DKA | 65.222,32 € | |
13 | 2014SE06900001 | EPEN | 16.020,00 € | 121.583,29 € |
The result I want is as show below
Process | Tool | Cost | Total cost per process | |
1 | 2006SE06900001 | DKA | 4.209,34 € | 4.209,34 € |
2 | 2007SE26900000 | DKA | 3.701,63 € | |
3 | 2007SE26900000 | DKA | 27.878,90 € | 31.580,53 € |
4 | 2008SE06900017 | DKA | 4.989,90 € | |
5 | 2008SE06900017 | DKA | 36.538,38 € | |
6 | 2008SE06900017 | DKA | 79.072,80 € | 120.601,08 € |
7 | 2010SE06900002 | DKA | 9.606,54 € | 9.606,54 € |
8 | 2013SE06900000 | DKA | 2.993,31 € | |
9 | 2013SE06900000 | DKA | 20.479,48 € | 23.472,79 € |
11 | 2014SE06900001 | DKA | 40.340,97 € | |
12 | 2014SE06900001 | DKA | 65.222,32 € | |
13 | 2014SE06900001 | EPEN | 16.020,00 € | 121.583,29 € |
Any sugestion will be much appreciated