ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   SumProduct help (https://www.excelbanter.com/excel-worksheet-functions/9256-sumproduct-help.html)

Josh O.

SumProduct help
 
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.

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)


--
HTH

Bob Phillips

"Josh O." wrote in message
...
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.




Peo Sjoblom

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


"Josh O." wrote:

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.


Josh O.

Great! Thanks Guys!!!

"Bob Phillips" wrote:

=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)


--
HTH

Bob Phillips

"Josh O." wrote in message
...
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.






All times are GMT +1. The time now is 07:16 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com