I'm trying to use a sumproduct formula over a range (e.g., A2:B10) given that the corresponding cell in column C = "Mike" - I keep getting #value errors thrown at me because there is text in some cells in the A2:B10 range.
I'm looking for the sum of the numbers(assuming it's a number) in each row with "Mike" in column C.
Formulas I've tried:
- =SUMPRODUCT(--(C2:C10="Mike"),A1:B10)
- =SUMPRODUCT((C2:C10="Mike")*(A1:B10))
- =SUMPRODUCT(A1:B10,C2:C10="Mike")
Any help is appreciated, Thanks!
=SUMIF(C2:C10,"=Mike",A:A)
Where C is the column of names and A is column of values? – user2140261