This is continuation of my previous questions (one, two) and this is my real problem I have an array of data:
a b c d
0 1 2 5
0 1 7 1
0 0 5 5
0 0 0 1
0 1 0 2
as you can see i want abc to be combine and in one column, just like this:
abc d
012 5
017 1
005 5
000 1
010 2
so i will now have 2 columns abc and d
next i want to count repeated values of d, add it up and combined those corresponding abc, see below
abc d
012,005 10
017,010 2
010 5
so as you can see, 012, and 005 combine because they have the same value of d, and their d add up so it become 10, so how i can do that? this is my real problem please help thanks.