I would like to count (make a sum) like the example below, which is sorted to ID1. But because of the reference Excel uses, the sum is not stable when I re-sort the whole table to ID2. How can I solve this?
ID1 ID2 NAME VALUE SUM FUNCTION
1 12 GROUP ID1 2-4 0 16 sum(D3:D5)
2 9 1
3 5 5
4 10 10
5 7 GROUP ID1 6-8 0 75 sum(D7:D9)
6 8 20
7 11 25
8 1 30
9 3 GROUP ID1 10-12 0 135 sum(D11:D13)
10 2 40
11 4 45
12 6 50
ID1 ID2 NAME VALUE SUM FUNCTION
8 1 30
10 2 40
9 3 GROUP ID1 10-12 0 100 sum(D11:D13)
11 4 45
3 5 5
12 6 50
5 7 GROUP ID1 6-8 0 31 sum(D7:D9)
6 8 20
2 9 1
4 10 10
7 11 25
1 12 GROUP ID1 2-4 0 0 sum(D3:D5)
(how do I paste an excel table?)
sumif is not really an option since it takes way to long to program
Bookmarks