ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Sumproduct (https://www.excelbanter.com/excel-discussion-misc-queries/103968-sumproduct.html)

sanders

Sumproduct
 

Hi,
I currently have a sumproduct formula layed out in the standard
configuration:

=SUMPRODUCT((array1=condition1)*(array2=condition2 )*(array3))

Is it possible to change the (array1=condition1) part so that it looks
for more than one condition in that array, so that it is looking for
condition1 OR condition1a?

Thanks


--
sanders
------------------------------------------------------------------------
sanders's Profile: http://www.excelforum.com/member.php...o&userid=36745
View this thread: http://www.excelforum.com/showthread...hreadid=569799


Niek Otten

Sumproduct
 
An extensive description of how SUMPRODUCT can be used can be found he

http://www.xldynamic.com/source/xld.SUMPRODUCT.html

--
Kind regards,

Niek Otten
Microsoft MVP - Excel

"sanders" wrote in message
...
|
| Hi,
| I currently have a sumproduct formula layed out in the standard
| configuration:
|
| =SUMPRODUCT((array1=condition1)*(array2=condition2 )*(array3))
|
| Is it possible to change the (array1=condition1) part so that it looks
| for more than one condition in that array, so that it is looking for
| condition1 OR condition1a?
|
| Thanks
|
|
| --
| sanders
| ------------------------------------------------------------------------
| sanders's Profile: http://www.excelforum.com/member.php...o&userid=36745
| View this thread: http://www.excelforum.com/showthread...hreadid=569799
|



Bob Phillips

Sumproduct
 
It would be something like

=SUMPRODUCT((array1={"A","B"})*(array3))

but do read the page Nick suggested, it should help explain it all.

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"sanders" wrote in
message ...

Hi,
I currently have a sumproduct formula layed out in the standard
configuration:

=SUMPRODUCT((array1=condition1)*(array2=condition2 )*(array3))

Is it possible to change the (array1=condition1) part so that it looks
for more than one condition in that array, so that it is looking for
condition1 OR condition1a?

Thanks


--
sanders
------------------------------------------------------------------------
sanders's Profile:

http://www.excelforum.com/member.php...o&userid=36745
View this thread: http://www.excelforum.com/showthread...hreadid=569799





All times are GMT +1. The time now is 04:50 PM.

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