ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Multiple array formula using 'does not equal (https://www.excelbanter.com/excel-worksheet-functions/205099-multiple-array-formula-using-does-not-equal.html)

Shazaxacpcc

Multiple array formula using 'does not equal
 
I need to write a sumproduct formula whre one of the arrays needs a 'does not
equal' item. Previously with 'equals' items the formula read:

=sumproduct(--(compiled!$A$2:$A$50="abc"),--(Compiled!$G$2:$G$50="L"),--(Compiled!$F$2:$F$500))

This gave me the number of entries that were abc with an L entry and a value
more than 0

What I want to do is to return number of entries that are abc with an entry
other than L (it could be more than 1 other entry) with a value of more than 0

Any assistance gratefully accepted.

T. Valko

Multiple array formula using 'does not equal
 
Change ="L" to <"L"

< means "not equal"

--
Biff
Microsoft Excel MVP


"Shazaxacpcc" wrote in message
...
I need to write a sumproduct formula whre one of the arrays needs a 'does
not
equal' item. Previously with 'equals' items the formula read:

=sumproduct(--(compiled!$A$2:$A$50="abc"),--(Compiled!$G$2:$G$50="L"),--(Compiled!$F$2:$F$500))

This gave me the number of entries that were abc with an L entry and a
value
more than 0

What I want to do is to return number of entries that are abc with an
entry
other than L (it could be more than 1 other entry) with a value of more
than 0

Any assistance gratefully accepted.




Max

Multiple array formula using 'does not equal
 
What I want to do is to return number of entries that are abc with an entry
other than L (it could be more than 1 other entry) with a value of more than 0


Think you just need to change the centre term to:
--(compiled!$G$2:$G$50<"L")
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:18,500 Files:362 Subscribers:59
xdemechanik
---

RagDyeR

Multiple array formula using 'does not equal
 
Since you say,
<<<"with an *entry* other than L (it could be more than 1 other entry)"
<emphasis mine
I assume a blank (empty) Column G *will not* meet your criteria,

Try:

=sumproduct(--(compiled!$A$2:$A$50="abc"),--(Compiled!$G$2:$G$50<""),--(Com
piled!$G$2:$G$50<"L"),--(Compiled!$F$2:$F$500))

--
HTH,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------
"Shazaxacpcc" wrote in message
...
I need to write a sumproduct formula whre one of the arrays needs a 'does

not
equal' item. Previously with 'equals' items the formula read:


=sumproduct(--(compiled!$A$2:$A$50="abc"),--(Compiled!$G$2:$G$50="L"),--(Com
piled!$F$2:$F$500))

This gave me the number of entries that were abc with an L entry and a

value
more than 0

What I want to do is to return number of entries that are abc with an

entry
other than L (it could be more than 1 other entry) with a value of more

than 0

Any assistance gratefully accepted.




All times are GMT +1. The time now is 10:46 PM.

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