oAlv6uD.jpg
I need to sum the total amount of deposits for each account number for only deposits that have valid codes. I've tried SUMIFS and SUMPRODUCT, and run into the same problem of setting criteria to a range of values (E2:E6).
Here is where i'm at from a SUMPRODUCT path:
=SUMPRODUCT(--($A:$A=$G2),--($C:$C=$E$2:$E$6),$B:$B)
Is there a way to modify the second sumproduct binary (--) to sum only the range of valid codes?
Yes, the easy way is the make 5 of them for the 5 codes, i.e. --(C:C=E2), --(C:C=E3), --(C:C=E4), etc... But, the real data set I'm working with has like 100 valid codes so I don't have that luxury.
Bookmarks