SumProduct help

G

Guest

I have the following formula: =SUMPRODUCT(--('Tab 2'!E3:E50='Tab
1'!D1),--('Tab 2'!C3:C50='Tab 1'!A6),Tab 2'!I3:I50)

I need to change the first criteria to equal 'Tab 1!D1 or D2, but I don't
know exactly how to change the formula. The result needs to sum the values
in I3:I50 that also have values in column C that equal A6 and values in
column E that equal D1 or D2.

I hope I made that clear enough.
 
B

Bob Phillips

=SUMPRODUCT(--(('Tab 2'!E3:E50='Tab 1'!D1)+('Tab 2'!E3:E50='Tab
1'!D2)),--('Tab 2'!C3:C50='Tab 1'!A6),'Tab 2'!I3:I50)
 
G

Guest

One way

=SUMPRODUCT(--(('Tab 2'!E3:E50='Tab 1'!D1)+('Tab 2'!E3:E50='Tab
1'!D2)>0),--('Tab 2'!C3:C50='Tab 1'!A6),'Tab 2'!I3:I50)


Regards,

Peo Sjoblom
 
G

Guest

Great! Thanks Guys!!!

Bob Phillips said:
=SUMPRODUCT(--(('Tab 2'!E3:E50='Tab 1'!D1)+('Tab 2'!E3:E50='Tab
1'!D2)),--('Tab 2'!C3:C50='Tab 1'!A6),'Tab 2'!I3:I50)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top