excel vba - Summing up a column based on multiple Criterion -
basically
column 1 contains many names,
column 2 contains unique version of many names,
column 3 contains either 1 or 0
i want sum values in column 3 based on column 1 matching column 2
eg
a b c vba vba 1 vba xy 0 xy zx 1 zx 1 xy 1 vba 0 xy 1 zx 1 so want produce 4th column equal in length column b follows
vba 1 xy 3 zx 2 i've tried few different ways , cant seem work. appreciated
you can use
=sumproduct(($c$1:$c$8)*($a$1:$a$8=b1)) drag/copy down required. change range needed. see image reference.

Comments
Post a Comment