DougDodge

asked on

# SUMPRODUCT Not Working

I am really stuck with this one.....

=SUMPRODUCT(CABLE!$B$5:$B$5153='Qty Terminations'!C3,((CABLE!$J$5:$J$5153+CABLE!$P$5:$P$5153)*CABLE!$I$5:$I$5153))

The value being look up are in a column B

Then start the crazy part.

For each match in column B,

(Value in column J + Value in column P) * Value in Column I

This needs to add multiple rows if the match occurs numerous times.

=SUMPRODUCT(CABLE!$B$5:$B$

The value being look up are in a column B

Then start the crazy part.

For each match in column B,

(Value in column J + Value in column P) * Value in Column I

This needs to add multiple rows if the match occurs numerous times.

ASKER

Hmmm.

=SUMPRODUCT(--(CABLE!$B$5:$B$5153='Qty Terminations'!C3),CABLE!$J$5:$J$5153+CABLE!$P$5:$P$5153,CABLE!$I$5:$I$5153) Gives me #N/A

=SUMPRODUCT((CABLE!$B$5:$B$5153='Qty Terminations'!C3)*((CABLE!$J$5:$J$5153+CABLE!$P$5:$P$5153)*CABLE!$I$5:$I$5153)) Gives me #VALUE!

Maybe it could be my data......

Let me try it on some test data......

=SUMPRODUCT(--(CABLE!$B$5:

=SUMPRODUCT((CABLE!$B$5:$B

Maybe it could be my data......

Let me try it on some test data......

ASKER CERTIFIED SOLUTION

membership

This solution is only available to members.

To access this solution, you must be a member of Experts Exchange.

ASKER

Formulas were perfect for the problem.... Additionally offering a second option was a bonus.

To convert to 1/0 for multiplication use

--(CABLE!$B$5:$B$5153='Qty

Change to

Open in new window

You could also useOpen in new window

then CABLE!$B$5:$B$5153='Qty Terminations'!C3 with True/False works as if it is 1/0.but sumproduct without * should be slightly faster.