ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Countif €“ Multiple column criteria €“ with €śdoes not contain€ť (https://www.excelbanter.com/excel-worksheet-functions/229430-countif-%E2%80%93-multiple-column-criteria-%E2%80%93-%E2%80%9Cdoes-not-contain%E2%80%9D.html)

nick

Countif €“ Multiple column criteria €“ with €śdoes not contain€ť
 
Hi Masters!

Help Excel 2003:
3 columns data. (F, G, AA)
The last 2 columns are numeric data.
1st one is not numeric data but names. (i.e. Carl, Ron etc...)
This row contains totals that I want to ignore. The only common parameter in
the totals is the symbol $ but is not always in the same position (i.e. Carl
$, Ron $ Total etc...)

I am trying to count the number of cases that follow the criteria G0, AA<=0
and ignore the Rows that contains $ in F.

I am trying to use the formula bellow without success. Any idea even more
simply is appreciated!


SUMPRODUCT(--(IF(ISNUMBER(SEARCH("*$*",F17:F194,1)),"No","1"))= 1,--(G17:G1940),--(AA17:AA194<=0))

Glenn

Countif €“ Multiple column criteria €“ with €śdoes not contain€ť
 
Nick wrote:
Hi Masters!

Help Excel 2003:
3 columns data. (F, G, AA)
The last 2 columns are numeric data.
1st one is not numeric data but names. (i.e. Carl, Ron etc...)
This row contains totals that I want to ignore. The only common parameter in
the totals is the symbol $ but is not always in the same position (i.e. Carl
$, Ron $ Total etc...)

I am trying to count the number of cases that follow the criteria G0, AA<=0
and ignore the Rows that contains $ in F.

I am trying to use the formula bellow without success. Any idea even more
simply is appreciated!


SUMPRODUCT(--(IF(ISNUMBER(SEARCH("*$*",F17:F194,1)),"No","1"))= 1,--(G17:G1940),--(AA17:AA194<=0))




Try this:


=SUMPRODUCT(--ISERROR(SEARCH("$",A2)),--(G17:G1940),--(AA17:AA194<=0))

Glenn

Countif €“ Multiple column criteria €“ with €śdoes not contain€ť
 
Nick wrote:
Hi Masters!

Help Excel 2003:
3 columns data. (F, G, AA)
The last 2 columns are numeric data.
1st one is not numeric data but names. (i.e. Carl, Ron etc...)
This row contains totals that I want to ignore. The only common parameter in
the totals is the symbol $ but is not always in the same position (i.e. Carl
$, Ron $ Total etc...)

I am trying to count the number of cases that follow the criteria G0, AA<=0
and ignore the Rows that contains $ in F.

I am trying to use the formula bellow without success. Any idea even more
simply is appreciated!


SUMPRODUCT(--(IF(ISNUMBER(SEARCH("*$*",F17:F194,1)),"No","1"))= 1,--(G17:G1940),--(AA17:AA194<=0))





Sorry, forgot to adjust the range:

=SUMPRODUCT(--ISERROR(SEARCH("$",F17:F194)),--(G17:G1940),--(AA17:AA194<=0))

nick

Countif €“ Multiple column criteria €“ with €śdoes not contain€ť
 
Hi Glenn! Beautiful! It works perfect.

I have being asked to put in the cell adjacent the total sum of column G as
well for this same criteria. Will SUMPRODUCT works? Or what would be the best
simple formula?

Thanks again!

Nick

"Glenn" wrote:

Nick wrote:
Hi Masters!

Help Excel 2003:
3 columns data. (F, G, AA)
The last 2 columns are numeric data.
1st one is not numeric data but names. (i.e. Carl, Ron etc...)
This row contains totals that I want to ignore. The only common parameter in
the totals is the symbol $ but is not always in the same position (i.e. Carl
$, Ron $ Total etc...)

I am trying to count the number of cases that follow the criteria G0, AA<=0
and ignore the Rows that contains $ in F.

I am trying to use the formula bellow without success. Any idea even more
simply is appreciated!


SUMPRODUCT(--(IF(ISNUMBER(SEARCH("*$*",F17:F194,1)),"No","1"))= 1,--(G17:G1940),--(AA17:AA194<=0))





Sorry, forgot to adjust the range:

=SUMPRODUCT(--ISERROR(SEARCH("$",F17:F194)),--(G17:G1940),--(AA17:AA194<=0))


Glenn

Countif €“ Multiple column criteria €“ with €śdoes not contain€ť
 
So, if you are saying you want the sum of column G when:

There is not a "$" in column F
Column G is greater than 0
Column AA is less than 0

=SUMPRODUCT(--ISERROR(SEARCH("$",F17:F194)),--(G17:G1940),--(AA17:AA194<=0),G17:G194)



Nick wrote:
Hi Glenn! Beautiful! It works perfect.

I have being asked to put in the cell adjacent the total sum of column G as
well for this same criteria. Will SUMPRODUCT works? Or what would be the best
simple formula?

Thanks again!

Nick

"Glenn" wrote:

Nick wrote:
Hi Masters!

Help Excel 2003:
3 columns data. (F, G, AA)
The last 2 columns are numeric data.
1st one is not numeric data but names. (i.e. Carl, Ron etc...)
This row contains totals that I want to ignore. The only common parameter in
the totals is the symbol $ but is not always in the same position (i.e. Carl
$, Ron $ Total etc...)

I am trying to count the number of cases that follow the criteria G0, AA<=0
and ignore the Rows that contains $ in F.

I am trying to use the formula bellow without success. Any idea even more
simply is appreciated!


SUMPRODUCT(--(IF(ISNUMBER(SEARCH("*$*",F17:F194,1)),"No","1"))= 1,--(G17:G1940),--(AA17:AA194<=0))




Sorry, forgot to adjust the range:

=SUMPRODUCT(--ISERROR(SEARCH("$",F17:F194)),--(G17:G1940),--(AA17:AA194<=0))



All times are GMT +1. The time now is 05:36 PM.

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