Originally Posted by
ChemistB
Okay, my formula will only work if the columns are sorted in order which, based on your picture is not the case. The easiest way to do this is to use a dummy column (Col D). In D2 dragged down, =A2&B2. You can hide this column if you like.
In E2 (dragged down),
=IF(COUNTIF($D$2:D2,D2)>1,"",SUMIFS($C$2:$C$3006,$A$2:$A$3006,A2,$B$2:$B$3006,B2))
Note: Not sure of formatting in India, you might need to replace comma's with semicolons.
That will sum each combination in the first occurance.
Bookmarks